You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2016/01/07 07:24:36 UTC

[1/2] cxf git commit: CXF-6732 Allow SOAPAction to be overwritten via RequestContext property

Repository: cxf
Updated Branches:
  refs/heads/master 95d721afa -> 80018b74a


CXF-6732 Allow SOAPAction to be overwritten via RequestContext property


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/b874e11b
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b874e11b
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b874e11b

Branch: refs/heads/master
Commit: b874e11bf2a73eb39346a22d45b8b9ca38cbf208
Parents: 19b53fc
Author: Tomohisa Igarashi <tm...@gmail.com>
Authored: Wed Jan 6 16:19:41 2016 +0900
Committer: Tomohisa Igarashi <tm...@gmail.com>
Committed: Wed Jan 6 16:19:41 2016 +0900

----------------------------------------------------------------------
 .../binding/soap/interceptor/SoapPreProtocolOutInterceptor.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/b874e11b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapPreProtocolOutInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapPreProtocolOutInterceptor.java b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapPreProtocolOutInterceptor.java
index eba5bfe..62946ca 100644
--- a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapPreProtocolOutInterceptor.java
+++ b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapPreProtocolOutInterceptor.java
@@ -118,9 +118,7 @@ public class SoapPreProtocolOutInterceptor extends AbstractSoapInterceptor {
                 message.put(Message.PROTOCOL_HEADERS, reqHeaders);
             }
             
-            if (!reqHeaders.containsKey(SoapBindingConstants.SOAP_ACTION)) {            
-                reqHeaders.put(SoapBindingConstants.SOAP_ACTION, Collections.singletonList(action));
-            }
+            reqHeaders.put(SoapBindingConstants.SOAP_ACTION, Collections.singletonList(action));
         } else if (message.getVersion() instanceof Soap12 && !"\"\"".equals(action)) {
             String ct = (String) message.get(Message.CONTENT_TYPE);
             


[2/2] cxf git commit: Merge branch 'CXF-6732' of https://github.com/igarashitm/cxf

Posted by ff...@apache.org.
Merge branch 'CXF-6732' of https://github.com/igarashitm/cxf


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/80018b74
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/80018b74
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/80018b74

Branch: refs/heads/master
Commit: 80018b74a49dcbf519604fc09249efd40c225d1b
Parents: 95d721a b874e11
Author: Freeman Fang <fr...@gmail.com>
Authored: Thu Jan 7 14:06:13 2016 +0800
Committer: Freeman Fang <fr...@gmail.com>
Committed: Thu Jan 7 14:06:13 2016 +0800

----------------------------------------------------------------------
 .../binding/soap/interceptor/SoapPreProtocolOutInterceptor.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------