You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2007/04/13 21:37:32 UTC

svn commit: r528622 - /webservices/muse/trunk/modules/muse-wsa-soap/src/org/apache/muse/ws/addressing/soap/SimpleSoapClient.java

Author: danj
Date: Fri Apr 13 12:37:32 2007
New Revision: 528622

URL: http://svn.apache.org/viewvc?view=rev&rev=528622
Log:
Fixed bug caused by using the version of XmlUtils.toString() that indents the XML to send SOAP on the wire. 
This breaks any digital signatures on the embedded XML by introducing whitespace nodes.

Modified:
    webservices/muse/trunk/modules/muse-wsa-soap/src/org/apache/muse/ws/addressing/soap/SimpleSoapClient.java

Modified: webservices/muse/trunk/modules/muse-wsa-soap/src/org/apache/muse/ws/addressing/soap/SimpleSoapClient.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsa-soap/src/org/apache/muse/ws/addressing/soap/SimpleSoapClient.java?view=diff&rev=528622&r1=528621&r2=528622
==============================================================================
--- webservices/muse/trunk/modules/muse-wsa-soap/src/org/apache/muse/ws/addressing/soap/SimpleSoapClient.java (original)
+++ webservices/muse/trunk/modules/muse-wsa-soap/src/org/apache/muse/ws/addressing/soap/SimpleSoapClient.java Fri Apr 13 12:37:32 2007
@@ -244,7 +244,7 @@
         // create the request message and turn it into bytes
         //
         Element soapRequest = createMessage(src, dest, wsaAction, body, extraHeaders);
-        byte[] soapBytes = XmlUtils.toString(soapRequest).getBytes();
+        byte[] soapBytes = XmlUtils.toString(soapRequest, false, false).getBytes();
         
         if (isUsingTrace())
             trace(soapRequest, false);



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org