You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/10/10 10:39:53 UTC

svn commit: r312586 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java

Author: saminda
Date: Mon Oct 10 01:39:48 2005
New Revision: 312586

URL: http://svn.apache.org/viewcvs?rev=312586&view=rev
Log:
Modified to get the value of charset encoding rather the header itself 

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

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java?rev=312586&r1=312585&r2=312586&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java Mon Oct 10 01:39:48 2005
@@ -688,7 +688,7 @@
                     msgContext
                             .setProperty(
                                     MessageContext.CHARACTER_SET_ENCODING,
-                                    charsetEnc);
+                                    charsetEnc.getValue());  //change to the value, which is text/xml or application/xml+soap
                 }
             }
         }