I forgot to mention that the content type of the requests is
"application/json". MessageRecievers and MessageFormaters have been
declared in the axis2.xml file.
Thanks,
Alex
On 21.05.2010 10:36, Alexander Rosemann wrote:
Hi,
I'm currently having a hard time getting Axis2 1.4.1 running with HTTPS.
In my setup Axis is part of a web app deploayed in Tomcat 6.0.20. My
service scope is set to transportsession. This works fine as long as I
stick to HTTP. When I switch over to HTTPS I get the following error:
2010-05-17 16:47:16,388 ERROR AxisServlet:172 -
java.lang.NullPointerException
I think it is related to AXIS2-3141. I've applied the provided patch.
Unfortunately, to no avail. The NPE seems to occur when Axis tries to
invoke the processHTTPPostRequest on line 133 in the AxisServlet class.
I'm using a self signed certificate and added the HTTPS transportSender
setting below to my axis.xml.
<transportSender name="https"
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
<parameter name="PROTOCOL">HTTP/1.1</parameter>
<parameter name="Transfer-Encoding">chunked</parameter>
</transportSender>
I tried to use Axis 1.5.1 as well and ran into the same problem. If
somebody faced the same issue and got it working, I would appreciate if
you could point me into the right direction.
Cheers,
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]