Hi there I am a newbie to web services and am struggling with referencing my web service. What I want to do is access a web service from a Pocket PC 2002 app developed in VS 2003. The web service has been created in another VS 2003 project and would be hosted
on a database server to allow for the retrieval and input of information to and from the database. Currently both projects are running on one machine so when I add the reference in the Smart Device App and refer to local host it works perfectly. Obviously,
however, once deployed these apps will not be on the same machine and thus I will need to reference the web service differently. What i thought I could do is use the local network IP address of the database server. When I try and add a reference like this
using http://192.168.0.1/WebService1/Service1.asmx, it finds the service and can run it, but I cannot add it as I get the following error: There was an error downloading 'http://192.168.0.254/WebService1/Service1.asmx'. The request failed with the error message:
--
Server Error
The following error occurred:
[code=CANT_CONNECT] Could not connect because of networking problems. Contact your When I disconnect from the internet i cannot run any of my web services either. Where am I going wrong? What am I missing? Any help would be greatly appreciated! Thanks Ben
None
0 Points
2 Posts
Accessing web service via IP address?
Aug 05, 2003 11:12 AM|poojamin|LINK
Server Error
The following error occurred:
[code=CANT_CONNECT] Could not connect because of networking problems. Contact your When I disconnect from the internet i cannot run any of my web services either. Where am I going wrong? What am I missing? Any help would be greatly appreciated! Thanks Ben