I've been using something like this:
....
org.apache.xerces.dom.CoreDocumentImpl doc = new
org.apache.xerces.dom.CoreDocumentImpl();
org.w3c.dom.Element d1 = new
org.apache.xerces.dom.ElementImpl(doc,"d1");
org.w3c.dom.Element[] buf = new org.w3c.dom.Element[1];
buf[0] = d1;
throw new AxisFault("MY ERROR",
"MY ERROR MESSAGE!",
"MyActor", buf);
....
However, I could not find any clear way of handling my own Custom
exception on the server side.
If you know how, please post here.
regards,
Ruslan Zenin
-----Original Message-----
From: dave
Sent: October 18, 2002 4:22 PM
To: axis-user
Subject: Adding a Fault to a SOAPBody object...?
Does anyone have a code snippet that shows how to add a Fault to a
message body
using Axis?
Thanks.
--
David Orriss Jr.
[EMAIL PROTECTED]
http://www.davenet.net
Want ICQ/AIM/MSN ID's? Just Ask...
Linux - Chicken Soup for the Unix Soul