You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Nick Gallardo (JIRA)" <ji...@apache.org> on 2007/02/02 23:34:05 UTC

[jira] Updated: (AXIS2-2091) Callback.onError() faults should be delivered with a MessageContext

     [ https://issues.apache.org/jira/browse/AXIS2-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Gallardo updated AXIS2-2091:
---------------------------------

    Attachment: patch.txt

A patch for this issue.  All tests, including enterprise tests, passed with this.

> Callback.onError() faults should be delivered with a MessageContext
> -------------------------------------------------------------------
>
>                 Key: AXIS2-2091
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2091
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>            Reporter: Nick Gallardo
>         Assigned To: Nick Gallardo
>         Attachments: patch.txt
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org