You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jan Martiska (JIRA)" <ji...@apache.org> on 2013/01/16 09:46:13 UTC

[jira] [Updated] (CXF-4756) Introduce @FaultAction annotation to specify WSA Action for Faults

     [ https://issues.apache.org/jira/browse/CXF-4756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Martiska updated CXF-4756:
------------------------------

    Attachment: cxf-4756.patch

patch that should work with the latest 2.8.0 snapshot
                
> Introduce @FaultAction annotation to specify WSA Action for Faults
> ------------------------------------------------------------------
>
>                 Key: CXF-4756
>                 URL: https://issues.apache.org/jira/browse/CXF-4756
>             Project: CXF
>          Issue Type: New Feature
>          Components: WS-* Components
>            Reporter: Jan Martiska
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: cxf-4756.patch
>
>
> There is currently no simple way to set a WS-Addressing Action corresponding to a thrown Fault. Fault is an unchecked exception, thus it is not mapped into WSDL and ignored by @javax.xml.ws.Action annotation in Web Service definition. This feature introduces a CXF-specific annotation @org.apache.cxf.ws.addressing.impl.FaultAction which, when applied on an exception type, sets the WSA Action that should be applied after this exception is thrown by a WS-Addressing-enabled web service.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira