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.
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.