public void testEcho() throws Exception
{
SendMessageClient stub = new SendMessageClient();
SendMessagePortType client = stub.getSendMessagePortTypeLocalEndpoint();
assertNotNull(client);
client.sendMessage("foo");
Thread.sleep(1000);
assertEquals("foo", server.getMessage());
}