ServiceClient client = new ServiceClient();
        Options opts = new Options();
        opts.setAction("urn:divide");
        client.setOptions(opts);

System.setProperty("javax.net.ssl.keyStoreType", "JKS");
       // key store password
        System.setProperty("javax.net.ssl.keyStorePassword", "my_password");
   //trust store password
        System.setProperty("javax.net.ssl.trustStorePassword", "my_password");
//location of the certificate
        File file = new File(
                "truststore.jks");
        System.setProperty("javax.net.ssl.trustStore", file.getAbsolutePath());

invoke the client

On Nov 6, 2007 11:15 PM, Srikanth Muthyala <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Part of project I am working on is to transmit some information using soap
> to the service running elsewhere. My app will be a client to this service.
> Currently its working fine using http. Next task is to do the same over
> https. We will be provided with customer's digital certificates. I am new
> this SSL. Can somebody guide me through the steps I need to take to
> communicate over https and also recommend any additional packages required.
> My app (client) will be running on Tomcat using java 1.5 and Axis2.
>
> Regards,
>
> Srikanth



-- 





============================
Deepal Jayasinghe
Lanka Software Foundation

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

Reply via email to