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

Automatic WS-Policy computation should be possible on Dispatch clients without setting operation manually

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      If a WSDL contains a WS-Policy with separate policies on the Operation message elements, CXF should compute the correct policy for Dispatch clients by looking at the message content. It already does this to determine the operation so it can compute the correct WS-Addressing values, if the Dispatch developer does the following:

      disp.getRequestContext().put("find.dispatch.operation", Boolean.TRUE);
      

      So we're already doing that work. It's a one line fix to update the operation at that time, so that the WS-Policy computation engine can read the correct operation and use that to get the right set of policies from the WSDL to mix together. I will supply that patch after submitting this issue for it.

      Attachments

        1. DispatchImpl.java.patch
          0.6 kB
          Jesse Pangburn

        Activity

          People

            dkulp Daniel Kulp
            jpangburn Jesse Pangburn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: