Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Send Basic HTTP authentication credential in the first HTTP request

34 views
Skip to first unread message

Nacho Nachev

unread,
Sep 2, 2004, 8:30:17 AM9/2/04
to
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


Feroze [msft]

unread,
Sep 2, 2004, 5:53:57 PM9/2/04
to
For details on how to get this to work, look at
http://weblogs.asp.net/feroze_daud/archive/2004/07/12/180856.aspx

feroze
===============
this posting is provided as-is

"Nacho Nachev" <n...@spam.now> wrote in message
news:#zTKciOk...@TK2MSFTNGP11.phx.gbl...

ktu...@gmail.com

unread,
Sep 5, 2012, 4:49:14 PM9/5/12
to
0 new messages