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 di...@apache.org on 2003/04/14 14:22:15 UTC

cvs commit: xml-axis/java/src/org/apache/axis/transport/http AxisServlet.java

dims        2003/04/14 05:22:15

  Modified:    java/src/org/apache/axis/transport/http AxisServlet.java
  Log:
  Fix for Bug 18802 - Codepage problem with GET requests on z/OS
  reported by erj@bankdata.dk (Erling J�rgensen)
  
  Revision  Changes    Path
  1.160     +3 -3      xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java
  
  Index: AxisServlet.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java,v
  retrieving revision 1.159
  retrieving revision 1.160
  diff -u -r1.159 -r1.160
  --- AxisServlet.java	29 Mar 2003 22:40:25 -0000	1.159
  +++ AxisServlet.java	14 Apr 2003 12:22:14 -0000	1.160
  @@ -533,11 +533,11 @@
               "<SOAP-ENV:Body>" + body + "</SOAP-ENV:Body>" +
               "</SOAP-ENV:Envelope>";
   
  -        ByteArrayInputStream istream =
  -            new ByteArrayInputStream(msgtxt.getBytes());
  -
           Message responseMsg=null;
           try {
  +            ByteArrayInputStream istream =
  +                new ByteArrayInputStream(msgtxt.getBytes(XMLUtils.charEncoding));
  +
               AxisEngine engine = getEngine();
               Message msg = new Message(istream, false);
               msgContext.setRequestMessage(msg);