Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 68226 invoked from network); 2 Jun 2006 19:19:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jun 2006 19:19:29 -0000 Received: (qmail 38825 invoked by uid 500); 2 Jun 2006 19:19:28 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 38745 invoked by uid 500); 2 Jun 2006 19:19:27 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 38734 invoked by uid 500); 2 Jun 2006 19:19:27 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 38731 invoked by uid 99); 2 Jun 2006 19:19:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 12:19:27 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 12:19:26 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id A67261A983A; Fri, 2 Jun 2006 12:19:06 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r411256 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/util/RESTUtil.java Date: Fri, 02 Jun 2006 19:19:06 -0000 To: axis2-cvs@ws.apache.org From: dims@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060602191906.A67261A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: dims Date: Fri Jun 2 12:19:05 2006 New Revision: 411256 URL: http://svn.apache.org/viewvc?rev=411256&view=rev Log: Fix for AXIS2-790 - Request to log which XMLStreamReader/Writer is used Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/util/RESTUtil.java Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/util/RESTUtil.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/util/RESTUtil.java?rev=411256&r1=411255&r2=411256&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/util/RESTUtil.java (original) +++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/util/RESTUtil.java Fri Jun 2 12:19:05 2006 @@ -181,11 +181,8 @@ // If charset is not specified XMLStreamReader xmlreader; if (TransportUtils.getCharSetEncoding(contentType) == null) { - xmlreader = XMLInputFactory. - newInstance(). - createXMLStreamReader(inputStream, - MessageContext.DEFAULT_CHAR_SET_ENCODING); - + xmlreader = StAXUtils.createXMLStreamReader(inputStream, MessageContext.DEFAULT_CHAR_SET_ENCODING); + // Set the encoding scheme in the message context msgCtxt.setProperty(MessageContext.CHARACTER_SET_ENCODING, MessageContext.DEFAULT_CHAR_SET_ENCODING); --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org