axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robins...@apache.org
Subject svn commit: r556100 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java
Date Fri, 13 Jul 2007 18:51:03 GMT
Author: robinsona
Date: Fri Jul 13 11:51:02 2007
New Revision: 556100

URL: http://svn.apache.org/viewvc?view=rev&rev=556100
Log:
Make sure the XMLStreamWriter used during serialization gets closed

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java?view=diff&rev=556100&r1=556099&r2=556100
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java
Fri Jul 13 11:51:02 2007
@@ -2139,6 +2139,7 @@
                 ByteArrayOutputStream msgData = new ByteArrayOutputStream();
 
                 OMOutputFormat outputFormat = new OMOutputFormat();
+                outputFormat.setAutoCloseWriter(true);
 
                 outputFormat.setSOAP11(isSOAP11);
 



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


Mime
View raw message