Click here to Skip to main content
15,881,413 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear ALL,

i have created a Webservice, and deployed it in the IIS it is being from the ASP.net so how to make it accessible from IIS
Posted

For hosting the Webservice:

1. In IIS7: Deploying ASP.NET Websites on IIS 7.0 [^]
2. In IIS6: Deployment of a Website on IIS[^]

How to use the hosted webservice: How to make a simple WebService and consume it.[^]
 
Share this answer
 
Did you mean your Web Service already host in your IIS?
If already hosted you can Add App_WebReferences From your asp.net application ,In URL you insert your WebService link developed in the IIS (eg .http://localhost/YourWebService).


Ok vaikuntapu!

You should study these link first.
Best Regard,
Theingi Win
 
Share this answer
 
v2
Comments
Sandeep Mewara 22-Mar-11 4:01am    
Comment from OP:
i have created the webservice in my laptop and i want to deploy it in the server to be accessible to the application
hi,

Create Web service on the server then Run that.
Now open the application which will use the web service.
click add web reference from solution explorer .
In the Url box copy the URL of WEBSERVICE and paste that.
In the WebReference column give Name of Your Choice.

Last in you Web Application create obj of that webservice and this object can access all your methods of your webservice.
 
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