Hi David,
There is a sample included in Axis2 binary distribution which demonstrates fault handling. You can find it in AXIS2_HOME\samples\faulthandling (AXIS2_HOME is the directoiry where you unzipped axis2 binary distro)

regards
Charitha

http://charithaka.blogspot.com

David wrote:

hi,

I was using Axis 1 to make my webservices but now I'm trying Axis 2, and I don't know how to manage my errors, for sample I was using AxisFault exception in Axis 1 to answer that I couldn't execute normally the service, and instead of sending a normal xml response I was answering :

Code:
<soapenv:Fault>
    <faultcode>01</faultcode>
    <faultstring>Not working</faultstring>
    <detail>
        <PARAM1>3</PARAM1>
        <PARAM2>hello</PARAM2>
    </detail>
</soapenv:Fault>

How can I do it in Axis2 architecture ?

thx

------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG. Version: 7.5.524 / Virus Database: 270.4.6/1539 - Release Date: 7/7/2008 6:35 PM


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

Reply via email to