public void testInvocations()
{
try
{
Thread.sleep(5000); // Wait for server to start.
MarshalFactory.addMarshaller("compress", new CompressingMarshaller(), new CompressingUnMarshaller());
String locatorURI = "socket://localhost:5400/?datatype=compress";
InvokerLocator locator = new InvokerLocator(locatorURI);
Client remotingClient = new Client(locator);
remotingClient.connect();
String request1 = "First request";