Within Apache Axis2, Jakarta Commons HTTPClient is used to send messages with HTTP and HTTPS. HTTPClient uses JSSE (Java Secure Socket Extension) to provide the https functionality. Since JSSE is part of Java 1.4 (and in later versions) there is no special configuration required for this to work.
But in some situations the default socket factory implementation is not enough. So some users might want to provide their own socket factory implementation to work with SSL. In that case Axis2 can accept a socket factory from the user so that it will be used to send that message. Let's see how this can be done.