Posted By:
Idar_Hareide
Posted On:
Tuesday, January 15, 2002 12:06 AM
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