cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r903679 - /cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java
Date Wed, 27 Jan 2010 15:26:50 GMT
Author: dkulp
Date: Wed Jan 27 15:26:49 2010
New Revision: 903679

URL: http://svn.apache.org/viewvc?rev=903679&view=rev
Log:
[CXF-2629] Fix WS-Addressing Action on response is not being returned as
specified in the WSDL.

Patch from Rebecca Duhard applied

Modified:
    cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java

Modified: cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java?rev=903679&r1=903678&r2=903679&view=diff
==============================================================================
--- cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java (original)
+++ cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java Wed
Jan 27 15:26:49 2010
@@ -32,7 +32,6 @@
 
 import org.apache.cxf.Bus;
 import org.apache.cxf.binding.soap.SoapBindingConstants;
-import org.apache.cxf.binding.soap.model.SoapOperationInfo;
 import org.apache.cxf.common.logging.LogUtils;
 import org.apache.cxf.endpoint.ConduitSelector;
 import org.apache.cxf.endpoint.Endpoint;
@@ -729,14 +728,7 @@
             }
             if (fault == null) {
                 action = (String) message.get(SoapBindingConstants.SOAP_ACTION);
-                if (action == null) {
-                    SoapOperationInfo soi = 
-                        bindingOpInfo.getExtensor(SoapOperationInfo.class);
-                    if (null != soi) {
-                        action = soi.getAction();
-                    }
-
-                }
+               
                 if (action == null || "".equals(action)) {
                     MessageInfo msgInfo = 
                         ContextUtils.isRequestor(message)



Mime
View raw message