public void Setup() { string user = IdentityCredential.User; string password = IdentityCredential.Password; this.columnNamesInResponse = "[cod_pl],[for_period],[s_money],[address],[FIO],[i_house],[d_born]"; this.client = ServiceIntegratorClientFactory.Make(WebServiceUrl.Url); this.ticket = this.client.GetAuthorizationTicket(user, password); this.factory = new GetTRICDebtsByPeriodFactory(client); }
public void Setup() { string user = IdentityCredential.User; string password = IdentityCredential.Password; this.columnNamesInResponse = "[AccountID],[PeriodStr],[sumSaldo]"; this.client = ServiceIntegratorClientFactory.Make(WebServiceUrl.Url); this.ticket = this.client.GetAuthorizationTicket(user, password); this.factory = new GetTRICDebtsTotalFactory(client); }
public void SetUp() { // пользователя и пароль можно получить у администратора Гелиос string user = IdentityCredential.User; string password = IdentityCredential.Password; this.columnNamesInResponse = "cod_pl,i_people,FIO,d_born,isMain,PlaceBorn,b_period,e_period,periodName"; this.client = ServiceIntegratorClientFactory.Make(WebServiceUrl.Url); this.ticket = this.client.GetAuthorizationTicket(user, password); this.factory = new GetTRICLivingsFactory(client); }
public void SetUp() { // пользователя и пароль можно получить у администратора Гелиос string user = IdentityCredential.User; string password = IdentityCredential.Password; this.columnNamesInResponse = "[ID],[AccountID],[NumberID],[Address],[FIO],[DateBorn],[SumSaldo],[SumTax],[B_period],[E_period]"; this.columnNamesInResponse += ",[CreateDate],[Status],[UserName],[SumPaySaldo],[SumPayTax],[SumPeni],[SumPayPeni],[ServiceGroups],[SumActualDebt],[OrderNumber]"; this.client = ServiceIntegratorClientFactory.Make(WebServiceUrl.Url); this.ticket = this.client.GetAuthorizationTicket(user, password); this.factory = new GetTRICLawsuitsFactory(client); }
public void Setup() { string user = IdentityCredential.User; string password = IdentityCredential.Password; this.columnNamesInResponse = "[i_lschet],[period],"; this.columnNamesInResponse += "[sum_nach_11],[sum_odn_11],[sum_opl_11],"; this.columnNamesInResponse += "[sum_nach_8],[sum_odn_8],[sum_opl_8],"; this.columnNamesInResponse += "[sum_nach_10],[sum_odn_10],[sum_opl_10],"; this.columnNamesInResponse += "[sum_nach_9],[sum_odn_9],[sum_opl_9],"; this.columnNamesInResponse += "[sum_total_nach],[sum_total_opl],[sum_total],[orderby]"; WSHttpBinding binding = new WSHttpBinding(); binding.MaxReceivedMessageSize = 2147483647; binding.Security.Mode = SecurityMode.Transport; binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None; this.client = ServiceIntegratorClientFactory.Make(WebServiceUrl.Url); this.ticket = this.client.GetAuthorizationTicket(user, password); this.factory = new GetTRICDebtsByServicesFactory(client); }