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 de...@apache.org on 2005/07/05 06:52:17 UTC

svn commit: r209217 - /webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java

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