Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 78229 invoked from network); 6 Feb 2007 21:52:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2007 21:52:31 -0000 Received: (qmail 53746 invoked by uid 500); 6 Feb 2007 21:52:35 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 53691 invoked by uid 500); 6 Feb 2007 21:52:35 -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 53661 invoked by uid 99); 6 Feb 2007 21:52:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 13:52:34 -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; Tue, 06 Feb 2007 13:52:27 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DA70E7142B6 for ; Tue, 6 Feb 2007 13:52:06 -0800 (PST) Message-ID: <29683410.1170798726892.JavaMail.jira@brutus> Date: Tue, 6 Feb 2007 13:52:06 -0800 (PST) From: "footh (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-2125) Asynchronous web service invocation does not return XML response on a SOAP fault MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Asynchronous web service invocation does not return XML response on a SOAP fault -------------------------------------------------------------------------------- Key: AXIS2-2125 URL: https://issues.apache.org/jira/browse/AXIS2-2125 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: client-api Affects Versions: 1.1 Environment: All Reporter: footh Priority: Minor When using the asynchronous sendReceiveNonBlocking call to invoke a web service, there is no way to retrieve the XML response if a SOAP Fault occurs. The XML response is always returned on the blocking invocation methods. I believe the same should hold for the asynchronous calls - there should always be a way to retreive the raw XML response. I sifted through the source code, in particular the NonBlockingInvocationWorker class (I'm looking at the one in OutInAxisOperation). The block of code that appears to be the problem looks something like this (in the run() method of NonBlockingInvocationWorker): if (body.hasFault()) ..call the callback's onError method else ..call the callback's onComplete method It seems the "else" clause should be eliminated and onComplete should always be called whether it is a SOAP Fault or not. This would result in both onError() and onComplete() being called in the case of a SOAP Fault, but I don't see that as being a big problem as the client can deal with it. -- 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