assertEquals(((TestExecutor)executor).getCount(), 0);
Greeter greeter = (Greeter)service.getPort(portName, Greeter.class);
List<Response<GreetMeResponse>> responses = new ArrayList<Response<GreetMeResponse>>();
for (int i = 0; i < 5; i++) {
responses.add(greeter.greetMeAsync("asyn call" + i));
}
//wait for all the responses
for (Response<GreetMeResponse> resp : responses) {
resp.get();
}