Re: Question on how to generate faults

2006-05-20 Thread Scott McCoy
In Axis 1, use org.apache.axis.AxisFault.If you just want to wrap an exception, the easiest way is to:catch (Exception exception) {    throw AxisFault.makeFault(exception);}Cheers,   Scott S. McCoy On 5/19/06, Venkat Gyambavantha <[EMAIL PROTECTED]> wrote: Hi,   I used wsdl2java to g

Question on how to generate faults

2006-05-19 Thread Venkat Gyambavantha
Hi,   I used wsdl2java to generate server skeleton code. One of my operation can generate fault. The code generated by wsdl2java has a method that throws the faultmessage (subclass of RemoteException). How to throw this exception?   Thanks