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:

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" /V

I got this output:

MfSvcUtil.exe (c) Microsoft 2008

Reading WSDL file:
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'.
LineNumber: 1
Position: 2

Program Error: The WSDL file is not compatible.

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

MFSvcUtil.exe" /V 

I got this output followed by a StackOverflowException that I cant find the stacktrace: (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):

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…