hi,
can anyone help me for how to ues web service and how to call it in web page with example in asp.net with c#
thank
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Niradhip ChakrabortyPosted Oct 7, 2009, 5:08 AM
1.http://www.15seconds.com/Issue/010430.htm
2.http://articles.sitepoint.com/article/amazon-web-services-asp-net
naura paxPosted Oct 7, 2009, 3:53 AM
its simple you will have to create a new project and select ASP.net Web Service for project type.
and in this project you will have to add your classes and add methods with attribute for webmethods -:
you can then consume this service in another web application.
please go through this url its important for you to grasp the content.
http://msdn.microsoft.com/en-us/library/8wbhsy70.aspx
urmila kandariPosted Oct 6, 2009, 6:59 AM
pls tell me how to create web service and how to use it and call webservice in webpage in asp.net
thanks
naura paxPosted Oct 5, 2009, 4:17 AM
If you already have web service ready and url to access it, then all you 'll have to do is add a web reference in your web project by right clicking on the web project in solution explorer.
Visual studio will ask for url of the web service.
You can invoke the method by creating an object of the referenced web service.
For reference check these out:
http://msdn.microsoft.com/en-us/library/d9w023sx.aspx and http://msdn.microsoft.com/en-us/library/6h0yh8f9.aspx