String[] names = new String[] {"Anne", "Bill", "Chris", "Daisy"};
// make a sequence of 4 invocations
for (int i = 0; i < 4; i++) {
System.out.println("Invoking greetMeOneWay...");
port.greetMeOneWay(names[i]);
System.out.println("No response as method is OneWay\n");
}
// allow aynchronous resends to occur
Thread.sleep(30 * 1000);