I'm trying to get my device working with my WCF service hosted in Azure, so I followed the article Connected Devices Using the .NET Micro Framework that shows me how to do it.
The point at which I'm having problems is when I'm trying to run 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
C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.1\Tools\MFSvcUtil.exe" http://myservice.cloudapp.net/TrackingService.svc?singlewsdl /V
I get 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
MFSvcUtil.exe" http://myservice.cloudapp.net/TrackingService.svc?WSDL /V
I get this output followed by a StackOverflowException
that I can't find the stacktrace, see http://localhostr.com/file/QCEVawT/log.txt
(uploaded because of the limit of characters).
And this is my full WSDL: http://pastebin.com/M9KVYD0e
How do I work around this problem?