synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <>
Subject [jira] Resolved: (SYNAPSE-222) publishWSDL not working with SynapseAxisServlet
Date Sat, 05 Jan 2008 09:22:34 GMT


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:
>             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(
> 	javax.servlet.http.HttpServlet.service(
> 	javax.servlet.http.HttpServlet.service(
> 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:
For additional commands, e-mail:

View raw message