public static void main(String[] args) throws Exception {
if (args.length == 3) {
ExampleClient ex = new ExampleClient(args[0], args[1], args[2]);
System.out.println("Connected ok.");
ConfluenceSoapService service = ex.getConfluenceSOAPService();
String token = ex.getToken();
RemoteServerInfo info = service.getServerInfo(token);
System.out.println("Confluence version: " + info.getMajorVersion() + "." + info.getMinorVersion());
System.out.println("Completed.");
} else {
System.err.println("Usage: [server] [userid] [password]");
System.exit(-1);