Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 61442 invoked from network); 5 Sep 2007 18:58:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Sep 2007 18:58:06 -0000 Received: (qmail 48010 invoked by uid 500); 5 Sep 2007 18:58:00 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 47815 invoked by uid 500); 5 Sep 2007 18:58:00 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 47806 invoked by uid 99); 5 Sep 2007 18:58:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 11:58:00 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=FM_FAKE_HELO_VERIZON,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of glen.mazza@verizon.net designates 206.46.252.46 as permitted sender) Received: from [206.46.252.46] (HELO vms046pub.verizon.net) (206.46.252.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 18:59:14 +0000 Received: from [192.168.1.47] ([70.17.107.4]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JNW00JBBSNZOYA5@vms046.mailsrvcs.net> for cxf-dev@incubator.apache.org; Wed, 05 Sep 2007 13:57:35 -0500 (CDT) Date: Wed, 05 Sep 2007 14:57:36 -0400 From: Glen Mazza Subject: Re: svn commit: r573017 [1/2] - in /incubator/cxf/trunk: api/src/main/java/org/apache/cxf/interceptor/ api/src/main/java/org/apache/cxf/phase/ common/common/src/main/java/org/apache/cxf/common/commands/ common/common/src/main/java/org/apache/cxf/common/log... In-reply-to: <1189018405.25337.18.camel@gmazza-desktop> To: cxf-dev@incubator.apache.org Message-id: <1189018656.25337.20.camel@gmazza-desktop> MIME-version: 1.0 X-Mailer: Evolution 2.10.1 Content-type: text/plain Content-transfer-encoding: 7bit References: <20070905181329.931041A983A@eris.apache.org> <1189018405.25337.18.camel@gmazza-desktop> X-Virus-Checked: Checked by ClamAV on apache.org Am Mittwoch, den 05.09.2007, 14:53 -0400 schrieb Glen Mazza: > > - soapFault.addDetail().appendChild(nd); > > + nd = nd.getFirstChild(); > > + soapFault.addDetail(); > > Oops! Never mind on this one! I just realized the top line above was removed--not added. Glen > I'm not sure of the difference between the JavaSE SOAPFault and CXF's > SoapFault. For SOAPFault, Sun seems to say that the above LOC would > not be allowed[1]: "It is illegal to add a detail when the fault already > contains a detail." > > Still, what does addDetail() do, if you don't supply it an argument--I'm > having trouble locating this method within the CXF codebase so am > confused. > > [1] > http://java.sun.com/javase/6/docs/api/javax/xml/soap/SOAPFault.html#addDetail() > > Regards, > Glen > > > > + while (nd != null) { > > + soapFault.getDetail().appendChild(nd); > > + nd = nd.getNextSibling(); > > + } > > > > } else { > > soapFault.setFaultCode(new QName("http://cxf.apache.org/faultcode", "HandlerFault")); > > > >