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

WS-PolicyAttachment support for Java First services

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.2.3, 2.3
    • WS-* Components
    • None

    Description

      This patch adds some support for WS-PolicyAttachment with Java First services. It supports policies defined in ExternalAttachmentProviders.

      For every PolicyAttachment in every ExternalAttachmentProvider, it:

      • adds the policy to the ServiceInfo (the top level of the WSDL)
      • adds policy references to all the binding operations that the policy applies to,
      • also adds policy references to the interface (portType) operations - this mirrors Wsdl11XPointerDomainExpression where the two are considered equivalent.

      The patch builds cleanly against 2.2.2 and the latest trunk, with the exception of a checkstyle error for our copyright header.

      While the two patches that this depends on are hopefully ready to be integrated into CXF, the solution presented here may not be the cleanest approach to implementing this functionality.

      If you do decide to integrate it, please include this assertion in the NOTICE file:

      This product includes software Copyright University of Southampton IT Innovation Centre, 2009 (http://www.it-innovation.soton.ac.uk).

      Please also include "from University of Southampton IT Innovation Centre" in the change log.

      Attachments

        1. Policy_Attachment.patch
          7 kB
          Dominic Harries

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              dph Dominic Harries
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: