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
Priority: Minor
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: [email protected]
For additional commands, e-mail: [email protected]