I am looking at exceptions/faults, and I noticed that the fault handling
sample returns a SOAP exception with attached data in addition to the
code/error that is normally returned.
Is there a way to return custom SOAP exceptions that can be caught at
the client side as an Exception inherited class? i.e.,
Server-side code and Wsdl contain: MyCustomBusinessException extends
Exception
Client contains:
try {
......
svc.callMyService();
} catch (MyCustomBusinessException mcbe) {
} catch (Exception e) {
}
Thanks,
Nadeem