473,383 Members | 2,005 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,383 software developers and data experts.

WCF: HTTP Basic Authentication without HTTPS when connecting to aSOAP service

Tom
Hi,

I need to connect to a SOAP web service (Java server) that requires
basic HTTP authentication over HTTP (not HTTPS). I've tried the
following setup:

<security mode="TransportCredentialOnly">
<transport clientCredentialType="Basic"
proxyCredentialType="Basic" />
</security>

and

factory.Credentials.UserName.UserName = "name";
factory.Credentials.UserName.Password = "password";

But the "Authorization" header is not sent by the client.

Is it really so that the header is not sent unless connecting through
a secure HTTPS connection? Or is the client always waiting for a 401
error to respond to (the server always responds with a SOAP message)?

Is there really no other way but to make my own message inspector to
send the header?

Br,
Tom
Oct 8 '08 #1
0 3639

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

Similar topics

0
by: ronscottlangham | last post by:
I have a WCF Web Service that I develop using the ASP.NET Development Server in Visual Studio. In release, the web service will support both HTTP and HTTPS. Initially I had only HTTP configured in...
5
by: =?Utf-8?B?SmltbWVy?= | last post by:
Hello, I've been trying to create a WCF SOAP Router Service that can forward not just the message body but also any security headers set by the originator of the message. The destination service...
5
by: Jonathan Kay | last post by:
Hi, I'd like to my WCF webservice to work both on SSL and without. Unfortunately searching has led to dead ends, references to changes that only work on the old previous beta versions and I...
0
by: tkarthi06 | last post by:
Hi, Can any one please tell how to pass Web Services Credentials(Web Services Username and Password) using WCF. Inorder to Communicate with Web Services i have to provide username and...
3
by: DaveJ | last post by:
Hi everyone, I really was hesitant to post here for fear of seeming foolish but I really am desparate, and do appreciate any opportunity to get answers from real people. So please forgive the...
5
by: =?Utf-8?B?TWFyaw==?= | last post by:
I'm researching what is the best way to create a generic WCF proxy wrapper that has the following requirements: 1. Remove the System.ServiceModel config section requirement for clients. We have...
0
by: crm | last post by:
Hi, I'm implementing my first WCF application. Everything works fine if I host it in the development web server, but when I add the virtual directory to IIS I start getting the following error: ...
0
by: satish kumar | last post by:
Hello! We have a situation where in we're developing a WCF Intermediatery service, which would handle calls between Callers (could be asp.net wcf clients) and External Services (mostly WCF...
0
by: Jesper Lund Stocholm | last post by:
I have the following requirements: a. Have a WCF-service hosted on IIS (6.0) b. Pass user's AD-credentials to the WCF-service c. NOT use SSL/HTTPS So in IIS I have disabled anonymous access...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.