Error (StackOverFlow) while creating WCF service proxy for DPWS with MFSvcUtil.exe

Hello everybody!

I’m trying to get my device working with my WCF service hosted in Azure so, I followed this article that shows me how to do it: MSDN Magazine: Embedded Programming - Connected Devices Using the .NET Micro Framework | Microsoft Learn

The point that I’m having problems is when I’m trying to run the MFSvcUtil.exe to generate the proxy code so I can access the WCF service methods from NETMF at device side.

If I try to run this:

C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.1\Tools\MFSvcUtil.exe" http://myservice.cloudapp.net/TrackingService.svc?singlewsdl /V

I got this output:


MfSvcUtil.exe (c) Microsoft 2008

Reading WSDL file: http://myservice.cloudapp.net/TrackingService.svc?singlewsdl
Could not find schema information for the element 'HTML'.
Severity: Warning

Exception: System.Xml.Schema.XmlSchemaValidationException: Could not find schema information for the element 'HTML'.
SourceUri: http://myservice.cloudapp.net/TrackingService.svc?singlewsdl
LineNumber: 1
Position: 2
StackTrace: 

Program Error: The WSDL file is not compatible.

Now, if I try to run with the regular WSDL file like this:

MFSvcUtil.exe" http://myservice.cloudapp.net/TrackingService.svc?WSDL /V 

I got this output followed by a StackOverflowException that I cant find the stacktrace: http://localhostr.com/file/QCEVawT/log.txt (uploaded 'cause of the limit of characters)

And this is my full WSDL file with all the imports inside(got it by using ?singleWSDL in the service URL):
http://pastebin.com/M9KVYD0e

So, why I’m getting the StackOverFlow and what should I do generate my proxy code? This service work well on Silverlight and regular .Net application(even a java console app worked with this)…

Thanks! I really appreciate the help.

Best regards…

-delete-