Thanks very much for the reply. While I wait for the sysadmin of the iis machine to send me the certificate:

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

System.setProperty("javax.net.ssl.trustStore", "[path]/keystore.jks");
System.setProperty("javax.net.ssl.trustStorePassword", "my password");

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

ServiceClient client = new ServiceClient();
.
.
client.engageModule("addressing");

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

Thanks again,

Rick


erabelli wrote:
Need several steps:

- Export server certificate from .NET Server Certificate MMC (Microsoft
Management Console) Snap-in with public key in it.
- Import the server certificate (with public key) into a local (J2EE box)
truststore.
- In your Java Client Code, you need provide path to trustStore and it's
password so the client can retrieve the server certificate during SSL/HTTPS
handshake.

Also, typically, .NET web services mandate WS-Addressing headers. So, from
your Java Client, you need to engage "Addressing" module to generate
WS-Addressing headers.
Moroever, with HTTPS transport, normally services require Usernametoken. You
need to check into that as well.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to