Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 34009 invoked from network); 17 Jan 2006 13:37:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jan 2006 13:37:51 -0000 Received: (qmail 21262 invoked by uid 500); 17 Jan 2006 13:37:47 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 21223 invoked by uid 500); 17 Jan 2006 13:37:47 -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 21208 invoked by uid 99); 17 Jan 2006 13:37:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2006 05:37:46 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [192.6.10.17] (HELO gort.hpl.hp.com) (192.6.10.17) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2006 05:37:45 -0800 Received: from kropotkin.hpl.hp.com (kropotkin.hpl.hp.com [15.144.59.2]) by gort.hpl.hp.com (8.12.10/8.12.10) with ESMTP id k0HDZxe5019526 for ; Tue, 17 Jan 2006 13:35:59 GMT Received: from localhost (localhost [127.0.0.1]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id ED804828F for ; Tue, 17 Jan 2006 13:35:58 +0000 (GMT) Received: from kropotkin.hpl.hp.com ([127.0.0.1]) by localhost (kropotki [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23573-04-15 for ; Tue, 17 Jan 2006 13:35:55 +0000 (GMT) Received: from timmay.hpl.hp.com (timmay-hb.hpl.hp.com [15.144.59.39]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id 30CB1772A for ; Tue, 17 Jan 2006 13:35:55 +0000 (GMT) Received: from [15.144.25.135] (chamonix.hpl.hp.com [15.144.25.135]) by timmay.hpl.hp.com (8.13.2/8.13.2) with ESMTP id k0HDZnxq009090 for ; Tue, 17 Jan 2006 13:35:49 GMT Message-ID: <43CCF2B5.4040301@apache.org> Date: Tue, 17 Jan 2006 13:35:49 +0000 From: Steve Loughran User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: axis-dev@ws.apache.org Subject: Re: [Axis2] New SOAP Fault implementation Questions References: <43BA17AD.1010804@opensource.lk> In-Reply-To: <43BA17AD.1010804@opensource.lk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPLB-IMAP-MailScanner-Information: Please contact the Helpdesk for more information X-HPLB-IMAP-MailScanner: Found to be clean X-HPLB-IMAP-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) X-Virus-Scanned: amavisd-new at kropotkin.hpl.hp.com X-HPL-MailScanner-Information: Please contact the Helpdesk for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.368, required 5, autolearn=not spam, AWL 0.23, BAYES_00 -2.60) X-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Eran Chinthaka wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi, > > I think Steve started some time back on implementing faults for Axis2. > And I think its not completed and integrated. Shall we remove that > code from this release also, as its not being used ? I have few other > questions on impl deatails as well. > > 1. Why is the design completely stands away alone from OM. The impl > I did was an extension OM. IMO, if we create a separate object > model for faults, we will have two object models for faults. I > hope everyone agrees that we need to have the OM structure. So > if we can merge that structure with Steve has defined, we can > avoid duplication. One of the problems with OM is its binding to SOAP1.1 or 1.2. you have to choose early on, what kind of fault you throw/catch. I need to generate faults without caring about its outbound transport. Relays may also want to catch a fault, fiddle with it and pass it on. However, its hard to be soap version independent in Axis, because you cant add nested fault detail elements without knowing where they are going. So arguably, the design is not the correct one for Axis (although it is for any Xom-based system) > 2. The AbstractFaultCode class maintains an instance of its > subclass FaultSubCode and some references to that. I don't think > its a good decision, unless you have a very good reason. I am trying to remember.