RE: Unauthorized Error Calling Web Service
From: Francois Guerin (fguerin_at_newsgroup.nospam)
Date: 09/29/04
- Next message: Jules: "Newbie: Unable to wsdl query my ashx files ?"
- Previous message: Magesh: "Changing the SOAP namespace URI"
- In reply to: [MSFT]: "RE: Unauthorized Error Calling Web Service"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Sep 2004 05:21:02 -0700
Luke,
I am aware of that. I am already passing the credentials when I call the
web service. The problem is that I get an unauthorized error on the FIRST
call, even if though the credentials are supplied. Does that mean that I
would need an extra Try... Catch just to capture the very first error? Is
this a bug or is this by design?
Francois
"[MSFT]" wrote:
> Hello,
>
> When a ASP.NET process is recycled on the server, all current session are
> terminated, and the IIS need to authenticated your client request again.
> However, the request may not contains credential information so that the
> IIS will return 401 error. to resolve the problem, we can just add some
> try...catch statement to get the exception and resend the request. Or you
> may take a look at following article to see if it can help on the problem:
>
> HOW TO: Pass Current Credentials to an ASP.NET Web Service
> http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q813834
>
> Luke
- Next message: Jules: "Newbie: Unable to wsdl query my ashx files ?"
- Previous message: Magesh: "Changing the SOAP namespace URI"
- In reply to: [MSFT]: "RE: Unauthorized Error Calling Web Service"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|