axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r209217 - /webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java
Date Tue, 05 Jul 2005 04:52:17 GMT
Author: deepal
Date: Mon Jul  4 21:52:16 2005
New Revision: 209217

URL: http://svn.apache.org/viewcvs?rev=209217&view=rev
Log:
with ?wsdl there was a problem in IE so I fixed that

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java?rev=209217&r1=209216&r2=209217&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java
Mon Jul  4 21:52:16 2005
@@ -381,14 +381,14 @@
             if (serviceObj != null) {
                 if(wsdl != null){
                     // StringWriter writer = new StringWriter();
-                    res.setContentType("xml");
+                    res.setContentType("text/xml");
                     PrintWriter out_writer = new PrintWriter(out);
                     ((ServiceDescription)serviceObj).printWSDL(out_writer,filePart);
                     //  String wsdl_value = writer.toString().trim() ;
                     //  if(wsdl_value == null || wsdl_value.trim().equals("")){
                     //      wsdl_value = "WSDL is not available!!!";
                     // }
-                    
+
                     // req.getSession().setAttribute(Constants.WSDL_CONTENT, wsdl_value);
                     // PrintWriter out_writer = new PrintWriter(out);
                     //  System.out.println("wsdl_value = " + wsdl_value);



Mime
View raw message