response = call.invoke(url, "");
if (!response.generatedFault( )) {
System.out.println("Successful execution");
} else {
Fault fault = response.getFault( );
System.out.println("Error encountered: " + fault.getFaultString( ));
}
This is the way of catching server exceptions in the client side.
To know about SOAP Services that other people/companies have exposed.
http://www-106.ibm.com/developerworks/webservices/library/ws-wsdl3/?dwzone=webservices
Step by Step creating Web Services in Eclipse using JDK 6.0 :::
Create stand-alone Web services applications with Eclipse and Java SE
6: Part 2: The Web service client application
http://www.ibm.com/developerworks/webservices/tutorials/ws-jse/index.html