예제 #1
0
        static void CallFSOPApi()
        {
            AssemblyExt      ass     = new AssemblyExt();
            string           xmlPath = ass.GetAssemblyPath() + @"\Content\StudentOutSendRegister.xml";
            StudeyWebService sws     = new StudeyWebService();

            sws.UploadFileToFSOP(xmlPath, "submitLegFlyFSOPXML", AppConfig.FSOPTocken);
        }
예제 #2
0
        static void TestCallWebService()
        {
            StudeyWebService sws     = new StudeyWebService();
            AssemblyExt      ass     = new AssemblyExt();
            string           xmlPath = ass.GetAssemblyPath() + @"\Content\StudentOutSendRegister.xml";

            sws.UploadFile(xmlPath);
        }
예제 #3
0
        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);
        }