ITaskManagementService tms = new RemoteTMSFactory(TMS_REMOTE_URL, TOKEN).getService();
Document input1 = Utils.createXMLDocument("/absr.xml");
String task1ID = nextRandom();
PATask task1 = new PATask(task1ID, new URI("http://localhost/1"), "processID", "urn:completeSOAPAction", input1);
task1.getUserOwners().add("intalio\\admin");
tms.create(task1);
testRoundTrip(task1, input1);
PATask task2 = (PATask) tms.getTask(task1ID);
TaskEquality.areTasksEquals(task1, task2);
}