Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.2
-
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.