Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 41494 invoked from network); 19 Feb 2009 22:04:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2009 22:04:14 -0000 Received: (qmail 12835 invoked by uid 500); 19 Feb 2009 22:04:13 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 12786 invoked by uid 500); 19 Feb 2009 22:04:13 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 12776 invoked by uid 99); 19 Feb 2009 22:04:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2009 14:04:13 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2009 22:04:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DDDFD23888CA; Thu, 19 Feb 2009 22:03:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r746019 - /cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java Date: Thu, 19 Feb 2009 22:03:52 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090219220352.DDDFD23888CA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Thu Feb 19 22:03:52 2009 New Revision: 746019 URL: http://svn.apache.org/viewvc?rev=746019&view=rev Log: [CXF-2037] Fix problem with SOAP 1.2 SubCodes Modified: cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java Modified: cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java?rev=746019&r1=746018&r2=746019&view=diff ============================================================================== --- cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java (original) +++ cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java Thu Feb 19 22:03:52 2009 @@ -74,9 +74,11 @@ if (fault.getSubCode() != null) { writer.writeStartElement(defaultPrefix, "Subcode", ns); + writer.writeStartElement(defaultPrefix, "Value", ns); writer.writeCharacters(fault.getSubCodeString(getFaultCodePrefix(writer, fault.getSubCode()), defaultPrefix)); writer.writeEndElement(); + writer.writeEndElement(); } writer.writeEndElement();