Configuring HTTPS for the web services axis2 engine

When configuring web services, if you want to use the HTTPS for axis2 engine, you must add "https" transportReceiver to axis2.xml in the WAS_HOME/profiles/profileName/installedApps/cellName/ appName/CMBSpecificWebService.war/WEB-INF/conf directory.

For each protocol (HTTP or HTTPS), an AxisServletListener instance must be declared in axis2.xml. If only a single protocol is used, no further configuration is required. For example, if only HTTP is used, then the following declaration must be present in axis2.xml:
<transportReceiver name="http" 
  class="org.apache.axis2.transport.http.AxisServletListener"/>
If only a single AxisServletListener is configured, then this information is enough to enable AxisServlet detect the port number.

If both HTTP and HTTPS are used (or if the WSDLs are retrieved through transports other than AxisServlet), then AxisServlet cannot read the port numbers until it has processed at least one request for each protocol. To make WSDL generation predictable in this scenario, you must explicitly configure the port numbers in the axis2.xml file, such as in the following example:

<transportReceiver name="http" 
  class="org.apache.axis2.transport.http.AxisServletListener">
  <parameter name="port">8080</parameter>
</transportReceiver>

<transportReceiver name="https" 
  class="org.apache.axis2.transport.http.AxisServletListener">
  <parameter name="port">8443</parameter>
</transportReceiver>