Hi there.
I have developed a web service on my LAN PC, then i hosted that Web Service using IIS and now i can access that web service on that Local PC using http://localhost:<PortNo>/Service.asmx and similarly i can access this service from another PC on my LAN network using http://<ip address>:<PortNo>/Service.asmx, all is well.
Now i am trying to access this web service from a VB.net Program on another PC on my LAN. I added the Service to my VB.net Project using the Add reference in solution Explorer, all is well again. Now the problem is i dont know how to access that service in my code?? When i try something like this
i get an underline under WebCalService and it says Type Expected??Code:dim myService as new WebCalService 'Webcal is my service running on a network PC.
Anyone having any suggestion on how to use a WebService on a LAN in VB.net??




Reply With Quote