axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katherine Sanders (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AXIS2-4872) Incorrect default fault action when other fault actions are overidden in the @Action annotation
Date Fri, 05 Nov 2010 15:38:47 GMT

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

Katherine Sanders closed AXIS2-4872.
------------------------------------


> 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


Mime
View raw message