Hi Andreas,
why dont you just catch the exception and create your own one?
like:
catch(SOAPException se)
{
throw new AxisFault("My own fault string..." + se.toString());
}
 
of course you can choose yourself which data from the original exception se you pass to the new one.
 
hope it helps Greetings from Hamburg/Germany

Sebastian Beyer
Softwareengineer
Wettschereck & Partner
Gesellschaft für Informationstechnologie mbH
Ziethenstraße 14A
22041 Hamburg
Tel.  +49-40-689468-0
Fax. +49-40-689468-99

-----Ursprüngliche Nachricht-----
Von: Andreas Siegers [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 23. Januar 2003 16:06
An: [EMAIL PROTECTED]
Betreff: Custom soapfault

Hi.
 
I have a message style webservice. with method signature
public Element[] deliverMessage(Element [] bodies ) throws SOAPException
 
Is there an easy way to get full control of the generated SOAPFault?
For example I do not wish to send back full exception stacktrace to my clients.
 
regards
Andreas

Reply via email to