@Override
public WsStartNewJsonSessionResult startNewJsonSession(String userName, String md5Pwd) throws RemoteException {
try {
JsonEngine engine = getEngine();
JsonSession session = engine.newSession(userName, md5Pwd);
return new WsStartNewJsonSessionResult(session.getId().toString(), createForSuccess());
} catch (Exception e) {
return new WsStartNewJsonSessionResult(null, createForException(-1, e, "startNewSession"));
}
}