Barbara - The Axis framework currently does not map custom fault objects. If you do not throw an AxisFault, the framework will only map the base exception message (i.e. e.getMessage()). The faultcode and faultmessage will be set to a default Axis constant.
Is the problem that you can't catch the exception, or that you are not getting back the expected faultcode and faultmessage? Is this on the server or client? Can you post the relevant code snippet? /Chris -----Original Message----- From: Barbara Noble [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 11:38 AM To: [EMAIL PROTECTED] Subject: Fault Handling Hello all, I am trying to understand how fault handling works within axis (with tomcat). I have a service, and it throws an exception. When I deploy the service, the exception is also seen on the client. It appears in the wsdl as the 'fault msg'. HOWEVER - when thrown, it seems that the exception is being mapped in an AxisFault to be passed to the client. I cannot seem to get at the exception that is thrown. I looked in the Architecture Guide for some enlightenment, but it is still under construction. Any help with this issue would be greatly appreciated. Thanks, Barbara Noble Software Engineer Sengent, Inc. Optimized Distributed Computing http://www.sengent.com [EMAIL PROTECTED] 561.417.0664 x106