[wsas-java-dev] [jira] Closed: (WSAS-690) Blank soapaction is set in the generated stub when soap12 port is used for code gen

Charitha Kankanamge (JIRA) jira at wso2.org
Wed Jan 16 03:33:59 PST 2008


     [ http://wso2.org/jira/browse/WSAS-690?page=all ]

Charitha Kankanamge closed WSAS-690.
------------------------------------

    Resolution: Fixed

Amila has fixed the bug. Verified in WSAS-2.2-RC1 and closed it.

> Blank soapaction is set in the generated stub when soap12 port is used for code gen
> -----------------------------------------------------------------------------------
>
>                 Key: WSAS-690
>                 URL: http://wso2.org/jira/browse/WSAS-690
>             Project: WSO2 WSAS
>          Issue Type: Bug
>         Environment: winxp, jdk15, WSAS-2.2-qabuild6
>            Reporter: Charitha Kankanamge
>         Assigned To: Amila Suriarachchi
>            Priority: Blocker
>         Attachments: soapsessionservice.aar, Soapsessionservice.wsdl
>
>
> The generaed stub via soap12 port contains a blank soapaction. Therefore,the service invocation with addressing engaged at client side, fails with a NPE as follows.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke(AddressingInFaultHandler.java:97)
> 	at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
> 	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:235)
> 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:135)
> 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:344)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:397)
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:214)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> 	at org.wso2.wsas.client.SoapsessionserviceStub.mathsOperation(SoapsessionserviceStub.java:184)
> 	at Sessionclient.main(Sessionclient.java:32)
> Steps to reproduce:
> ================
> 1. Deploy the attached service
> 2. Generate client stubs using soap12 port
> 3. Write a client which uses addressing
> 4. Invoke the service
> Service invocation successful if soap11 port is used for code gen.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        




More information about the Wsas-java-dev mailing list