[esb-issues] [JBoss JIRA] Commented: (JBESB-3083) Wise SOAPClient action is unable to invoke oneway methods on the endpoints

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Wed Jan 6 07:49:30 EST 2010


    [ https://jira.jboss.org/jira/browse/JBESB-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12502446#action_12502446 ] 

Tom Fennelly commented on JBESB-3083:
-------------------------------------

Talked to Kev and the fix he wants to implement is to use AOP to always return false for the call to isOneWay() inside the WISE WSMethod.invoke() method.

Callers of WSMethod.invoke() (e.g. the SOAPClient action) are responsible for checking the isOneWay flag on the WSMethod and handling OneWay requests themselves (because the InvocationResult returned from WSMethod.invoke will "look like" a TwoWay invocation result).  Kev says the WSMethod.isOneWay() will only be modified (by AOP) for the invocation made by WSMethod.invoke() i.e. it will still return the actual value for other callers.

I will return to this next week.

> Wise SOAPClient action is unable to invoke oneway methods on the endpoints
> --------------------------------------------------------------------------
>
>                 Key: JBESB-3083
>                 URL: https://jira.jboss.org/jira/browse/JBESB-3083
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Rosetta
>    Affects Versions: 4.7
>            Reporter: Boris Belovic
>            Assignee: Tom Fennelly
>            Priority: Critical
>             Fix For: 4.7 CP1
>
>         Attachments: server.log, soap-wise-oneway-and-twoway, wise_oneway.tar.bz2, wise_oneway_and_twoway.tar.bz2
>
>
> Wise SOAPClient action is unable to invoke oneway methods (methods annotated with javax.jws.Oneway annotation) on WS endpoints. It looks like webservice WSDL is parsed correctly, but after that no statements from oneway method body are executed. We tested this with very simple webservice (see attached file) containing one oneway method with System.out.println() statement. After WSDL was parsed, there was no further output from webservice method.
> Invocation of twoway methods on WS endpoint is working correctly (without any problems/exceptions and with expected results).

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

        


More information about the esb-issues mailing list