WS-addressing action not picked up on wrapped style operations
--------------------------------------------------------------

                 Key: CXF-2798
                 URL: https://issues.apache.org/jira/browse/CXF-2798
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 2.3
            Reporter: Rolf Thunbo


When ws-addressing is used with a wrapped operation, the action specified in 
@WebMethod is not picked up.

bindingOpInfo.getExtensor(SoapOperationInfo.class) returns null in line 792 in 
org.apache.cxf.ws.addressing.ContextUtils and therefore the action becomes 
null. 

It seems to work if the following lines (774-776):
            if (bindingOpInfo.isUnwrappedCapable()) {
                bindingOpInfo = bindingOpInfo.getUnwrappedOperation();
            }
is replaced by
            if (bindingOpInfo.isUnwrapped()) {
                bindingOpInfo = bindingOpInfo.getWrappedOperation();
            }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to