You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Asankha C. Perera (JIRA)" <ji...@apache.org> on 2008/01/05 10:22:34 UTC

[jira] Resolved: (SYNAPSE-222) publishWSDL not working with SynapseAxisServlet

     [ https://issues.apache.org/jira/browse/SYNAPSE-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-222.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.1
         Assignee: Asankha C. Perera

applied patch
 - thanks Andreas

> 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
>            Assignee: Asankha C. Perera
>             Fix For: 1.1.1
>
>         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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org