How to call a Webservice hosted in IIS into an Asp.net Application

Posted by Gayathri under ASP.NET on 5/21/2012 | Points: 10 | Views : 8188 | Status : [Member] | Replies : 2
I have built a webservice and hosted in IIS 6.0 with directory browsing option enabled.
Now i want to call this in an asp.net application.

how do i do this?




Responses

Posted by: Ogipansrk on: 5/21/2012 [Member] Starter | Points: 25

Up
0
Down

Add a service reference to your project
or
Generate a proxy using command prompt.

So , that you able to access the methods in a webservice :-)

Gayathri, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 5/21/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Follow this link
http://www.dotnetfunda.com/articles/article781-how-to-consume-third-party-webservice-in-aspnet.aspx

Thank you for posting at Dotnetfunda
[Administrator]

Gayathri, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response