Hi Paul, declare a faultmessage in your wsdl for application errors. ExceptionXY e; throw AxisFault.makeFault(e); produces a SOAPFault message on the wire. On the client side you can specify a fault chain, to handle the soap fault. Regards Oliver
____________________________________________________________________
Oliver Adler, Senior Consultant
SYRACOM Systems AG - "The IT-Architects"
Otto-von-Guericke-Ring 15
D-65205 Wiesbaden
Tel +49 6122-9176-0
Fax +49 6122-9176-11
Mobil +49 175-1853998
E-Mail: [EMAIL PROTECTED]
<www.SYRACOM.de>
Ein Unternehmen der SYRACOM Gruppe - "The Business- & IT-Architects"
____________________________________________________________________
-----Urspr�ngliche Nachricht-----
Von: Paul Andrews [mailto:[EMAIL PROTECTED]
Gesendet: Mi 05.03.2003 23.16 Uhr
An: [EMAIL PROTECTED]
Cc:
Betreff: How do I work with exceptions?
I've had a look back through the list archives and looked for some
example in the ditribution but I can't see anything that tells me how I
deploy a service that can throw exceptions and what I should expect to
see back in the client if one of those exceptions is thrown.
1. Do I need to specify serializers/deserializers for my exceptions?
2. How do the exceptions get returned from call.invoke() in the client?
Any help would be appreciated.
<<winmail.dat>>
