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 "Srinath Perera (JIRA)" <ji...@apache.org> on 2005/06/27 05:59:57 UTC

[jira] Created: (AXIS2-44) Axis2 fault Handling need to be improved

Axis2 fault Handling need to be improved
----------------------------------------

         Key: AXIS2-44
         URL: http://issues.apache.org/jira/browse/AXIS2-44
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: core  
    Reporter: Srinath Perera
 Assigned to: Eran Chinthaka 


e.g. Only fault detail is set at the SOAP Fault send back by Axis2, (SOAP 1.1) fault code, fault string, fault actor/ (SOAP 1.2) Code, Reason, Actor  are not set correctly. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS2-44) Axis2 fault Handling need to be improved

Posted by "Srinath Perera (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-44?page=all ]
     
Srinath Perera resolved AXIS2-44:
---------------------------------

    Resolution: Fixed

Fixed, thanks Eran

> Axis2 fault Handling need to be improved
> ----------------------------------------
>
>          Key: AXIS2-44
>          URL: http://issues.apache.org/jira/browse/AXIS2-44
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: core
>     Reporter: Srinath Perera
>     Assignee: Eran Chinthaka

>
> e.g. Only fault detail is set at the SOAP Fault send back by Axis2, (SOAP 1.1) fault code, fault string, fault actor/ (SOAP 1.2) Code, Reason, Actor  are not set correctly. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS2-44) Axis2 fault Handling need to be improved

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-44?page=comments#action_12314732 ] 

Eran Chinthaka commented on AXIS2-44:
-------------------------------------


These are things that has to be done by the Fault initiator within Axis2 engine;
  1. create SOAPFaultCode (mandatory), SOAPFaultReason(manadatory), SOAPFaultNode(optional), SOAPFaultRole(optional), SOAPFaultDetail(optional) using the correct soap factory. Those must be set to the message context properties with keys as their respective SOAP 12 local names.
 2. throw an AxisFault, with stack trace or whatever information within that.

Depending on those information AxisEngine will extract information from the message context and the catched exception and will create the correct SOAP fault message.

> Axis2 fault Handling need to be improved
> ----------------------------------------
>
>          Key: AXIS2-44
>          URL: http://issues.apache.org/jira/browse/AXIS2-44
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: core
>     Reporter: Srinath Perera
>     Assignee: Eran Chinthaka

>
> e.g. Only fault detail is set at the SOAP Fault send back by Axis2, (SOAP 1.1) fault code, fault string, fault actor/ (SOAP 1.2) Code, Reason, Actor  are not set correctly. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira