0

Hello everyone..I'm trying to access the methods of a WCF service from a pocket pc emulator..I added a Web Reference to the service and tried to access the method like this

WebReferenceService1.Service1 client = new WebReferenceService1.Service1();
 MessageBox.Show(client.GetData(10,true));

..but everytime i call the method..i get System.Net.WebException error saying "Unable to connect to remote server"..the webservice is up and running..I can access it from the browser or the console application where I add the service using Add Reference..Could anyone tell me where I am going wrong?? Any help would be appreciated.

1
Contributor
1
Reply
4
Views
6 Years
Discussion Span
Last Post by cool_zephyr
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.