Response.Status responseStatus = Response.Status.valueOf(ssdHpiMessage.getLeaf(HPIDialogueConstants.STATUS).getValue());
if (serviceName.equals(HPIDialogueConstants.LOGIN_SERVICE)) {
return new LoginResponse(parameters.getLeaf(HPIDialogueConstants.SESSION_ID).getValue(), responseMessage, responseStatus);
} else if (serviceName.equals(HPIDialogueConstants.SERVER_SHUTDOWN_SERVICE)) {
return new ServerShutdownResponse(responseMessage, responseStatus);
} else if (serviceName.equals(HPIDialogueConstants.LIST_INVOKERS_SERVICE)) {
List<Invoker> listInvokers = new ArrayList<Invoker>();
SSDObjectArray ssdListInvokers = parameters.getArray(HPIDialogueConstants.LIST_INVOKERS);
for (int i = 0; i < ssdListInvokers.getSize(); i ++) {