Click here to Skip to main content
12,295,294 members (58,005 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET WebService
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 3-Sep-12 1:26am
Edited 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'.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
kumar2233 3-Sep-12 8:15am
   
yes. how can i share our webservice. how to accessible others
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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[^]
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160525.2 | Last Updated 4 Sep 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100