Click here to Skip to main content
15,890,399 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to call web service in ASP.NET pages in C#?
Please show some example and code also?
Posted
Updated 24-Jul-10 21:01pm
v2

Well have a look at these articles, you will know all:
Your first C# Web Service[^]
Consuming a Web Service in ASP.NET Tutorial[^]
 
Share this answer
 
You can Add Web Reference and then type your url link (service).. :)

Example :
using WebReference;


public void UserService()
{
   int a = 8;
   int b = 10;
   Service oSrvc = new Service();

   oSrvc.AddMethod(8, 10); // AddMethod is the method from your service (sample)
}

I hope, this code can help u.. ;)
 
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