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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/10/18 10:52:51 UTC

[jira] Resolved: (AXIS2-1831) There is a bug in generated stub, it can not get AxisFault detail or reason when server side respond with an envelope that has fault string and fault detail

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

Amila Chinthaka Suriarachchi resolved AXIS2-1831.
-------------------------------------------------

    Resolution: Fixed

I tested this and works fine. 
here when throwing the exception you have to set the fault element. like this,
FaultMessage faultMessage = new FaultMessage("test fault message");
        FaultElement faultElement = new FaultElement();
        faultElement.setParam("test param");
        faultMessage.setFaultMessage(faultElement);
        throw faultMessage;

> There is a bug in generated stub, it can not get AxisFault detail or reason when server side respond with an envelope that has fault string and fault detail
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1831
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1831
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: window
>            Reporter: Na Wang
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Critical
>
> There is a bug in generated stub, when server send a fault SOAP envelope, the generated sub couldn't get the AxisFault detail and reason, it only get the faultString. So AXIS2 client has no way of knowing the server side fault detail or reason.

-- 
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