@SuppressWarnings("unchecked")
@Override
protected Element invokeInternal(Element requestElement) throws Exception {
Element commonElement = requestElement.getChild("common", WORKFLOW_NAMESPACE);
WorkItemAcceptMsg wiaMsg = new WorkItemAcceptMsg();
wiaMsg.setExternalKey(commonElement.getChildText("externalKey", WORKFLOW_NAMESPACE));
wiaMsg.setProcessVariablesByElementList(commonElement.getChildren("processVariable", WORKFLOW_NAMESPACE));
wiaMsg.setRolesByElementList(commonElement.getChildren("role", WORKFLOW_NAMESPACE));
wiaMsg.setEndpoint(requestElement.getChildText("endpoint", WORKFLOW_NAMESPACE));
wiaMsg.setInstanceId(requestElement.getChildText("instanceId", WORKFLOW_NAMESPACE));
wiaMsg.setTracingTag(requestElement.getChildText("tracingTag", WORKFLOW_NAMESPACE));
System.out.println(wiaMsg);
String status = null;
List<TaskInfo> taskInfoList = null;