}
@ServiceMethod(method = "user.logon",version = "1.0",needInSession = NeedInSessionType.NO)
public Object logon(LogonRequest request) {
//创建一个会话
SimpleSession session = new SimpleSession();
session.setAttribute("userName",request.getUserName());
request.getRopRequestContext().addSession("mockSessionId1", session);
//返回响应
LogonResponse logonResponse = new LogonResponse();
logonResponse.setSessionId("mockSessionId1");