[ https://issues.apache.org/jira/browse/SYNAPSE-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen updated SYNAPSE-222: ------------------------------------ Attachment: synapse-222.patch.txt Attached a patch that implements the described workaround. > 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 > Attachments: synapse-222.patch.txt > > > 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]