Transport transport = getTransportManager().getTransport(LocalTransport.BINDING_ID);
Client client = new Client(transport, service, "xfire.local://Echo");
client.setXFire(getXFire());
OperationInfo op = service.getServiceInfo().getOperation("echo");
Object[] response = client.invoke(op, new Object[] {"hello"});
assertNotNull("response from client invoke is null", response);
assertEquals("unexpected array size in invoke response", 1, response.length);
String resString = (String) response[0];
assertEquals("unexpected response string", "hello", resString);