HelloWorldOneWayQueueService service = new HelloWorldOneWayQueueService(wsdl, serviceName);
assertNotNull(service);
try {
HelloWorldOneWayPort greeter = service.getPort(portName, HelloWorldOneWayPort.class);
for (int idx = 0; idx < 5; idx++) {
greeter.greetMeOneWay("JMS:Queue:Milestone-" + idx);
}
//Give some time to complete one-way calls.
Thread.sleep(100L);
} catch (UndeclaredThrowableException ex) {
throw (Exception)ex.getCause();