Axis: fix jaxws-war client invocation failure after moving to xbeans
--------------------------------------------------------------------
Key: GERONIMO-3012
URL: https://issues.apache.org/jira/browse/GERONIMO-3012
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: webservices
Affects Versions: 2.0
Environment: winxp + sun 1.5
Reporter: Lin Sun
Fix For: 2.0
When the jaxws-war test ran, the third test will fail, caused by NPE. The NPE
is caused by
HandlerChainsDocument.Factory.parse(this.handlerChainsXML).getHandlerChains();
It is possible that this.handlerChainsXML is null, which is the case for the
jaxws-war test as we didn't specifiy any ServiceRefHandlerChainsType for
client. The patch will simply return null as there is no need to call
HandlerChainsDocument.Factory.parse when this.handlerChainsXML is null.
With this patch (and latest change Jarek checked in), all 3 tests of jaxws-war
run fine.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.