Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0006C110B1 for ; Thu, 26 Jun 2014 19:54:29 +0000 (UTC) Received: (qmail 28765 invoked by uid 500); 26 Jun 2014 19:54:29 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 28698 invoked by uid 500); 26 Jun 2014 19:54:29 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 28687 invoked by uid 99); 26 Jun 2014 19:54:29 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 19:54:29 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 8A22B8A0F6F; Thu, 26 Jun 2014 19:54:29 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ay@apache.org To: commits@cxf.apache.org Message-Id: <0488769dd4644885becacbb9401046fd@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [CXF-5827] Use only local name matching for inbound rpc/literal processing Date: Thu, 26 Jun 2014 19:54:29 +0000 (UTC) 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 Authored: Thu Jun 26 21:54:15 2014 +0200 Committer: Akitoshi Yoshida 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",