public Boolean ModifyPassworld(String pid, String oldPwd, String newPwd,
String operator) throws Exception {
com.sinolink.passport.webservice.ServiceResult result;
// private Boolean isok;
try {
result = iPassportService.modifyPasspordPwd(pid, oldPwd, newPwd,
operator);
if(result.getCode().equals("-3011"))
{
throw new PassportException("发生错误:"+result.getMessage());
}
} catch (RemoteException e) {
throw new PassportException("发生错误:"+e.getMessage());
}
if (!"".equals(result)) {
if (result.isSuccessed()) {
return true;
} else {
return false;
}
}
return false;
}
String operator) throws Exception {
com.sinolink.passport.webservice.ServiceResult result;
// private Boolean isok;
try {
result = iPassportService.modifyPasspordPwd(pid, oldPwd, newPwd,
operator);
if(result.getCode().equals("-3011"))
{
throw new PassportException("发生错误:"+result.getMessage());
}
} catch (RemoteException e) {
throw new PassportException("发生错误:"+e.getMessage());
}
if (!"".equals(result)) {
if (result.isSuccessed()) {
return true;
} else {
return false;
}
}
return false;
}