* 登录系统
*
* @return
*/
public String logon(String userName, String password) {
LogonRequest ropRequest = new LogonRequest();
ropRequest.setUserName("tomson");
ropRequest.setPassword("123456");
CompositeResponse response = ropClient.buildClientRequest().get(ropRequest, LogonResponse.class, "user.logon", "1.0");
String sessionId = ((LogonResponse) response.getSuccessResponse()).getSessionId();
ropClient.setSessionId(sessionId);
return sessionId;
}