I've written a simple web service and deployed it to a server on my local
network. However, when I try to add a web reference to it in a VS2005
project on my dev machine, I am unable to. When I use the "Add Web
Reference" dialog and enter the URL to the web service, I get a "The page
cannot be displayed" error.
I'm guessing it's one of two possibilities:
1) I'm using the wrong path. When developing and testing the web service on
my dev machine I used the //localhost/folder/service.asmx path to reference
it. Now that I've deployed it to the server, I am using a path of //server
ip address/folder/service.asmx. Is this the correct path to use?
2) The server has an incorrect IIS config or setting. Unfortunately, I
don't know very much about IIS. Off the top of my head I can tell you that
the setup is IIS 5.1 running on WinXP Pro. I'll, of course, provide any
information you need that might help resolve this issue.
Thank you.
- Chris