Question

I get this error when attempting to reference a Web Service in my Compact Framework application. Hunting through Google seems to indicate it's a common occurance, but there's been no useful suggestions as to what causes it, and how to fix it. I can successfully access the web service from a WinForms application by adding a Service Reference but the CF project only has the Web Reference option.

I am running Visual Studio 2008 on Vista.

Has anybody actually solved this problem after encountering it?

Thanks Bill

Was it helpful?

Solution

Maybe yes... I forget as it was over a year ago. I needed to use a WCF service (presented as a web service) on CF 2.0 device. But I had issues with generating the wrapper.

What I think I did in the end was do it on the desktop and then copy that generated code into the device project. I had to remove a few bits to get CF compatability but it worked in the end.

Sorry for being so vague but my memory is like that sometimes. :)

OTHER TIPS

This issue has been identified as BUG from Microsoft and fixed in latest version of visual studio. you can install VS 2013 and try. It was working properly after I upgrade my Visual Studio to 2013 version.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top