Send Basic HTTP authentication credential in the first HTTP request

N

Nacho Nachev

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,560
Members
45,035
Latest member
HoTaKeDai

Latest Threads

Top