WS-PolicyAttachment support for Java First services
---------------------------------------------------
Key: CXF-2281
URL: https://issues.apache.org/jira/browse/CXF-2281
Project: CXF
Issue Type: New Feature
Components: WS-* Components
Affects Versions: 2.2.2
Reporter: Dominic Harries
Fix For: 2.2.3, 2.3
Attachments: Policy_Attachment.patch
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.