cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [1/2] 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, 09 Oct 2015 16:45:18 GMT
Repository: cxf
Updated Branches:
  refs/heads/master f2daa2f1c -> b25170121


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

Branch: refs/heads/master
Commit: aa770584d5877ec39593b540864a1b1514290f91
Parents: 55eb0b9
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Oct 9 17:44:50 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Oct 9 17:44:50 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/aa770584/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 ba5620b..33c4d42 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);
             }


Mime
View raw message