Click here to Skip to main content
15,860,972 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to Call web service in .net application if webservice is already c
Posted
Comments
BK 4 code 7-Jan-14 6:12am    
if webservice is already c
What do you mean about this ?
sanjaysgh 7-Jan-14 6:15am    
i mean i have web service already and i am using it for another application but now i want to use the same service for third application thn how can i do this ...

Hi
For this you need to just googling and you will find your solutions.

But here is good example that you can even learn from that tutorial
Follow this URL
http://www.csharptutorial.in/2012/01/cnet-how-to-consume-web-service-in-cnet.html#.Usvh6bT186I[^]
 
Share this answer
 
on the solution explorer click on add web reference and enter the url of the Webservice. then give name of the webservice. this wil be the name of the class for your web service ref.

you can access the methods of Webservice using that class name.
 
Share this answer
 
 
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