WS Binding with @OneWay incorrect invokeTarget()
------------------------------------------------

                 Key: TUSCANY-1334
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1334
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Axis Binding Extension
    Affects Versions: Java-SCA-0.90
            Reporter: Lou Amodeo


Using a @Oneway operation over the WS Binding fails due to a couple of problems 
I found.   

a)  Axis2ServiceInMessageReceiver()  the invokeBusinessLogic method has its 
invokeTarget method commented out.  I changed to the following:    
provider.invokeTarget(operation, args, null, conversationID);


b) Axis2OneWayBindingInvoker() the invokeTarget() method needs to override its 
parent but this method has an incorrect method signature so it never gets 
called.  I changed this to the following: 

   protected Object invokeTarget(final Object payload, final 
ConversationSequence sequence, String conversationId) throws 
InvocationTargetException {

Replaced the 2nd argument which is a short with ConversationSequence. 

After applyinbg these 2 changes the @Oneway is now functioning. 

    
 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to