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 sc...@apache.org on 2007/01/22 22:31:29 UTC
svn commit: r498817 -
/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/SourceBlockImpl.java
Author: scheu
Date: Mon Jan 22 13:31:28 2007
New Revision: 498817
URL: http://svn.apache.org/viewvc?view=rev&rev=498817
Log:
AXIS2-2014
Contributor:Rich Scheuerle
Use Transformer to get an XMLStreamReader from a DOMSource
Modified:
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/SourceBlockImpl.java
Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/SourceBlockImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/SourceBlockImpl.java?view=diff&rev=498817&r1=498816&r2=498817
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/SourceBlockImpl.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/SourceBlockImpl.java Mon Jan 22 13:31:28 2007
@@ -138,6 +138,7 @@
protected XMLStreamReader _getReaderFromBO(Object busObj, Object busContext) throws XMLStreamException, WebServiceException {
try {
// TODO not sure if this is always the most performant way to do this.
+ /* The following code failed in some (CTS) environments.
if (busObj instanceof DOMSource) {
// Let's use our own DOMReader for now...
Element element = null;
@@ -158,6 +159,7 @@
return new DOMReader(element);
}
+ */
if(busObj instanceof StreamSource){
XMLInputFactory f = StAXUtils.getXMLInputFactory();
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org