I had serious problems making work AXIS over SSL (1.1, JDK14). All the time, I got "javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found".
The first thing to try was the well known solution:
TrustManager[] tm = new TrustManager[ 1 ]; tm[0]=new NaiveTrustManager( ); // accepts all context.init(null, tm, new SecureRandom()); HttpsURLConnection.setDefaultSSLSocketFactory(context.getSocketFactory());
But AXIS absolutely refused to take setting this into account, the SUN default class got called every time.
On the net, google, AXIS mailing lists, etc no one had really a solution. Either there was never an answer, "use CommonsHttpSender & config HttpClient" (too complicated since need to rebuild AXIS), or "import server certs to your keyring" (not a acceptable solution for me)...
After some hours in the AXIS source codes, I stumbled over the SocketFactoryFactory...