axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gul Onural" <>
Subject null AxisFault reason
Date Sun, 12 Nov 2006 02:49:37 GMT

I am using following AxisFault constructor in Axis2  :

public AxisFault(QName faultCode, String faultReason, String faultNode,
String faultRole, OMElement faultDetail);
And throwing AxisFault with following code on the Server side :

throw new AxisFault(new QName("myQname"), "myFaultReason",
                    "myFaultNode", "myFaultRole", response);

On the client side reason seems to be NULL (printing using getReason on
Any ideas why reason is null ?

Fault Code : {}myQname
Message : myFaultReason
Reason : null
FaultNode : null
Cause : null
Role : null

Soap Message :
<?xml version='1.0' encoding='utf-8'?>
  <soapenv:Header />
    <soapenv:Fault xmlns:axis2="">

View raw message