Look into javadoc for AxisFault for details on how to set up faultstring and faultcode for your fault.
Hope this helps.
Asif
-----Original Message-----
From: Ransel Lopez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 5:07 PM
To: [EMAIL PROTECTED]
Subject: Building custom faults in Java...Hi, everybody
I am a starter with SOAP.
My problem is that I want to modify what I get in the client side when an exception
is raised. I want to get my own faultcode, my own faultstring and some other
information in the detail. Can anyone explain what should I do?? Some examples are
going to help, for sure.
I have my own exceptions and I want to modify the standard xml soapfaul that I
receive. Should I serialize a SOAPFaultFactory?? How to do this??
Thank you very much!!!!
Ransel L�pez, Web Services DeveloperTime Industrial, Inc.
An Outsourced Contractor Time and Cost Tracking Service.
-----------------------------------------------------------------------------------------
tel: 780.413.1521 fax: 780.413.0474
http://www.TimeIndustrial.com
-----------------------------------------------------------------------------------------
This message and attached files, if any, is (are) intended only for the addressee(s) and may
contain privileged or confidential information. Any unauthorized disclosure is strictly prohibited.
If destined to our legal counsel, this transmission is privileged communication as between an
attorney and its client.
If you have received this message in error, please notify us immediately so that we may correct
our internal records. Please then delete the original message. Thank you.
