cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject git commit: [CXF-5827] Use only local name matching for inbound rpc/literal processing
Date Thu, 26 Jun 2014 20:11:12 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.6.x-fixes 3df773fdc -> 6af5dd43d


[CXF-5827] Use only local name matching for inbound rpc/literal processing


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

Branch: refs/heads/2.6.x-fixes
Commit: 6af5dd43d2aa810880fb03c890bf3f780bc73e7f
Parents: 3df773f
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Thu Jun 26 21:54:15 2014 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Thu Jun 26 22:05:04 2014 +0200

----------------------------------------------------------------------
 .../apache/cxf/binding/soap/interceptor/RPCInInterceptor.java   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/6af5dd43/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/RPCInInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/RPCInInterceptor.java
b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/RPCInInterceptor.java
index a5893c4..76e8b49 100644
--- a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/RPCInInterceptor.java
+++ b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/RPCInInterceptor.java
@@ -166,8 +166,9 @@ public class RPCInInterceptor extends AbstractInDatabindingInterceptor
{
                     && partItr.hasNext()) {
                     part = partItr.next();
                 }
-                
-                if (!qn.equals(part.getConcreteName())) {
+
+                // only check the localpart as explained above
+                if (!qn.getLocalPart().equals(part.getConcreteName().getLocalPart())) {
                     throw new Fault(
                                     new org.apache.cxf.common.i18n.Message(
                                                                            "UNKNOWN_RPC_LIT_PART",


Mime
View raw message