cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject git commit: [CXF-5753, CXF-5811] More attempts to get the child namespaces "correct" with various SAAJ versions
Date Tue, 17 Jun 2014 16:24:40 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 4d02e15ac -> 1a04b1c6a


[CXF-5753, CXF-5811] More attempts to get the child namespaces "correct" with various SAAJ
versions


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/1a04b1c6
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/1a04b1c6
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/1a04b1c6

Branch: refs/heads/2.7.x-fixes
Commit: 1a04b1c6a706cc4b6c2992cfa3be33e4a450b2ae
Parents: 4d02e15
Author: Daniel Kulp <dkulp@apache.org>
Authored: Tue Jun 17 12:03:36 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Tue Jun 17 12:24:31 2014 -0400

----------------------------------------------------------------------
 .../java/org/apache/cxf/binding/soap/saaj/SAAJStreamWriter.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/1a04b1c6/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/saaj/SAAJStreamWriter.java
----------------------------------------------------------------------
diff --git a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/saaj/SAAJStreamWriter.java
b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/saaj/SAAJStreamWriter.java
index 4a30ed3..f96a14d 100644
--- a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/saaj/SAAJStreamWriter.java
+++ b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/saaj/SAAJStreamWriter.java
@@ -156,9 +156,9 @@ public final class SAAJStreamWriter extends OverlayW3CDOMStreamWriter
{
             try {
                 Element el = null;
                 if (StringUtils.isEmpty(pfx) && StringUtils.isEmpty(ns)) {
-                    el = ((SOAPElement)cur).addChildElement(new QName(local));
+                    el = ((SOAPElement)cur).addChildElement(local, "", "");
                 } else {
-                    el = ((SOAPElement)cur).addChildElement(new QName(ns, local, pfx == null
? "" : pfx));
+                    el = ((SOAPElement)cur).addChildElement(local, pfx == null ? "" : pfx,
ns);
                 }
                 cur.removeChild(el);
                 return el;


Mime
View raw message