Authentication problems when invoking webservice configured for Windows Authenti
We have the following scenario:
we have 2 servers, one running a web site and one running a web service.
Both servers are configured for Windows Auth both in IIS (5) and in
..configs.
Both servers are running 1.1 framework.
Both web site and web service have config file set to <identity
impersonate="true" />
Both servers are in the same domain and we're both admins on the box.
Prior to invoking the client (call it uws), we do the following:
uws.Credentials = System.Net.CredentialCache.DefaultCredentials.
uws.CallMethod()
When the method is called, the client receives a HTTP 401 (unauthorized).
The workstation the client runs on is logged in as a valid user.
If we move the the web service to the same box the web site resides on, we
don't have this issue. One last thing, we're both inside the network
(client too).
Has anyone else seen this type of behavior and if so, did you find a
solution?
Thanks.
Tim

