You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2010/11/05 15:36:47 UTC

[jira] Resolved: (AXIS2-4872) Incorrect default fault action when other fault actions are overidden in the @Action annotation

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

Rich Scheuerle resolved AXIS2-4872.
-----------------------------------

    Resolution: Fixed

Committed revision 1031588.


> Incorrect default fault action when other fault actions are overidden in the @Action annotation
> -----------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4872
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4872
>             Project: Axis2
>          Issue Type: Bug
>          Components: Addressing
>            Reporter: Katherine Sanders
>            Assignee: Rich Scheuerle
>            Priority: Minor
>         Attachments: AXIS2-4872.patch
>
>
> When a method can throw multiple faults, but only some of those faults have custom actions that are set using the @Action and @FaultAction annotations, the other faults have incorrect default fault actions because the Exception class name is the empty string.
> E.g.
> @Action(
>         fault={
>             @FaultAction(className=TooBigNumbersException.class, value="http://fault5/toobignumbers")
>         })
>     public int addNumbersFault5(int number1, int number2) throws AddNumbersException, TooBigNumbersException {
>         // throw AddNumbersException
>     }
> Expected:<tns>/<class>/addNumbersFault5/Fault/AddNumbersException, 
> Actual:<tns>/<class>/addNumbersFault5/Fault/
> This is similar to the issue in AXIS2-4839, which was using the wrong faultAction when the value="" in the @FaultAction annotation.  This issue was also found during CTS testing for jaxws22.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org