How to call web service from asp.net website?
Posted Date Unknown BINTA PRASAD 5 Comments

Hi..
I created a web service.How can i call web service from my website?

See All Responses Below...
Author
Message Rating
Posted on: 05/06/2012
You've to create a proxy class to consume the web service. This proxy class will be an intermediate between the Web page and the Web service. You can create the proxy class:

Using Web Reference:
For this, add web reference by entering the URL of the Web Service. After adding the Web service, you call the Web services APIs inside your web page.

Using WSDL tool:
For this, you've to create a separate proxy class, once the proxy class compiled into a DLL, move it to the in directory. Then you can use it through the web page to access the web service methods. (From VS command prompt, use Wsdl.exe to create a proxy class)
Posted on: 05/06/2012
Hi..

I'm a beginner in asp.net.Will u please make clear what is a proxy class?
Share this page across other social networking sites



Posted on: 05/06/2012
i think you already created the web service.

you just follow this

right click solution explorer->add web reference->brows your service.


Posted on: 06/06/2012
You might be interested in the ASP.NET web service tutorial link below..


Tom

Share this page across other social networking sites



Posted on: 06/06/2012
Thankyou..It works..
Please Login to Post Your Comments
Name (Max. 100 characters)
Please post your comments here
Select Language
Comments
   Design  HTML
Attach File(Max. Size: 2 MB)
A few simple rules when posting your Comments,
  1. Please post only answers relevant to the topic of discussion.
  2. Please dont misuse this site or do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will delete your inappropriate messages and will block or delete your account on this site. 

TekTipsDownload
GateExam
Academic Projects
TekTipsExperts



 
Site optimized for IE7, 1280 X 768 and above. Copyright © 2010 - 2018 KTS InfoTech
Site Developed Using KTS WebCloud