Howdy folks. I am trying to build a web service using the following
configuration:
I have Windows 2003 Server running in VMware. I have IIS set up on it.
I installed the .NET 2.0 package on the server as well. The VMWare
server is called W2K3.
I created 2 web sites on the server. One called ResetPool, the other
called TestReset. The ResetPool site is the target of a little web
service that will force an app pool to recycle. The TestReset site is
intended as a client for the service. I assign ResetPool a port of
8001 and TestReset a port of 8002.
I have configured both web sites with Server extentions and also both
to use .NET 2.0
So to get started, I just want to test my configuration so I use some
simple projects to test with...
Now, when I go into Visual Studio, I want to create my web service.
Here is what I have done (that does not work):
I create just a default web service that has 1 method that returns
Hello World. I define a local folder for this project. I build it.
Then I tell it to publish it out to my Win 2003 server website. This
all seems to work fine from what I can tell. It talks to the server
and builds a bunch of files and folders out there.
OK, so far so good - Or so I think...Now I create a new project for the
client. I tell it a local folder on my machine. Then I go to add a
web reference to that project and it allows me to look on my local
machine, the currend project or a UDDI server. Optionally, I can
specify a URL.
So, I specify the URL of the service that I defined above:
http://Win2k3:8001/ResetPool
And it gives me an error:
There was an error downloading 'http://win2k3:8001/ResetPool/'.
The request failed with the error message:
There was an error downloading 'http://win2k3:8001/ResetPool/'.
The request failed with HTTP status 403: Forbidden.
And it indicates that I need to log in to the server. Now my local ID
is defined to the admin group on that server. So I am not really sure
what to think here.
Can anyone shed some light for me?
Thanks a ton!