Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
There is plenty of reference material on creating and consuming webservices both here and and in print form.

But all appear to focus on simulated connectivity where the service and its consumer are on the same physical machine.

Assume I create the webservice and publish it on my home PC.

This PC is then left powered on and connected to the internet.

Can I develop the client on my laptop, take it to a WiFi Hotspot and access the webservice?

What is involved, or do I have to have an ISP host the service for me?
Posted
Comments
[no name] 7-Jul-12 9:49am    
Yes of course you can do it. All you have to do is expose your PC to the internet using a static IP. Same as any other server connected to the internet.
bbirajdar 7-Jul-12 9:51am    
Wes Aday..Its the solution..Please post it in the solution section instead of comment

1 solution

Hi,
All you need to do is to host your web application which holds the services on an ISP. Like other web pages which you point to access in a regular web page, you need to point to the address of the web service in your web app (Add Service Reference for instance). Then, discovery engine of the consumer, say, VS or other IDEs will find the service. Then you can use it as other local services are used.

Cheers
 
Share this answer
 
Comments
Reza Ahmadi 8-Jul-12 6:51am    
What is the reason for that vote???

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900