You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ch...@apache.org on 2006/02/09 06:49:24 UTC
svn commit: r376195 - in /webservices/commons/modules/axiom: ./
src/org/apache/ws/commons/om/impl/llom/
src/org/apache/ws/commons/soap/impl/llom/
Author: chinthaka
Date: Wed Feb 8 21:49:22 2006
New Revision: 376195
URL: http://svn.apache.org/viewcvs?rev=376195&view=rev
Log:
- switching stax parser to RI due to a bug in woodstox in serializing ns qualified elements
- removing the soap namespace we put for Exception element under FaultDetail
Modified:
webservices/commons/modules/axiom/project.properties
webservices/commons/modules/axiom/src/org/apache/ws/commons/om/impl/llom/OMElementImpl.java
webservices/commons/modules/axiom/src/org/apache/ws/commons/om/impl/llom/OMSerializerUtil.java
webservices/commons/modules/axiom/src/org/apache/ws/commons/soap/impl/llom/SOAPFaultImpl.java
Modified: webservices/commons/modules/axiom/project.properties
URL: http://svn.apache.org/viewcvs/webservices/commons/modules/axiom/project.properties?rev=376195&r1=376194&r2=376195&view=diff
==============================================================================
--- webservices/commons/modules/axiom/project.properties (original)
+++ webservices/commons/modules/axiom/project.properties Wed Feb 8 21:49:22 2006
@@ -56,14 +56,14 @@
junit.version=3.8.1
log4j.version=1.2.12
stax.api.version=1.0
-stax.impl.groupid=woodstox
-stax.impl.artifactid=wstx
-stax.impl.version=asl-2.8.1
+#stax.impl.groupid=woodstox
+#stax.impl.artifactid=wstx
+#stax.impl.version=asl-2.8.1
xmlunit.version=1.0
-#stax.impl.groupid=stax
-#stax.impl.artifactid=stax
-#stax.impl.version=1.1.2-dev
+stax.impl.groupid=stax
+stax.impl.artifactid=stax
+stax.impl.version=1.1.2-dev
# -------------------------------------------------------------------
# xdoc
Modified: webservices/commons/modules/axiom/src/org/apache/ws/commons/om/impl/llom/OMElementImpl.java
URL: http://svn.apache.org/viewcvs/webservices/commons/modules/axiom/src/org/apache/ws/commons/om/impl/llom/OMElementImpl.java?rev=376195&r1=376194&r2=376195&view=diff
==============================================================================
--- webservices/commons/modules/axiom/src/org/apache/ws/commons/om/impl/llom/OMElementImpl.java (original)
+++ webservices/commons/modules/axiom/src/org/apache/ws/commons/om/impl/llom/OMElementImpl.java Wed Feb 8 21:49:22 2006
@@ -482,7 +482,7 @@
if (ns != null) {
namespace = findNamespace(ns.getName(), ns.getPrefix());
if (namespace == null) {
- throw new OMException("Given OMNamespace(" + ns.getName() +
+ throw new OMException("Given OMNamespace(" + ns.getName() + " " +
ns.getPrefix()
+ ") for "
+
Modified: webservices/commons/modules/axiom/src/org/apache/ws/commons/om/impl/llom/OMSerializerUtil.java
URL: http://svn.apache.org/viewcvs/webservices/commons/modules/axiom/src/org/apache/ws/commons/om/impl/llom/OMSerializerUtil.java?rev=376195&r1=376194&r2=376195&view=diff
==============================================================================
--- webservices/commons/modules/axiom/src/org/apache/ws/commons/om/impl/llom/OMSerializerUtil.java (original)
+++ webservices/commons/modules/axiom/src/org/apache/ws/commons/om/impl/llom/OMSerializerUtil.java Wed Feb 8 21:49:22 2006
@@ -123,6 +123,7 @@
nameSpaceName);
writer.writeNamespace(prefix, nameSpaceName);
writer.setPrefix(prefix, nameSpaceName);
+
}
} else {
writer.writeStartElement(element.getLocalName());
Modified: webservices/commons/modules/axiom/src/org/apache/ws/commons/soap/impl/llom/SOAPFaultImpl.java
URL: http://svn.apache.org/viewcvs/webservices/commons/modules/axiom/src/org/apache/ws/commons/soap/impl/llom/SOAPFaultImpl.java?rev=376195&r1=376194&r2=376195&view=diff
==============================================================================
--- webservices/commons/modules/axiom/src/org/apache/ws/commons/soap/impl/llom/SOAPFaultImpl.java (original)
+++ webservices/commons/modules/axiom/src/org/apache/ws/commons/soap/impl/llom/SOAPFaultImpl.java Wed Feb 8 21:49:22 2006
@@ -161,7 +161,7 @@
}
OMElement faultDetailEnty = new OMElementImpl(
SOAPConstants.SOAP_FAULT_DETAIL_EXCEPTION_ENTRY,
- this.getNamespace());
+ null);
faultDetailEnty.setText(sw.getBuffer().toString());
getDetail().addChild(faultDetailEnty);
}