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 19:54:29 GMT
Repository: cxf
Updated Branches:
  refs/heads/master cd058a977 -> bf8247f86


[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/bf8247f8
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/bf8247f8
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/bf8247f8

Branch: refs/heads/master
Commit: bf8247f8640c59b6647e2dde0c5a142624afdd24
Parents: cd058a9
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 21:54:15 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/bf8247f8/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 cd16a9c..37120a8 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
@@ -164,8 +164,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