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 "Jarek Gawor (JIRA)" <ji...@apache.org> on 2007/06/27 06:42:25 UTC

[jira] Resolved: (AXIS2-2859) SAAJ - set default fault code and faul string for the addFault method

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

Jarek Gawor resolved AXIS2-2859.
--------------------------------

    Resolution: Fixed

Patch committed (with minor changes to get all the test passing). Some existing tests had to be updated accordingly. I also added a new test case to test for fault defaults. Committed revision 551037.


> SAAJ - set default fault code and faul string for the addFault method
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-2859
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2859
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: nightly
>            Reporter: Lin Sun
>            Assignee: Jarek Gawor
>             Fix For: nightly
>
>         Attachments: AXIS2-2859.patch
>
>
> as titled.  This is needed, as fault code and fault string are required for SOAPFault.  With the current code, if the code has 
> SOAPBody.addFault();
> SOAPFault.setFaultCode(stringFaultCode);
> It can end up without any fault code or fault string set if a SOAPException is thrown at setFaultCode(stringFaultCode).  

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org