axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prahalad Deshpande <>
Subject Re: [Axis2] Authenticating a WCF client to a Java Axis web service
Date Mon, 29 Jun 2009 07:36:18 GMT
Hi Nandana,
Thanks for the reply.

With respect to the steps mentioned in your mail, I would like to point out
that the java web service running on Axis -2 framework is not under my
control. It is a third party service that is hosted by another OU. Also the
certificate has been correctly installed.

Another point I forgot to mention in my previous mail, is that I can
successfully communicate with the web service and consume it using the
Microsoft.NET 2.0 web service technologies.

This means that there is some aspect of the service behavior that is not
correctly understood by the .NET framework 3.5 WCF infrastructure ( and
which we will subsequently have to handle).

While I investigate on my end, do let me know if there are some known issues
with respect to basic authentication over HTTPS between a .NET WCF client
and Axis-2 web service.

Thanks again for your time on this


Prahalad Deshpande

On Sun, Jun 28, 2009 at 1:43 PM, Nandana Mihindukulasooriya <> wrote:

> Hi Prahalad,
>            To use HTTP Basic Auth, you don't need to inject anything to
> SOAP header, it works at HTTP level not at SOAP level. Did you try this [1]
> ? If the certificates used for SSL are self signed ones, you may need to set
> these  [2] system properties.
> thanks,
> Nandana
> [1] -
> [2] -
> On Sat, Jun 27, 2009 at 11:59 PM, Prahalad Deshpande <>wrote:
>> Hi Team,
>> I write to this mailing list as I found these email addresses on the
>> Apache web site. The question is related to interaction between a Java web
>> service hosted on a Apache Axis 2 web service framework and a .NET client
>> written using WCF( .NET framework 3.5).
>> The web service expects the clients to perform a Basic HTTP authentication
>> over SSL (HTTPS). The service has been successfully deployed and I was
>> successfully able to consume the WSDL in .NET to create a .NET proxy. The
>> trouble begins here.
>> I have set the user name and password to communicate with the web service.
>> Now as I call the methods exposed by the Axis-2 web service, the call fails
>> with an "Authentication Failure".
>> I have done a significant amount of googling to understand the problem,
>> some blogs say that Axis-2 web service needs the client to authenticate
>> itself for every request. If this statement is correct, then what is the
>> exact security header that I need to inject in SOAP messages so as the
>> authentication succeeds.
>> If any of you have any sample implementation or some pointers related to
>> this issue, please do let me know.
>> Thanks to all in advance for their help.
>> Regards
>> Prahalad
> --
> Nandana Mihindukulasooriya
> WSO2 inc.

View raw message