We're calling a Web Service from a VB.NET application (written with
VS2005) but no authentication headers are being sent even with
PreAuthenticate = True.
EOS.PreAuthenti cate = True
EOS.Credentials = New System.Net.Netw orkCredential(" user1",
"xxxxxxx")
We've examined the request headers with Fiddler and no headers are
present. We were under the impression that PreAuthenticate forced
authentication:
The only special aspect of our web service is that the server does not
actually challenge for authentication and we can't influence this
(authentication is optional). How can we "force" the Authorization:
Basic... header to be sent?
When we manually construct the same request and add the authentication
header everything works as desired:
Authorization: Basic xxxblahblahxxx
VS2005) but no authentication headers are being sent even with
PreAuthenticate = True.
EOS.PreAuthenti cate = True
EOS.Credentials = New System.Net.Netw orkCredential(" user1",
"xxxxxxx")
We've examined the request headers with Fiddler and no headers are
present. We were under the impression that PreAuthenticate forced
authentication:
The only special aspect of our web service is that the server does not
actually challenge for authentication and we can't influence this
(authentication is optional). How can we "force" the Authorization:
Basic... header to be sent?
When we manually construct the same request and add the authentication
header everything works as desired:
Authorization: Basic xxxblahblahxxx