In Samples of MicroFramework 4.1 are: HelloWorldServer_WCF(.net framework 4.0) and HelloWorldClient_MF(.net micro framework 4.1). When I run both applications network is working. In "Samples" folder is "DPWS_WCF_ReadMe.txt" file. In this
file is solution to generate client by "MFSvcUtil.exe" tool. If I have a server i use "MFSvcUtil.exe" to generate .wsdl file, next i use "MFSvcUtil.exe" again to generate client files from the .wsdl file. My problem is: When i use sample server (HelloWorldServer_WCF)
to generate .wsdl file, then this file is little different from the sample and when I want to use this file to generate client files MFSvcUtil.exe displays errors:
C:\Program Files\Microsoft .NET Micro Framework\v4.1\Tools>MFSvcUtil.exe c:\Serv
MfSvcUtil.exe (c) Microsoft 2008
Reading WSDL file: c:\ServiceHelloWCF.wsdl
Generating contract source: ServiceHelloWCF.cs...
Failed to generate service code. Missing element specified.
Message name : HelloWCFIn
Message part name: parameters
Type name :
Type namespace :
Element name : String
Element namespace: http://localhost/ServiceHelloWCF
When i use sample .wsdl file everything is alright.
View Complete Post