Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 33906 invoked from network); 21 Aug 2006 09:31:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Aug 2006 09:31:22 -0000 Received: (qmail 1099 invoked by uid 500); 21 Aug 2006 09:31:19 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 1065 invoked by uid 500); 21 Aug 2006 09:31:19 -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 1054 invoked by uid 99); 21 Aug 2006 09:31:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 02:31:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 02:31:17 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8ED1171428E for ; Mon, 21 Aug 2006 09:28:14 +0000 (GMT) Message-ID: <16021980.1156152494556.JavaMail.jira@brutus> Date: Mon, 21 Aug 2006 02:28:14 -0700 (PDT) From: "Richard Gruet (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-1052) Complex fault detail lost in exception caught on client side MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Complex fault detail lost in exception caught on client side ------------------------------------------------------------ Key: AXIS2-1052 URL: http://issues.apache.org/jira/browse/AXIS2-1052 Project: Apache Axis 2.0 (Axis2) Issue Type: Bug Components: databinding Affects Versions: 1.0 Environment: Windows XP SP2 / Tomcat 5.5 Reporter: Richard Gruet Priority: Critical (This bug description started in AXIS2-917, but it was judged more appropriate to open a new issue since this is related to fault handling implementation, not documentation). If I define a custom fault with a *complex* structure, like this one: ... assuming that I defined an operation throwMiFault() and generated the code from the WSDL, Axis2 will have generated a ThrowMiFaultFaultException class. When I raise a ThrowMiFaultFaultException instance from the throwMiFault method, everything goes fine on the server side. But on the client side, when catching the ThrowMiFaultFaultException, I found that the fault detail (obtained via e.getFaultMessage()) has an empty 'error' array [please see details in AXIS2-917]. However, the XML for the fault detail looks correct: CODE1 Error #1 message text param#1 CODE2 Error #2 message text ... which suggests a possible AXIOM error (Derek Foster suggested that it might be related to AXIS2-928). When I define a *simple* custom error like this one: ... everything works fine and the xxxFaultException I get on the client side contains the error detail (i.e. the message element). So the problem seems to occur only with complex fault detail. Richard -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org