cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1099652 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java
Date Thu, 05 May 2011 01:36:11 GMT
Author: dkulp
Date: Thu May  5 01:36:11 2011
New Revision: 1099652

URL: http://svn.apache.org/viewvc?rev=1099652&view=rev
Log:
[CXF-3459] Add fault subcode to the Soapfault

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java?rev=1099652&r1=1099651&r2=1099652&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java (original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java Thu
May  5 01:36:11 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(),



Mime
View raw message