473,396 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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.PreAuthenticate = True
EOS.Credentials = New System.Net.NetworkCredential("user1",
"xxxxxxx")

We've examined the request headers with Fiddler and no headers are
present. We were under the impression that PreAuthenticate forced
authentication:
http://msdn.microsoft.com/en-us/libr...henticate.aspx

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
Jun 27 '08 #1
0 1497

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: The Master | last post by:
As the subject states, I'm having issues with if else statements that are testing true in IE but false in Mozilla. At first I Thought maybe the way I was splitting the string was leaving trailing...
17
by: Gabriel Mejía | last post by:
Services or applications using ActiveX Data Objects (ADO) 2.0 or greater may intermittently return empty recordsets on queries that should be returning valid results. At the time the problem...
14
by: root | last post by:
Hi group, Apologies in advance if this has been asked somewhere before, but I haven't managed to get anything from the Google archives - I've been getting introductory guides to C++ all day...
0
by: Wolfgang Meier | last post by:
I am using the following code to retrieve a document from my web server: HttpWebRequest req = (HttpWebRequest)WebRequest.Create("http://example.com/"); req.Method = "GET"; req.PreAuthenticate...
4
by: Bernie Raffe | last post by:
When I change the 'cookieless' flag in the WebConfig file to true, everything works fine on my local PC, but the images fail to appear when using the remote server. I specify my images...
0
by: Web Developer | last post by:
I'm creating an instance of a web service proxy, and setting the PreAuthenticate property to true, but it doesn't seem to have any effect. After creating the proxy instance, I make two web service...
59
by: Pierre Quentel | last post by:
Hi all, In some program I was testing if a variable was a boolean, with this test : if v in My script didn't work in some cases and I eventually found that for v = 0 the test returned True ...
0
by: serge calderara | last post by:
Dear all, I did not really catch what is the effect of that webservice property PreAuthenticate. Does any one has a clear ide on how it works ? regards serge
2
by: daniel2335 | last post by:
Is it possible to add code into the database, so that it monitors certain value and performs an operation when certain conditions are true? I have a table with research in each having a completion...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.