You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Akacem Mohammed <Mo...@arbeitsamt.de> on 2003/05/21 11:54:49 UTC

ssl implementation not available

Hello,

I am trying with a client to send an xml string to a soap server and I get the following Message at runtime:

faultcode: http//xml.apache.org/axis/)Server.user.Exception
faultstring: java.-net.SocketException: SSl implementation not available
faultactor: null


a snippet of my code,  hier I am setting the proxy and the security parameter


      System.setProperty("http.proxyHost",setup.getProxyhost());
        System.setProperty("https.proxyHost",setup.getProxyhost());
        System.setProperty("http.proxyPort", setup.getProxyport());
       System.setProperty("https.proxyPort", setup.getProxyport());


       System.setProperty("java.protocol.handler.pkgs",  "com.sun.net.ssl.internal.www.protocol");
       com.sun.net.ssl.internal.ssl.Provider p = new com.sun.net.ssl.internal.ssl.Provider();
       java.security.Security.addProvider(p);
       System.setProperty("javax.net.ssl.trustStore", setup.getCertificatelocation());
       System.setProperty("javax.net.ssl.trustStorePassword", setup.getCertificatepw());


thanks for any help

Mohammed