axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nandana Mihindukulasooriya <nandana....@gmail.com>
Subject Re: [Axis2] Authenticating a WCF client to a Java Axis web service
Date Sun, 28 Jun 2009 08:13:53 GMT
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] - http://wso2.org/library/161
[2] -
http://wso2.org/library/3190#Step_4._Adding_server_certificate_as_a_trusted_certificate

On Sat, Jun 27, 2009 at 11:59 PM, Prahalad Deshpande <prahaladd@gmail.com>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.

http://nandana83.blogspot.com/
http://www.wso2.org

Mime
View raw message