axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
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 GMT
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


Mime
View raw message