Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add http header info when calling ws...

Status
Not open for further replies.

d2007

Programmer
May 17, 2007
18
0
0
US
using asp.net 2.0.

I have added a web service to my project by "adding web reference".

I have also set up the SOAP extentions to add a SOAP header with authentication. When I preview the SOAP request in fiddler, the XML looks fine.

However, I also need to add some "authorization: basic" information to the http header.

How can I modify the http header to include the authorization attribute I'm required to send? Is this a set-up in the web.config?

I need the http header info to apply when I call my web service.

Any suggestions greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top