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); }