You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Charak, Vikas" <vi...@cns-inc.com> on 2006/08/28 20:57:09 UTC

[Axis2] What is ths use of addReson method of AxisFault

Hi,

If I use addReason method of Axis2Fault what does it do? Or which
element of SoapFault does it set? I am not sure if there is any matching
element in SoapFault of WS-I profile.


Thanks.
Vikas


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] What is ths use of addReson method of AxisFault

Posted by Anne Thomas Manes <at...@gmail.com>.
If you are using SOAP 1.2, it will set the value of the
<soap12:Reason> element (a required child of <soap12:Fault>). If you
are using SOAP 1.1, it will set the value of the <faultstring> element
(a required child of <soap11:Fault>). <soap12:Reason> element is the
equivalent of the SOAP 1.1 <faultstring> element. Axis2 uses
terminology from SOAP 1.2 rather than SOAP 1.1 (See
http://www.w3.org/TR/soap12-part1/#soapfault).

Anne

On 8/28/06, Charak, Vikas <vi...@cns-inc.com> wrote:
> Hi,
>
> If I use addReason method of Axis2Fault what does it do? Or which
> element of SoapFault does it set? I am not sure if there is any matching
> element in SoapFault of WS-I profile.
>
>
> Thanks.
> Vikas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org