Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes f72da13cb -> a25efba08


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

Branch: refs/heads/2.7.x-fixes
Commit: a25efba08960f2cbbe4be209bf7b1b3d8543c55b
Parents: f72da13
Author: Akitoshi Yoshida <[email protected]>
Authored: Thu Jun 26 21:54:15 2014 +0200
Committer: Akitoshi Yoshida <[email protected]>
Committed: Thu Jun 26 21:55:24 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/a25efba0/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 8ec9949..fafd0a9 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",

Reply via email to