Wednesday, December 19, 2012

Tomcat gives an Internal Server error when trying to access Axis2 web services using HTTPS. What's missing?

It is assumed that HTTPS is enabled for Tomcat by defining a Connector with a key store in the server configuration (server.xml) file. What is not working is Axis2 in that server. When we try to access a service wsdl using the web browser the Internal Server Error message is displayed.

This happens due to axis2 configuration missing the HTTPS transport receiver. Following should be added to Axis2.xml in the Tomcat Axis2 web app.
<transportReceiver name="https"
        <parameter name="port">8443</parameter>

1 comment:

Anonymous said...

Thank's that's the solution

Java8 Tomcat8 no https!
Adaptation was still necessary!?

Have a look at: