Ask a Question related to ASP.NET, Design and Development.
-
Nacho Nachev #1
Send Basic HTTP authentication credential in the first HTTP request
Hello,
How can I make the web service proxy class send basic authentication
information in the HTTP header of the first request?
My authentication code is here:
NetworkCredential crd = new NetworkCredential("user1", "welcome1");
m_echostringsvc.Credentials = crd;
m_echostringsvc.PreAuthenticate = true;
Althoufh PreAuthenticate is set to true, no authentication information sent
in the header of the first HTTP request. The same result appears
with both the WSE toolkit and the HttpSoapClientProtocol class that comes
with the .NET FW itselts.
Thank you for your time!
Nacho
Nacho Nachev Guest
-
request failed with HTTP status 407: Proxy Authentication Required
Hi all. I have been strugling with trying to get access to a web reference in my web project that is outside my firewall (ISA 2000 server running... -
Automate HTTP Basic authentication from PHP script?
Hello, i am trying to automate Basic HTTP authentication from within a PHP script. Does anyone know if this is possible? I was looking into... -
HTTP 400 BAD REQUEST
Hi, I am trying to upload a file to the Server using the System.net.Webclient and the uploadfile method. The Upload consistenly happens for file... -
HTTP::Request failed on HTTP/1.1 and Connection: Keep-Alive
Hi Abigail, I know that the error comes from the Java program, the nullpointer error. But what it confused me is: if I'm using an Internet Explorer... -
Web Service- Basic HTTP Authentication
Hi, Does anyone have a sample of Basic Http Authentication for a Web Service. Any help appreciated!! Thanks Ted -
Feroze [msft] #2
Re: Send Basic HTTP authentication credential in the first HTTP request
For details on how to get this to work, look at
[url]http://weblogs.asp.net/feroze_daud/archive/2004/07/12/180856.aspx[/url]
feroze
===============
this posting is provided as-is
"Nacho Nachev" <no@spam.now> wrote in message
news:#zTKciOkEHA.3872@TK2MSFTNGP11.phx.gbl...sent> Hello,
>
> How can I make the web service proxy class send basic authentication
> information in the HTTP header of the first request?
>
> My authentication code is here:
>
> NetworkCredential crd = new NetworkCredential("user1", "welcome1");
> m_echostringsvc.Credentials = crd;
> m_echostringsvc.PreAuthenticate = true;
>
> Althoufh PreAuthenticate is set to true, no authentication information> in the header of the first HTTP request. The same result appears
> with both the WSE toolkit and the HttpSoapClientProtocol class that comes
> with the .NET FW itselts.
>
> Thank you for your time!
>
> Nacho
>
>
>
>
Feroze [msft] Guest



Reply With Quote

