public static SigninDataUpload POST(string MeetingID, string UserID, string DeptId, string filePath) { SigninDataUpload result = null; try { string url = WsTool.GetUrl(); string format = "<?xml version=\"1.0\"?><UserInfo><MeetingID>{0}</MeetingID><UserID><![CDATA[{1}]]></UserID><DeptId><![CDATA[{2}]]></DeptId></UserInfo>"; format = string.Format(format, MeetingID, UserID, DeptId); Dictionary <string, string> dictionary = new Dictionary <string, string>(); dictionary["XmlDoc"] = format; string text = HttpTool.CreateRequestWithFile(url + "/SigninDataUpload", "", filePath); if (text.Equals("")) { return(result); } result = XmlHelper.XmlDeserialize <SigninDataUpload>(text, Encoding.UTF8); return(result); } catch (Exception ex) { LogTool.Debug(ex); return(result); } }