Plus any unchecked exception you throw will get converted into a SOAP
fault for you, with a faultcode of soap:Server and a faultstring equal
to the message of the exception.

Andrew.

2009/6/18 Daniel Kulp <[email protected]>
>
> On Thu June 18 2009 3:25:14 am xinxinwang wrote:
> > My service implements Provider<Source>. I like to return a fault message if
> > an exception happends inside the invoke() method. How can I return the
> > fault message?
>
> I think you would just throw a SOAPFaultException with the details of your
> faults and stuff filled in it.
>
> --
> Daniel Kulp
> [email protected]
> http://www.dankulp.com/blog



--
:: http://biotext.org.uk/ ::

Reply via email to