Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 16714 invoked from network); 22 Jan 2007 21:32:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2007 21:32:39 -0000 Received: (qmail 60101 invoked by uid 500); 22 Jan 2007 21:32:44 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 59843 invoked by uid 500); 22 Jan 2007 21:32:42 -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 59832 invoked by uid 500); 22 Jan 2007 21:32:42 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 59829 invoked by uid 99); 22 Jan 2007 21:32:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2007 13:32:42 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2007 13:32:35 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 3A9C31A981A; Mon, 22 Jan 2007 13:31:29 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r498817 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/SourceBlockImpl.java Date: Mon, 22 Jan 2007 21:31:29 -0000 To: axis2-cvs@ws.apache.org From: scheu@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070122213129.3A9C31A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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