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

WS-addressing action not picked up on wrapped style operations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.2.8
    • WS-* Components
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: