publishWSDL not working with SynapseAxisServlet
-----------------------------------------------
Key: SYNAPSE-222
URL: https://issues.apache.org/jira/browse/SYNAPSE-222
Project: Synapse
Issue Type: Bug
Components: Transports
Affects Versions: NIGHTLY
Reporter: Andreas Veithen
A WSDL published by a service proxy can't be retrieved when SynapseAxisServlet
is used (instead of the NIO listener). Trying to do so triggers the following
exception:
java.lang.NullPointerException
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:228)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
The reason is that SynapseAxisServlet overrides the init method defined in
AxisServlet. While AxisServlet#init sets the agent attribute,
SynapseAxisServlet#init doesn't. This causes the NPE. The problem is that the
agent attribute is declared private. A solution (or at least a workaround)
could be to bypass the access restriction using reflection.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]