asp.net - How to access webservice hosted in lIS from LAN connected Other PC? -
i have created 1 webservice have hosted in iis, want access or call webservice lan connected pc.
so please me out.
things have tried :
ping check connectivity
using ipaddress tried access other pc - errors have got -
- connection timeout
- unable connect host
e.g : http://192.168.100.157/newwebservice/webservice1.asmx
try adding following code in config file:
<client> <endpoint address="http://192.168.100.157/newwebservice/webservice1.asmx" binding="basichttpbinding" contract="classabc" bindingconfiguration ="httpbinding" name="basichttpbinding_iabc" /> </client>
Comments
Post a Comment