cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
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 GMT
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();
 



Mime
View raw message