synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Created: (SYNAPSE-222) publishWSDL not working with SynapseAxisServlet
Date Fri, 04 Jan 2008 21:28:34 GMT
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message