ClientTransport client = createClientTransport(factory, wsdlUrl, serviceName, portName);
assertTrue("targetEndpoint address mismatch. Expected : " + address
+ " received : " + client.getTargetEndpoint(),
address.equals(client.getTargetEndpoint().getAddress().getValue()));
OutputStreamMessageContext octx =
client.createOutputStreamContext(new GenericMessageContext());
client.finalPrepareOutputStreamContext(octx);
byte outBytes[] = "Hello World!!!".getBytes();
octx.getOutputStream().write(outBytes);
client.invokeOneway(octx);
Thread.sleep(500L);
assertEquals(new String(outBytes),
serverRcvdInOneWayCall.substring(0, outBytes.length));