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 95F5118DC1 for ; Fri, 9 Oct 2015 16:46:37 +0000 (UTC) Received: (qmail 11573 invoked by uid 500); 9 Oct 2015 16:46:15 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 11505 invoked by uid 500); 9 Oct 2015 16:46:15 -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 11496 invoked by uid 99); 9 Oct 2015 16:46:15 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2015 16:46:15 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 57683DFD7A; Fri, 9 Oct 2015 16:46:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: Add MIME types for FastInfoset encoded XML sent via SOAP-JMS, patch from rhstone applied with thanks, This closes #94 Date: Fri, 9 Oct 2015 16:46:15 +0000 (UTC) Repository: cxf Updated Branches: refs/heads/3.0.x-fixes 7ff95e0bc -> 42abee389 Add MIME types for FastInfoset encoded XML sent via SOAP-JMS, patch from rhstone applied with thanks, This closes #94 Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/42abee38 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/42abee38 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/42abee38 Branch: refs/heads/3.0.x-fixes Commit: 42abee389dea208a02ee31f065f481b73e70d57d Parents: 7ff95e0 Author: Sergey Beryozkin Authored: Fri Oct 9 17:44:50 2015 +0100 Committer: Sergey Beryozkin Committed: Fri Oct 9 17:45:59 2015 +0100 ---------------------------------------------------------------------- .../cxf/binding/soap/jms/interceptor/SoapJMSInInterceptor.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/42abee38/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/jms/interceptor/SoapJMSInInterceptor.java ---------------------------------------------------------------------- diff --git a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/jms/interceptor/SoapJMSInInterceptor.java b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/jms/interceptor/SoapJMSInInterceptor.java index 9c32970..fabdc70 100644 --- a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/jms/interceptor/SoapJMSInInterceptor.java +++ b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/jms/interceptor/SoapJMSInInterceptor.java @@ -181,6 +181,8 @@ public class SoapJMSInInterceptor extends AbstractSoapInterceptor { String contentType = ct.get(0); if (!contentType.startsWith("text/xml") && !contentType.startsWith("application/soap+xml") + && !contentType.startsWith("application/fastinfoset") + && !contentType.startsWith("application/soap+fastinfoset") && !contentType.startsWith("multipart/related")) { jmsFault = JMSFaultFactory.createContentTypeMismatchFault(contentType); }