PreAuthenticate = True - having no effect...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marc J. Cawood

    PreAuthenticate = True - having no effect...

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