try {
serviceResult = dispatcher.runSync(appName, serviceContext);
} catch (GenericServiceException e) {
status = APP_STATUS_INVALID;
Debug.logError(e, module);
throw new ToolAgentGeneralException(e);
}
// process the result
this.getServiceResults(parameters, serviceResult);