// use the server's client engine in case anything has been deployed to it
ServiceClient client = new ServiceClient(msgContext.getAxisEngine().getClientEngine());
// add TCP for proxy testing
client.addTransportPackage("samples.transport");
client.setTransportForProtocol("tcp", TCPTransport.class);
// NOW set the client's URL (since now the tcp handler exists)
client.setURL(dest);