public static Functions.AnalyzeXML getSSSE(string persionid, string name, out string error)
        {
            error = null;
            string xml = string.Format("<操作*>网上社保卡查询</操作*><用户名*>{0}</用户名*><密码*>{1}</密码*><所属城市>{2}</所属城市><社会保障号*>{3}</社会保障号*>",
                                       Config.dic("userid"),
                                       Config.dic("password"),
                                       Config.dic("cityCode"),
                                       persionid);

            Log.AddLog("WeiWang", "getSSSE 入参:" + xml);
            try
            {
                WebReference.CardServiceService ws = new WebReference.CardServiceService();
                ws.Url = Config.dic("WIP");
                string result = ws.allDsjk(xml);
                Log.AddLog("WeiWang", "返回:" + result);
                Functions.AnalyzeXML xml2 = new AnalyzeXML(result);
                if (xml2["ERR"][0].ToString() == "00")
                {
                    return(xml2);
                }
                else
                {
                    error = xml2["ERR"][0].ToString();
                    return(null);
                }
            }
            catch (Exception e)
            {
                error = "获取社保数据异常:" + e.ToString();
                return(null);
            }
        }
        public static bool allDsjk(string persionid, string name, out string error)
        {
            error = null;
            string xml = string.Format("<操作*>一人一卡查询</操作*><用户名*>{0}</用户名*><密码*>{1}</密码*><社会保障号*>{2}</社会保障号*>",
                                       Config.dic("userid"),
                                       Config.dic("password"),
                                       persionid);

            Log.AddLog("WeiWang", "allDsjk 入参:" + xml);
            try
            {
                WebReference.CardServiceService ws = new WebReference.CardServiceService();
                ws.Url = Config.dic("WIP");
                string result = ws.allDsjk(xml);
                Log.AddLog("WeiWang", "返回:" + result);
                Functions.AnalyzeXML xml2 = new AnalyzeXML(result);
                if (xml2["ERR"][0].ToString() == "00")
                {
                    return(true);
                }
                else
                {
                    error = xml2["ERR"][0].ToString();
                    Log.AddLog("WeiWang", "allDsjk 出参:" + error);
                    return(false);
                }
            }
            catch (Exception e)
            {
                error = "获取一人一卡查询异常:" + e.ToString();
                Log.AddLog("WeiWang", "allDsjk 出参:" + error);
                return(false);
            }
        }