dao=_taskDAOFactory.openConnection();
OMElementQueue rootQueue = new OMElementQueue(requestElement);
String taskID = requireElementValue(rootQueue, "pipaurl");
String participantToken = requireElementValue(rootQueue, "participantToken");
final UserRoles user = _server.getUserRoles(participantToken);
Task task = _server.getPipa(dao,taskID, participantToken);
OMElement response = new TMSResponseMarshaller(OM_FACTORY) {
public OMElement marshalResponse(Task task) {
OMElement response = createElement("getPipaResponse");
response.addChild(new TaskMarshaller().marshalFullTask(task, user));
return response;