axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasad Erabelli <>
Subject Re: AXIS=>.NET Interop
Date Fri, 13 Jun 2008 18:10:00 GMT

* is it enough to specify the location and password for the keystore? i.e.:

System.setProperty("", "[path]/keystore.jks");
System.setProperty("", "my password");

That is correct, above code basically retrieves the server-side certificate
(with public key) stored locally at the client-side.

* similarly, is it enough to engage the addressing module like this? 
Anything more to it?

ServiceClient client = new ServiceClient();

This will work too, however I would prefer engaging the modules in axis2.xml
that way it not so intrusive,  so there will be entry in the axis2.xml
configuration file as below:

<axisconfig name="AxisJava2.0">

    <module ref="addressing"/>

* do you know of any example code for AXIS2 clients using UsernameToken?

Yes, you can reference a sample that comes with Rampart download (from
apache as well). It will show you what you need in axis2.xml and also the
password callback that you need to typically to query the password for a
given username.

View this message in context:
Sent from the Axis - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message