Introduction:
Sometimes we need to utilize web services remotely,If we deployed web services in IIS we can easily access from some other machine.
Main:
We can easily deploy the web services in IIS.Please follow the below simple steps,
1) create a project “ASP.NET Web service”
2) Select “HTTP” from location dropdownlist (indicates that the file should be placed on a web server)
3)Add web references, select “browse UDDI Servers on the local network” option if you want to share the web service among different computer. Enter the source .asmx file URL and click “Go”.
4)Select “Add References” to add your reference name for web service, (by default is “localhost”, you can give it a name).
5)Add a reference in yours client application (Either Console or web).
6)Try to accessing the web service remotely (Simply try in some other PC).
Conclusion:
Hope,this helps,
Happy Coding.