Beispiel #1
0
 // Token: 0x06000030 RID: 48 RVA: 0x000031D0 File Offset: 0x000013D0
 public static string getWSPwd(string soapStr)
 {
     return(SyncXmlUtils.matchResponse(soapStr, "tem:password"));
 }
Beispiel #2
0
 // Token: 0x0600002E RID: 46 RVA: 0x00003198 File Offset: 0x00001398
 public string getOpType(string soapStr)
 {
     return(SyncXmlUtils.matchRequestData(soapStr, "operation-type"));
 }
Beispiel #3
0
 // Token: 0x0600002F RID: 47 RVA: 0x000031B4 File Offset: 0x000013B4
 public static string getWSUser(string soapStr)
 {
     return(SyncXmlUtils.matchResponse(soapStr, "tem:username"));
 }
Beispiel #4
0
        public string ReturnCode(int iNo)
        {
            string code = "";
            string desc = "";

            switch (iNo)
            {
            case 0:
                code = "S000A000";
                desc = "处理成功";
                break;

            case 1:
                code = "E0003000";
                desc = "令牌错误";
                break;

            case 2:
                code = "E0003001";
                desc = "处理失败,请联系应用系统管理员";
                break;

            case 3:
                code = "E0003002";
                desc = "用户不存在";
                break;

            case 4:
                code = "E0003003";
                desc = "报文无法识别";
                break;

            case 5:
                code = "E0003004";
                desc = "必填数据不能为空";
                break;

            case 6:
                code = "E0003005";
                desc = "数据长度超出限制";
                break;

            case 7:
                code = "";
                desc = "无返回值,请查看请求数据、网络状况、应用系统服务是否正常!";
                break;

            case 8:
                code = "E0003006";
                desc = "操作类型错误";
                break;

            case 9:
                code = "E0003007";
                desc = "应用系统逻辑错误";
                break;

            case 10:
                code = "E0003008";
                desc = "未知的程序异常";
                break;

            case 11:
                code = "E0003001";
                desc = "用户已经存在";
                break;

            case 12:
                code = "E0003011";
                desc = "获取远端数据出错";
                break;

            case 13:
                code = "E0003012";
                desc = "用户创建成功";
                break;

            default:
                code = "";
                desc = "无返回值,请查看请求数据、网络状况、应用系统服务是否正常!";
                break;
            }

            if (iNo != 0)
            {
                if (iNo != 13)
                {
                    LdapDataLog(desc, 4);
                }
                else
                {
                    LdapDataLog(desc, 3);
                }
            }

            return(SyncXmlUtils.returnXml(code, desc));
        }