Ask a Question related to ASP.NET Web Services, Design and Development.
-
Howard Hoffman #1
HTTP Status 401 -- WebServer calling WebService
I am trying to 'flow' a Windows Identity from an IE Browser to a Web Server
to an App Server (hosted by ASP.NET, exposing WebService interface).
Everything is within the same firewall / network.
I'm seeing the identity flow from Browser to Web Server, but it doesn't flow
over to the App Server / Web Service.
I had thought this would work, but perhaps I'm mistaken. It *does* work if
everything is on the same machine.
Machine A is W2K Advanced Server, with AuthorsWebClient ASP.NET Web Server
application.
The IIS virutal directory Directory Security tab is setup to *not* allow
anonymous access. Integrated Windows Authentication is checked.
The web.config file has <identity impersonate="true"/> and <authentication
mode="Windows"/>.
In the web server, I make a call to a web service running on Machine B.
Before calling the web service, I set
Proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
where 'Proxy' is the VS.NET Generated (via WebReference) proxy for the web
service.
Machine B is running XP. It's got AuthorsWebService, an ASP.NET Web
Service application. The IIS virtual directory Directory Security tab is
setup
to *not* allow anonymous access. Integrated Windows Authentication is
checked.
The web.config file of the Web Service has <identity impersonate="true"/>
and <authentication mode="Windows"/>.
If I disallow anonymous access to the Web Service virtual directory, I get
HTTP 401 errors at the point where Machine A calls the web service on
Machine B. If I allow anonymous access to the Web Service virtual
directory, I get in to the Web Service, but I have a Windows Principal
with an Identity that has an empty Name value.
Especially in light of
[url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;811318[/url]
I'm confused. Can anyone tell me whether I can flow identity across the
web server to the web service (across machines)?
Thanks in advance,
Howard Hoffman
Howard Hoffman Guest
-
Webservice problem: "The Request failed with http status 401"
Okay, I'm writing a plugin for Outlook 2003 using C# and the .Net framework. In this plugin I'm opening a windows form that should fetsch some data... -
Calling a webservice in Dotnet using HTTP-POST and input mime type
When generating a HTTP-POST using an input MIME type of XML we get the following error when generating the class in C# using the wsdl.exe tool... -
Calling a WebMethod returns HTTP Status 417: Expectation failed
Hi Manish, Is there a proxy server between the web service server and the particualr client? Based on my experience, this kind of problem may be... -
#19113 [Com]: HTTP status 200 returned on HTTP CONNECT when mod_proxy not in use
ID: 19113 Comment by: arafuse at bcexplorers dot com Reported By: php_new at jdc dot parodius dot com Status: ... -
HTTP 503 (Service Unavailable) error when calling a webservice inside the network
Hello This problem has been driving me mad for the past few days. I am basically writing a generic utility in .NET/C# that can read any WSDL...



Reply With Quote

