hi rancher Anyone who has handled exception and error in web service. Soap Spec says error and exception will be carried in fault element in which it has actor, action, details etc. But I am in doubt when calling some web service method suppose method throws SQLException what happens in this case soap toolkit automatically generates corresponding fault code. or we have to some additional work for it. How to process error at client side in case of error or exception.
Hi, Sorry about jumping on the wagon but I was looking at the example pointed out by Balaji and it seems Mr.Dims has tried to fix the "Bug 19682 - non-AxisFault exceptions don't have details serialized"...But the example fault(NoSuchEmployeeFault)does not contain detail section....can someone please point me to an example containing a user defined fault with details section? I had serious problems trying to implement(which ultimately I could not)a fault with detail section few weeks back.....
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Error and exception handling in Web Service