0
votes

I create a smart-phone project(Windows mobile pocket pc 5.0 sdk and CF3.5) and the WCF created on the same solution in visual studio 2008.When i choose "add web reference" and then choose " Web services in this solution" i get this error None - No Web services were found in the current solution. If i put its URL and click Go I get this error This program cannot display the web page. Can any one help me in this problem??

I think the problem in the URL i put it on the web reference.I replace the "localhost" with my computer IP but also doesn't work???

1

1 Answers

0
votes

Try adding a Service Reference instead of a Web Service Reference. Web References are for the old XML Web Services functionality not for most WCF services.

EDIT: This question is for Windows Mobile Pocket PC 5.0 which apparently doesn't support WCF service references but this blog post shows how to add a WCF service reference to Windows Mobile 6.0 using Web References. It outlines the basic process which should work for Windows Mobile 5.0 projects.