You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dominic Harries (JIRA)" <ji...@apache.org> on 2009/06/11 16:57:07 UTC

[jira] Created: (CXF-2281) WS-PolicyAttachment support for Java First services

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.


[jira] Updated: (CXF-2281) WS-PolicyAttachment support for Java First services

Posted by "Dominic Harries (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominic Harries updated CXF-2281:
---------------------------------

    Attachment: Policy_Attachment.patch

> 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.


[jira] Resolved: (CXF-2281) WS-PolicyAttachment support for Java First services

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2281.
------------------------------

    Resolution: Fixed
      Assignee: Daniel Kulp


I've applied the patch with just a couple minor alterations to use our own DOM XMLStreamWriter thing.   Also added the NOTICE file things and such.

I'm marking this resolved, but it would definitely be good to get a test or something that shows it working.

> 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
>            Assignee: Daniel Kulp
>             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.