HPIDataFactory dataFactory = HPIDataFactory.getInstance();
Invoker invoker = dataFactory.getInvoker(clientRequest.getInvokeId());
if (invoker != null) {
ExecuteInvoker service = new ExecuteInvoker(invoker);
String executionResult = service.runExecutables();
return new ExecuteInvokerResponse(executionResult, Response.Status.SUCCESS);
} else {
return new ExecuteInvokerResponse("No invoker was found for the id: " + clientRequest.getInvokeId(), Response.Status.FAIL);
}
} catch (HPISessionException e) {