Exception handling in Apache-SOAP - Is there a way of catching server exceptions in the client side?
Created May 7, 2012
Idar Hareide If you go to the site http://www.onjava.com/pub/a/onjava/excerpt/java_xml_2_ch2/index.html, you can find examples on how to catch server exceptions. Here's an example:
response = call.invoke(url, ""); if (!response.generatedFault( )) { System.out.println("Successful execution"); } else { Fault fault = response.getFault( ); System.out.println("Error encountered: " + fault.getFaultString( )); }-- Idar