Click here to Skip to main content
15,896,500 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm creating a webservice is in my system.
I am taken new Web App . in that app i add service reference . application is working. But same WEB APP i'm using another system and Just add the webservice in this system. In that system webservice is not working. Please anyone suggest to me what is the best way to use webservice.
Posted
Updated 4-Sep-12 0:12am
v3
Comments
arti s.v 3-Sep-12 7:30am    
Confirm that your Web service is in running mode
kumar2233 3-Sep-12 8:15am    
yes. how can i share our webservice. how to accessible others
arti s.v 3-Sep-12 8:19am    
Refer this: http://www.codeproject.com/Articles/150066/Create-Host-Self-Hosting-IIS-hosting-and-Consume-W
Sandeep Mewara 3-Sep-12 13:58pm    
Explain 'not working'.

you web service should be running in some server and that server should accessible to other apps using it. so copy your service to that other system and run that one on that system.
 
Share this answer
 
Comments
kumar2233 3-Sep-12 8:15am    
yes. how can i share our webservice. how to accessible others
There is not enough details(about code) in your question. What's the URL of webservice(referenced) in your app of other machine? localhost? then it won't work, it should be ipaddress/remote url.

You want something like this? Invoking a Web Service Without Web Reference[^]
 
Share this answer
 

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