// Verify we get a string in aThing input argument
String input = aThing;
if (input == null || !input.equals("This is a test")) {
String error = "Input argument did not match expected string, got: ";
error += input != null ? "'" + input + "'" : "NULL";
error += " Expected: 'This is a test'";
throw new java.rmi.RemoteException(error);
}
// now send something back
String[] things = new String[2];
things[0] = new String("Thing one");
things[1] = new String("Thing two");
aThingUnbounded.value = things;
String[] others = new String[2];
others[0] = new String("Other 1");
others[1] = new String("Other 2");
otherDataUnbounded.value = others;