public string GetDetailByAgencyID(string callType, string xmlMessage) { string result = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + "<" + callType + ">" + "<Result>False</Result>" + "<Description></Description></" + callType + ">"; string logID = Guid.NewGuid().ToString(); FileLogger.WriteLog(logID + "|Start:" + xmlMessage, 1, "", callType); try { if (Helper.CheckAuthCode(callType, xmlMessage))//数据校验通过 { AuthData h = new AuthData(); result = h.GetDetailByAgencyID(xmlMessage); } } catch (Exception err) { result = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + "<" + callType + ">" + "<Result>False</Result>" + "<Description>" + err.Message + "</Description></" + callType + ">"; } FileLogger.WriteLog(logID + "|End:" + result, 1, "", callType); return(result); }