private Object doService(RopRequest ropRequest) {
Object ropResponse = null;
RopRequestContext context = ropRequest.getRopRequestContext();
if (context.getMethod() == null) {
ropResponse = new ErrorResponse(MainErrors.getError(
MainErrorType.MISSING_METHOD, context.getLocale(),
SystemParameterNames.getMethod()));
} else if (!ropContext.isValidMethod(context.getMethod())) {
MainError invalidMethodError = MainErrors.getError(
MainErrorType.INVALID_METHOD, context.getLocale(),context.getMethod());
ropResponse = new ErrorResponse(invalidMethodError);
} else {
try {
ropResponse = serviceMethodAdapter.invokeServiceMethod(ropRequest);
} catch (Exception e) { //出错则招聘服务不可用的异常
if (logger.isInfoEnabled()) {