Alert a = null;
try {
HPIClientProtocol hpiClientProtocol = this.parent.getParent().getParent().getHPIClientProtocol();
LoginResponse loginResponse = this.parent.getParent().getParent().getLoginResponse();
ExecuteInvokerResponse executeInvokerResponse = hpiClientProtocol.executeInvoker(loginResponse.getSessionId(), this.parent.getInvokerId());
if (executeInvokerResponse.getStatus().equals(Response.Status.SUCCESS)) {
HPIUiAlert.show("Execution Invoker Response", executeInvokerResponse.getMessage(), "Ok", this.parent.getForm());
} else {
HPIUiAlert.show("Error on execution Invoker", executeInvokerResponse.getMessage(), "Ok", this.parent.getForm());
}
} catch (Exception e) {
HPIUiAlert.show("Server Message", e.getMessage(), "Done", this.parent.getForm());
}
}