//params.add("A");
//params.add("B");
//params.add("C");
//caller.callAction("myRemoteAction");
//caller.callAction("myRemoteAction", params);
Form form = new Form("test");
form.setField("myfield", "value");
form.setField("aDate", new Date());
form.setField("aNumber", new Integer(4711));
form.addFileAsAttachment(new File("/home/tbinias/downloads/eclipse-SDK-3.4.2-linux-gtk-x86_64.tar.gz"), "eclipse.tgz");
Object result = caller.callAction("myRemoteAction", null, form);
System.out.println(result);
//List<DataSource> tmpList = new ArrayList<DataSource>();
//tmpList.add(new FileDataSource(new File("/home/tbinias/downloads/eclipse-SDK-3.4.2-linux-gtk-x86_64.tar.gz")));
//client.installPlugins(session, tmpList);