static void CallFSOPApi() { AssemblyExt ass = new AssemblyExt(); string xmlPath = ass.GetAssemblyPath() + @"\Content\StudentOutSendRegister.xml"; StudeyWebService sws = new StudeyWebService(); sws.UploadFileToFSOP(xmlPath, "submitLegFlyFSOPXML", AppConfig.FSOPTocken); }
static void TestCallWebService() { StudeyWebService sws = new StudeyWebService(); AssemblyExt ass = new AssemblyExt(); string xmlPath = ass.GetAssemblyPath() + @"\Content\StudentOutSendRegister.xml"; sws.UploadFile(xmlPath); }
static void XmlTest() { AssemblyExt ass = new AssemblyExt(); string xmlPath = ass.GetAssemblyPath() + @"\Content\StudentOutSendRegister.xml"; AbroadStudentManage abroad = new AbroadStudentManage(); string xml = abroad.FillDataToXml(xmlPath); RemoteWcf.RemoteDataServiceClient rds = new RemoteWcf.RemoteDataServiceClient(); rds.UploadAbroadStudent(xml); }