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 ng...@apache.org on 2007/06/28 20:12:00 UTC
svn commit: r551645 -
/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/LogicalMessageImpl.java
Author: ngallardo
Date: Thu Jun 28 11:11:59 2007
New Revision: 551645
URL: http://svn.apache.org/viewvc?view=rev&rev=551645
Log:
Make the returned DOM namespace aware.
Modified:
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/LogicalMessageImpl.java
Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/LogicalMessageImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/LogicalMessageImpl.java?view=diff&rev=551645&r1=551644&r2=551645
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/LogicalMessageImpl.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/LogicalMessageImpl.java Thu Jun 28 11:11:59 2007
@@ -190,8 +190,9 @@
// multiple times and (as opposed to using a StreamSource) and
// they can more easily access the data in DOM form.
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+ dbf.setNamespaceAware(true);
+
DocumentBuilder db = dbf.newDocumentBuilder();
-
Document dom = db.parse(bais);
payloads.HANDLER_PAYLOAD = new DOMSource(dom);
} catch (ParserConfigurationException e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org