axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thil...@apache.org
Subject svn commit: r201646 - /webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp
Date Fri, 24 Jun 2005 16:45:00 GMT
Author: thilina
Date: Fri Jun 24 09:44:59 2005
New Revision: 201646

URL: http://svn.apache.org/viewcvs?rev=201646&view=rev
Log:
changes to HappyAxis.jsp due to the introduction of OMOutput

Modified:
    webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp

Modified: webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp?rev=201646&r1=201645&r2=201646&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp (original)
+++ webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp Fri Jun 24 09:44:59 2005
@@ -10,6 +10,7 @@
                  org.apache.axis.addressing.EndpointReference,
                  org.apache.axis.clientapi.Call,
                  org.apache.axis.om.*,
+                 org.apache.axis.om.impl.llom.OMOutput,
                  org.apache.axis.soap.SOAPBody,
                  org.apache.axis.soap.SOAPEnvelope,
                  org.apache.axis.soap.SOAPFactory,
@@ -344,7 +345,7 @@
             OMElement result =
                     (OMElement) call.invokeBlocking(operationName.getLocalPart(), payload);
             StringWriter writer = new StringWriter();
-            result.serializeWithCache(XMLOutputFactory.newInstance().createXMLStreamWriter(writer));
+            result.serializeWithCache(new OMOutput(XMLOutputFactory.newInstance().createXMLStreamWriter(writer)));
             writer.flush();
             value = writer.toString();
             return true;



Mime
View raw message