Esempio n. 1
0
        public static bool GetNextBCSum(string login)
        {
            var root_id = SoapParamList.AddParam("getNextBCSum");

            SoapParamList.AddParam("login", root_id, login);

            return(SoapExecutor.Execute(Environment.USSS.Wsdl_InfoService, Environment.USSS.RequestBegin,
                                        Environment.USSS.RequestEnd));
        }
Esempio n. 2
0
        public static bool UserStopLogin(string login, string days = "1", string date = "")
        {
            var root_id = SoapParamList.AddParam("userStopLogin");

            SoapParamList.AddParam("login", root_id, login);
            SoapParamList.AddParam("days", root_id, days);

            if (date != "")
            {
                SoapParamList.AddParam("scheduled_date", root_id, date);
            }

            return(SoapExecutor.Execute(Environment.USSS.Wsdl_InfoService, Environment.USSS.RequestBegin,
                                        Environment.USSS.RequestEnd));
        }
Esempio n. 3
0
        public void step_01()
        {
            var root_id = SoapParamList.AddParam("addBundle");
            var bs_id   = SoapParamList.AddParam("bundle_structure", root_id);
            var abst_1  = SoapParamList.AddParam("AddBundleServiceType", bs_id);
            var abst_2  = SoapParamList.AddParam("AddBundleServiceType", bs_id);

            SoapParamList.AddParam("login", root_id, "0894966719");
            SoapParamList.AddParam("bundle_id", root_id, "BS01633");
            SoapParamList.AddParam("antivirus_email", abst_1, "*****@*****.**");
            SoapParamList.AddParam("service_type", abst_1, "ANTIVIRUS");
            SoapParamList.AddParam("service_id", abst_1, "ESET0");
            SoapParamList.AddParam("service_type", abst_2, "FTTB");
            SoapParamList.AddParam("service_id", abst_2, "M106309");

            SoapExecutor.Execute(Environment.USSS.Wsdl_BundleServices, Environment.USSS.RequestBegin,
                                 Environment.USSS.RequestEnd);

            var res = SoapExecutor.Results;
        }