axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Gallardo (JIRA)" <>
Subject [jira] Created: (AXIS2-2091) Callback.onError() faults should be delivered with a MessageContext
Date Fri, 02 Feb 2007 22:23:05 GMT
Callback.onError() faults should be delivered with a MessageContext

                 Key: AXIS2-2091
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
            Reporter: Nick Gallardo
         Assigned To: Nick Gallardo

When Axis2 delivers a fault message via the Callback.onError() method, it delivers just the
fault or exception object with no other additional data.  For sync cases, we are able to get
the MessageContext for the fault response from the OperationClient and then go down the fault
processing chain for JAX-WS.  We need this same capability for async cases as well so that
similar fault processing can occur.

This can be addressed by changing the AxisFault that's already being delivered to be constructed
with the MessageContext inside of it.  The APIs already exist to store the MessageContext
on the fault, we just need to make the callback delivery code make use of it.  This can be
done with a slight change to org.apache.axis2.util.Util.getInboundFaultFromMessageContext().

The other change that needs to be made is to the OutInAxisOperation.NonBlockInvocationWorker.
 The way the fault is constructed there is not symmetric with the way it's being done in the
CallbackReceiver.  This code needs to be changed to mirror the CallbackReceiver's implementation.

I'm working on a patch and should have something posted shortly.

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