Axis 2 webservice SSL communication
问题 I am getting Soap Response from this code SOAPConnectionFactory sfc = SOAPConnectionFactory.newInstance(); SOAPConnection connection = sfc.createConnection(); SOAPMessage soapMessageResponse = connection.call(soapRequest, new URL(serviceLocation)); How can I make it SSL based? I know how to create SSLSocketFactory from SSLContext giving my specified keystore . How can I tell SOAPConnection class about SSLSocketFactory or SSLContext ? So that my communication can be secured. I do not want to