axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [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
Date Thu, 18 Oct 2007 08:52:51 GMT

     [ 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


Mime
View raw message