// Force marshal by type
context.setProcessType(Data[].class);
// Create an Data value
ObjectFactory factory = new ObjectFactory();
Data value[] = new Data[3];
value[0] = factory.createData();
value[0].setInput("Hello");
value[1] = factory.createData();
value[1].setInput("Beautiful");
value[2] = factory.createData();