String tab_items [] = new String[4];
tab_items[0] = "table item 1";
tab_items[1] = "table item 2";
tab_items[2] = "table item 3";
tab_items[3] = "table item 4";
RPCParam in_table = new RPCParam("http://local_service.com/", "Input_Array", tab_items);
RPCElement input = new RPCElement("http://localhost:8000/tester", "echoString",
new Object[]{in_table});
SOAPEnvelope env = new SOAPEnvelope();
env.addBodyElement(input);
String text = env.toString();
assertTrue(text != null);
for(int i=0;i<tab_items.length;i++){
assertTrue(text.indexOf(tab_items[i])!=-1);
}