Re: Question on how to generate faults
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 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
Question on how to generate faults
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