Thanks for the info.
I was expecting it to set <faultstring> as well. But when I used
addReason() to set the value of fault string and looked at the XML out
put at client side, it did not set faulstring. And what I found is that
only new AxisFault(faultrsing) is setting the faultstring value. I am
using Aug-21-06 nightly build.


-----Original Message-----
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 6:51 PM
To: [email protected]
Subject: Re: [Axis2] What is ths use of addReson method of AxisFault

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to