result = stockQuoteClient.stockQuoteClientforProxy("http://" + FrameworkSettings.HOST_NAME + ":" + FrameworkSettings.HTTP_PORT, null, "IBM");
}
if (FrameworkSettings.STRATOS.equalsIgnoreCase("true")) {
result = stockQuoteClient.stockQuoteClientforProxy("http://" + FrameworkSettings.HOST_NAME + ":" + FrameworkSettings.HTTP_PORT + "/services/" + FrameworkSettings.TENANT_NAME + "/", null, "IBM");
}
GetLogsResponse getLogsResponse = new GetLogsResponse();
GetLogs getLogs = new GetLogs();
getLogs.setKeyword("mediator");
getLogsResponse = logViewerStub.getLogs(getLogs);
LogMessage[] logMessages = getLogsResponse.get_return();
int removeMessageLength = 0;
if (logMessages.length > 4) {
removeMessageLength = logMessages.length - 3;
} else {
removeMessageLength = 0;