HashMap clientConfig = new HashMap();
clientConfig.put(InvokerLocator.FORCE_REMOTE, "true");
clientConfig.put("timeout", "2000");
addExtraClientConfig(clientConfig);
Client client = new Client(clientLocator, clientConfig);
client.connect();
log.info("client is connected");
// Test invocations.
assertEquals("abc", client.invoke("abc"));
log.info("first invocation succeeded");