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 "Eran Chinthaka (JIRA)" <ji...@apache.org> on 2006/11/14 14:17:39 UTC
[jira] Assigned: (AXIS2-1703) null AxisFault reason
[ http://issues.apache.org/jira/browse/AXIS2-1703?page=all ]
Eran Chinthaka reassigned AXIS2-1703:
-------------------------------------
Assignee: Eran Chinthaka
> null AxisFault reason
> ---------------------
>
> Key: AXIS2-1703
> URL: http://issues.apache.org/jira/browse/AXIS2-1703
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel
> Affects Versions: nightly
> Reporter: Gul Onural
> Assigned To: Eran Chinthaka
>
> Hi Gul,
> Can you please create a JIRA issue from this and assigned to me. Will fix this after 1.1
> Thanks,
> Chinthaka
> Gul Onural wrote:
>
> 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 AxisFault).
> Any ideas why reason is null ?
>
> Fault Code : { http://ws.apache.org/namespaces/axis2}myQname
> <http://ws.apache.org/namespaces/axis2}myQname>
> Message : myFaultReason
> Reason : null
> FaultNode : null
> Cause : null
> Role : null
>
> Soap Message :
> ============
> <?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header />
> <soapenv:Body>
> <soapenv:Fault xmlns:axis2="http://ws.apache.org/namespaces/axis2">
> <faultcode>axis2:myQname</faultcode>
> <faultstring>myFaultReason</faultstring>
> <detail>
> ...
> </detail>
> </soapenv:Fault>
> </soapenv:Body>
> </soapenv:Envelope>
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org