You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by th...@apache.org on 2005/06/24 18:45:00 UTC

svn commit: r201646 - /webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp

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;