[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to