Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 29095 invoked from network); 2 Feb 2007 22:23:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 22:23:29 -0000 Received: (qmail 69057 invoked by uid 500); 2 Feb 2007 22:23:33 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 68778 invoked by uid 500); 2 Feb 2007 22:23:32 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 68767 invoked by uid 99); 2 Feb 2007 22:23:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 14:23:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 14:23:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8054871408A for ; Fri, 2 Feb 2007 14:23:05 -0800 (PST) Message-ID: <33199278.1170454985495.JavaMail.jira@brutus> Date: Fri, 2 Feb 2007 14:23:05 -0800 (PST) From: "Nick Gallardo (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-2091) Callback.onError() faults should be delivered with a MessageContext MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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