axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r552395 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
Date Mon, 02 Jul 2007 04:03:17 GMT
Author: dims
Date: Sun Jul  1 21:03:16 2007
New Revision: 552395

URL: http://svn.apache.org/viewvc?view=rev&rev=552395
Log:
Pretty print the dynamic wsdl too

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java?view=diff&rev=552395&r1=552394&r2=552395
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
Sun Jul  1 21:03:16 2007
@@ -51,6 +51,7 @@
 import org.apache.axis2.transport.http.server.HttpUtils;
 import org.apache.axis2.util.Loader;
 import org.apache.axis2.util.XMLUtils;
+import org.apache.axis2.util.XMLPrettyPrinter;
 import org.apache.axis2.wsdl.WSDLConstants;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -972,7 +973,7 @@
         if (result != null && result.length > 0) {
             wsdlElement = (OMElement) (result[0].getData());
             try {
-                wsdlElement.serialize(out);
+                XMLPrettyPrinter.prettify(wsdlElement, out);
                 out.flush();
                 out.close();
             } catch (Exception e) {



---------------------------------------------------------------------
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