servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r515158 - /incubator/servicemix/branches/servicemix-3.1/common/servicemix-soap/src/main/java/org/apache/servicemix/soap/marshalers/SoapWriter.java
Date Tue, 06 Mar 2007 15:43:29 GMT
Author: gnodet
Date: Tue Mar  6 07:43:28 2007
New Revision: 515158

URL: http://svn.apache.org/viewvc?view=rev&rev=515158
Log:
SM-382: Ws-Security signature does not work for outbound

Modified:
    incubator/servicemix/branches/servicemix-3.1/common/servicemix-soap/src/main/java/org/apache/servicemix/soap/marshalers/SoapWriter.java

Modified: incubator/servicemix/branches/servicemix-3.1/common/servicemix-soap/src/main/java/org/apache/servicemix/soap/marshalers/SoapWriter.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.1/common/servicemix-soap/src/main/java/org/apache/servicemix/soap/marshalers/SoapWriter.java?view=diff&rev=515158&r1=515157&r2=515158
==============================================================================
--- incubator/servicemix/branches/servicemix-3.1/common/servicemix-soap/src/main/java/org/apache/servicemix/soap/marshalers/SoapWriter.java
(original)
+++ incubator/servicemix/branches/servicemix-3.1/common/servicemix-soap/src/main/java/org/apache/servicemix/soap/marshalers/SoapWriter.java
Tue Mar  6 07:43:28 2007
@@ -39,6 +39,8 @@
 import javax.xml.stream.XMLStreamReader;
 import javax.xml.stream.XMLStreamWriter;
 import javax.xml.transform.Source;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
 
 import org.apache.servicemix.jbi.jaxp.W3CDOMStreamReader;
 import org.apache.servicemix.jbi.jaxp.XMLStreamHelper;
@@ -93,7 +95,7 @@
     }
 
     private void writeSimpleMessage(OutputStream out) throws Exception {
-        if (message.getDocument() 1= null) {
+        if (message.getDocument() != null) {
             marshaler.sourceTransformer.toResult(new DOMSource(message.getDocument()), new
StreamResult(out));
             return;
         }



Mime
View raw message