* 2 WSUsers are echo'd
* 2 Strings are echo'd
*/
public void testEcho22() throws Exception {
IGenericService proxy = getProxy("echo");
List<WSUser> in = new ArrayList<WSUser>();
WSUser wsUser = new WSUser();
wsUser.setUserID("James Bond");
in.add(wsUser);
wsUser = new WSUser();
wsUser.setUserID("Dr. Evil");
in.add(wsUser);
List<String> id_in = new ArrayList<String>();
id_in.add("jbond");
id_in.add("evil");
Holder<List<String>> inout = new Holder<List<String>>(id_in);
List<WSUser> response = proxy.echo(in, inout);
assertTrue(response != null);
assertTrue(response.size() == 2);
assertTrue("James Bond".equals(response.get(0).getUserID()));
assertTrue("Dr. Evil".equals(response.get(1).getUserID()));
List<String> id_out = inout.value;
assertTrue(id_out.size() == 2);
assertTrue("JBOND".equals(id_out.get(0)));
assertTrue("EVIL".equals(id_out.get(1)));
// Try the call again
inout = new Holder<List<String>>(id_in);
response = proxy.echo(in, inout);
assertTrue(response != null);
assertTrue(response.size() == 2);
assertTrue("James Bond".equals(response.get(0).getUserID()));
assertTrue("Dr. Evil".equals(response.get(1).getUserID()));
id_out = inout.value;