Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 48C1A33EF for ; Thu, 5 May 2011 01:52:23 +0000 (UTC) Received: (qmail 42707 invoked by uid 500); 5 May 2011 01:52:23 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 42646 invoked by uid 500); 5 May 2011 01:52:23 -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 42639 invoked by uid 99); 5 May 2011 01:52:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 01:52:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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, 05 May 2011 01:52:20 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0FC8E23889E3; Thu, 5 May 2011 01:52:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1099659 - in /cxf/branches/2.3.x-fixes: ./ rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java Date: Thu, 05 May 2011 01:52:00 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110505015200.0FC8E23889E3@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Thu May 5 01:51:59 2011 New Revision: 1099659 URL: http://svn.apache.org/viewvc?rev=1099659&view=rev Log: Merged revisions 1099652 via svnmerge from https://svn.apache.org/repos/asf/cxf/trunk ........ r1099652 | dkulp | 2011-05-04 21:36:11 -0400 (Wed, 04 May 2011) | 1 line [CXF-3459] Add fault subcode to the Soapfault ........ Modified: cxf/branches/2.3.x-fixes/ (props changed) cxf/branches/2.3.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java Propchange: cxf/branches/2.3.x-fixes/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: cxf/branches/2.3.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java?rev=1099659&r1=1099658&r2=1099659&view=diff ============================================================================== --- cxf/branches/2.3.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java (original) +++ cxf/branches/2.3.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java Thu May 5 01:51:59 2011 @@ -207,6 +207,9 @@ public class JaxWsClientProxy extends or soapFault.setFaultString(((SoapFault)ex).getReason()); soapFault.setFaultCode(((SoapFault)ex).getFaultCode()); soapFault.setFaultActor(((SoapFault)ex).getRole()); + if (((SoapFault)ex).getSubCode() != null) { + soapFault.appendFaultSubcode(((SoapFault)ex).getSubCode()); + } if (((SoapFault)ex).hasDetails()) { Node nd = soapFault.getOwnerDocument().importNode(((SoapFault)ex).getDetail(),