cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject [1/2] cxf git commit: CXF-6732 Allow SOAPAction to be overwritten via RequestContext property
Date Thu, 07 Jan 2016 06:24:36 GMT
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.igarashi@gmail.com>
Authored: Wed Jan 6 16:19:41 2016 +0900
Committer: Tomohisa Igarashi <tm.igarashi@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);
             


Mime
View raw message