Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2798

WS-addressing action not picked up on wrapped style operations

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.2.8
    • Component/s: WS-* Components
    • Labels:
      None
    • Estimated Complexity:
      Moderate

      Description

      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(); }

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              rthunbo Rolf Thunbo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: