From 875e3470d8f290a566ff714963d0d8d97c99c378 Mon Sep 17 00:00:00 2001 From: "HOME-LAPTOP\\kshkulev" Date: Mon, 18 Aug 2025 11:58:28 +0900 Subject: [PATCH] Add export from nsi-common service --- .../DebtRequestsApi/HcsDebtRequestsMethod.cs | 12 +- .../HcsDebtSubrequestExporter.cs | 2 +- .../HcsDeviceMeteringMethod.cs | 10 +- Hcs.Client/ClientApi/HcsClient.cs | 2 + .../HcsHouseManagementMethod.cs | 14 +- Hcs.Client/ClientApi/NsiApi/HcsNsiMethod.cs | 10 +- .../NsiCommonApi/HcsMethodExportNsiCommon.cs | 88 + .../ClientApi/NsiCommonApi/HcsNsiCommonApi.cs | 35 + .../NsiCommonApi/HcsNsiCommonMethod.cs | 111 + .../HcsOrgRegistryCommonMethod.cs | 10 +- .../RemoteCaller/HcsRemoteCallMethod.cs | 10 +- .../RemoteCaller/IHcsGetStateResult.cs | 8 +- .../RemoteCaller/IHcsGetStateResultMany.cs | 7 + .../RemoteCaller/IHcsGetStateResultOne.cs | 7 + ....NsiCommon.v15_7_0_1.AckRequest.datasource | 10 + ...siCommon.v15_7_0_1.ResultHeader.datasource | 10 + ...v15_7_0_1.exportNsiItemResponse.datasource | 10 + ...v15_7_0_1.exportNsiListResponse.datasource | 10 + ...0_1.exportNsiPagingItemResponse.datasource | 10 + ...mmon.v15_7_0_1.getStateResponse.datasource | 10 + ...Common.v15_7_0_1.getStateResult.datasource | 10 + .../Reference.cs | 3356 +++++++++++++++++ .../Reference.svcmap | 35 + .../configuration.svcinfo | 11 + .../configuration91.svcinfo | 310 ++ .../hcs-base.xsd | 862 +++++ .../hcs-nsi-base.xsd | 427 +++ .../hcs-nsi-common-service-async.wsdl | 134 + .../hcs-nsi-common-types.xsd | 122 + .../xmldsig-core-schema.xsd | 213 ++ Hcs.Client/Hcs.Client.csproj | 51 + Hcs.Client/app.config | 8 + Hcs.TestApp/ClientDemo/NsiCommonDemo.cs | 19 + Hcs.TestApp/ClientDemo/Program.cs | 4 +- Hcs.TestApp/Hcs.TestApp.csproj | 1 + 35 files changed, 5910 insertions(+), 39 deletions(-) create mode 100644 Hcs.Client/ClientApi/NsiCommonApi/HcsMethodExportNsiCommon.cs create mode 100644 Hcs.Client/ClientApi/NsiCommonApi/HcsNsiCommonApi.cs create mode 100644 Hcs.Client/ClientApi/NsiCommonApi/HcsNsiCommonMethod.cs create mode 100644 Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResultMany.cs create mode 100644 Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResultOne.cs create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemResponse.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListResponse.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemResponse.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResponse.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResult.datasource create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Reference.cs create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Reference.svcmap create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/configuration.svcinfo create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/configuration91.svcinfo create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-base.xsd create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-base.xsd create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-common-service-async.wsdl create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-common-types.xsd create mode 100644 Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/xmldsig-core-schema.xsd create mode 100644 Hcs.TestApp/ClientDemo/NsiCommonDemo.cs diff --git a/Hcs.Client/ClientApi/DebtRequestsApi/HcsDebtRequestsMethod.cs b/Hcs.Client/ClientApi/DebtRequestsApi/HcsDebtRequestsMethod.cs index b10434c..35b03e3 100644 --- a/Hcs.Client/ClientApi/DebtRequestsApi/HcsDebtRequestsMethod.cs +++ b/Hcs.Client/ClientApi/DebtRequestsApi/HcsDebtRequestsMethod.cs @@ -9,7 +9,7 @@ using DebtRequests = Hcs.Service.Async.DebtRequests.v15_7_0_1; namespace Hcs.Service.Async.DebtRequests.v15_7_0_1 { public partial class AckRequestAck : IHcsAck { } - public partial class getStateResult : IHcsGetStateResult { } + public partial class getStateResult : IHcsGetStateResultMany { } public partial class Fault : IHcsFault { } public partial class HeaderType : IHcsHeaderType { } } @@ -18,7 +18,7 @@ namespace Hcs.ClientApi.DebtRequestsApi { /// Метод для отправки запросов к сервису запросов о наличии задолженности /// Описание: http://open-gkh.ru/DebtRequestsServiceAsync/ - public class HcsDebtRequestsMethod : HcsRemoteCallMethod + public class HcsDebtRequestsMethod : HcsRemoteCallMethod { public HcsEndPoints EndPoint => HcsEndPoints.DebtRequestsAsync; @@ -88,14 +88,14 @@ namespace Hcs.ClientApi.DebtRequestsApi /// Выполняет однократную проверку наличия результата. /// Возвращает null если результата еще нет. /// - protected override async Task TryGetResultAsync( + protected override async Task TryGetResultAsync( IHcsAck sourceAck, CancellationToken token = default) { - Func> func = async () => await TryGetResultBareAsync(sourceAck); + Func> func = async () => await TryGetResultBareAsync(sourceAck); return await RunRepeatableTaskInsistentlyAsync(func, token); } - private async Task TryGetResultBareAsync(IHcsAck sourceAck) + private async Task TryGetResultBareAsync(IHcsAck sourceAck) { using (var client = NewPortClient()) { @@ -115,7 +115,7 @@ namespace Hcs.ClientApi.DebtRequestsApi } } - private void CheckResultForErrors(IHcsGetStateResult result) + private void CheckResultForErrors(IHcsGetStateResultMany result) { if (result == null) throw new HcsException("Пустой result"); diff --git a/Hcs.Client/ClientApi/DebtRequestsApi/HcsDebtSubrequestExporter.cs b/Hcs.Client/ClientApi/DebtRequestsApi/HcsDebtSubrequestExporter.cs index f82ac17..9c37a9c 100644 --- a/Hcs.Client/ClientApi/DebtRequestsApi/HcsDebtSubrequestExporter.cs +++ b/Hcs.Client/ClientApi/DebtRequestsApi/HcsDebtSubrequestExporter.cs @@ -135,7 +135,7 @@ namespace Hcs.ClientApi.DebtRequestsApi } } - private DSRsBatch ParseExportResultBatch(RemoteCaller.IHcsGetStateResult result) + private DSRsBatch ParseExportResultBatch(RemoteCaller.IHcsGetStateResultMany result) { var batch = new DSRsBatch(); diff --git a/Hcs.Client/ClientApi/DeviceMeteringApi/HcsDeviceMeteringMethod.cs b/Hcs.Client/ClientApi/DeviceMeteringApi/HcsDeviceMeteringMethod.cs index a30abab..75e5673 100644 --- a/Hcs.Client/ClientApi/DeviceMeteringApi/HcsDeviceMeteringMethod.cs +++ b/Hcs.Client/ClientApi/DeviceMeteringApi/HcsDeviceMeteringMethod.cs @@ -9,14 +9,14 @@ using DeviceMetering = Hcs.Service.Async.DeviceMetering.v15_7_0_1; namespace Hcs.Service.Async.DeviceMetering.v15_7_0_1 { public partial class AckRequestAck : IHcsAck { } - public partial class getStateResult : IHcsGetStateResult { } + public partial class getStateResult : IHcsGetStateResultMany { } public partial class Fault : IHcsFault { } public partial class HeaderType : IHcsHeaderType { } } namespace Hcs.ClientApi.DeviceMeteringApi { - public class HcsDeviceMeteringMethod : HcsRemoteCallMethod + public class HcsDeviceMeteringMethod : HcsRemoteCallMethod { public HcsEndPoints EndPoint => HcsEndPoints.DeviceMeteringAsync; @@ -35,7 +35,7 @@ namespace Hcs.ClientApi.DeviceMeteringApi return client; } - public async Task SendAndWaitResultAsync( + public async Task SendAndWaitResultAsync( object request, Func> sender, CancellationToken token) @@ -62,7 +62,7 @@ namespace Hcs.ClientApi.DeviceMeteringApi } } - private async Task SendAndWaitResultAsyncImpl( + private async Task SendAndWaitResultAsyncImpl( object request, Func> sender, CancellationToken token) @@ -96,7 +96,7 @@ namespace Hcs.ClientApi.DeviceMeteringApi /// Выполняет однократную проверку наличия результата. /// Возвращает null если результата еще нет. /// - protected override async Task TryGetResultAsync(IHcsAck sourceAck, CancellationToken token) + protected override async Task TryGetResultAsync(IHcsAck sourceAck, CancellationToken token) { using (var client = NewPortClient()) { diff --git a/Hcs.Client/ClientApi/HcsClient.cs b/Hcs.Client/ClientApi/HcsClient.cs index ed1926f..2f0ad1d 100644 --- a/Hcs.Client/ClientApi/HcsClient.cs +++ b/Hcs.Client/ClientApi/HcsClient.cs @@ -4,6 +4,7 @@ using Hcs.ClientApi.DeviceMeteringApi; using Hcs.ClientApi.FileStoreServiceApi; using Hcs.ClientApi.HouseManagementApi; using Hcs.ClientApi.NsiApi; +using Hcs.ClientApi.NsiCommonApi; using Hcs.ClientApi.OrgRegistryCommonApi; using Hcs.ClientApi.RemoteCaller; using System; @@ -42,6 +43,7 @@ namespace Hcs.ClientApi public HcsFileStoreServiceApi FileStoreService => new HcsFileStoreServiceApi(this); public HcsDeviceMeteringApi DeviceMeteringService => new HcsDeviceMeteringApi(this); public HcsNsiApi Nsi => new HcsNsiApi(this); + public HcsNsiCommonApi NsiCommon => new HcsNsiCommonApi(this); public X509Certificate2 FindCertificate(Func predicate) { diff --git a/Hcs.Client/ClientApi/HouseManagementApi/HcsHouseManagementMethod.cs b/Hcs.Client/ClientApi/HouseManagementApi/HcsHouseManagementMethod.cs index ef909c1..2b63a7c 100644 --- a/Hcs.Client/ClientApi/HouseManagementApi/HcsHouseManagementMethod.cs +++ b/Hcs.Client/ClientApi/HouseManagementApi/HcsHouseManagementMethod.cs @@ -9,14 +9,14 @@ using HouseManagement = Hcs.Service.Async.HouseManagement.v15_7_0_1; namespace Hcs.Service.Async.HouseManagement.v15_7_0_1 { public partial class AckRequestAck : IHcsAck { } - public partial class getStateResult : IHcsGetStateResult { } + public partial class getStateResult : IHcsGetStateResultMany { } public partial class Fault : IHcsFault { } public partial class HeaderType : IHcsHeaderType { } } namespace Hcs.ClientApi.HouseManagementApi { - public class HcsHouseManagementMethod : HcsRemoteCallMethod + public class HcsHouseManagementMethod : HcsRemoteCallMethod { public HcsEndPoints EndPoint => HcsEndPoints.HomeManagementAsync; @@ -35,7 +35,7 @@ namespace Hcs.ClientApi.HouseManagementApi return client; } - public async Task SendAndWaitResultAsync( + public async Task SendAndWaitResultAsync( object request, Func> sender, CancellationToken token) @@ -64,7 +64,7 @@ namespace Hcs.ClientApi.HouseManagementApi } } - private async Task SendAndWaitResultAsyncImpl( + private async Task SendAndWaitResultAsyncImpl( object request, Func> sender, CancellationToken token) @@ -98,7 +98,7 @@ namespace Hcs.ClientApi.HouseManagementApi /// Выполняет однократную проверку наличия результата. /// Возвращает null если результата еще нет. /// - protected override async Task TryGetResultAsync(IHcsAck sourceAck, CancellationToken token) + protected override async Task TryGetResultAsync(IHcsAck sourceAck, CancellationToken token) { using (var client = NewPortClient()) { @@ -120,7 +120,7 @@ namespace Hcs.ClientApi.HouseManagementApi /// /// Разбирает стандартный ответ HCS на операцию импорта с приемом ошибок /// - protected HouseManagement.getStateResultImportResultCommonResult ParseSingleImportResult(IHcsGetStateResult stateResult) + protected HouseManagement.getStateResultImportResultCommonResult ParseSingleImportResult(IHcsGetStateResultMany stateResult) { return ParseImportResults(stateResult, 1, true).First(); } @@ -129,7 +129,7 @@ namespace Hcs.ClientApi.HouseManagementApi /// Разбирает стандартный ответ HCS на операцию импорта с приемом ошибок /// protected HouseManagement.getStateResultImportResultCommonResult[] ParseImportResults( - IHcsGetStateResult stateResult, int commonResultRequiredCount, bool checkItemErrors) + IHcsGetStateResultMany stateResult, int commonResultRequiredCount, bool checkItemErrors) { var importResult = RequireSingleItem(stateResult.Items); if (IsArrayEmpty(importResult.Items)) throw new HcsException("Пустой ImportResult.Items"); diff --git a/Hcs.Client/ClientApi/NsiApi/HcsNsiMethod.cs b/Hcs.Client/ClientApi/NsiApi/HcsNsiMethod.cs index 116953f..5095485 100644 --- a/Hcs.Client/ClientApi/NsiApi/HcsNsiMethod.cs +++ b/Hcs.Client/ClientApi/NsiApi/HcsNsiMethod.cs @@ -9,14 +9,14 @@ using Nsi = Hcs.Service.Async.Nsi.v15_7_0_1; namespace Hcs.Service.Async.Nsi.v15_7_0_1 { public partial class AckRequestAck : IHcsAck { } - public partial class getStateResult : IHcsGetStateResult { } + public partial class getStateResult : IHcsGetStateResultMany { } public partial class Fault : IHcsFault { } public partial class HeaderType : IHcsHeaderType { } } namespace Hcs.ClientApi.NsiApi { - public class HcsNsiMethod : HcsRemoteCallMethod + internal class HcsNsiMethod : HcsRemoteCallMethod { public HcsEndPoints EndPoint => HcsEndPoints.NsiAsync; @@ -35,7 +35,7 @@ namespace Hcs.ClientApi.NsiApi return client; } - public async Task SendAndWaitResultAsync( + public async Task SendAndWaitResultAsync( object request, Func> sender, CancellationToken token) @@ -56,7 +56,7 @@ namespace Hcs.ClientApi.NsiApi } } - private async Task SendAndWaitResultAsyncImpl( + private async Task SendAndWaitResultAsyncImpl( object request, Func> sender, CancellationToken token) @@ -90,7 +90,7 @@ namespace Hcs.ClientApi.NsiApi /// Выполняет однократную проверку наличия результата. /// Возвращает null если результата еще нет. /// - protected override async Task TryGetResultAsync(IHcsAck sourceAck, CancellationToken token) + protected override async Task TryGetResultAsync(IHcsAck sourceAck, CancellationToken token) { using (var client = NewPortClient()) { diff --git a/Hcs.Client/ClientApi/NsiCommonApi/HcsMethodExportNsiCommon.cs b/Hcs.Client/ClientApi/NsiCommonApi/HcsMethodExportNsiCommon.cs new file mode 100644 index 0000000..3c29369 --- /dev/null +++ b/Hcs.Client/ClientApi/NsiCommonApi/HcsMethodExportNsiCommon.cs @@ -0,0 +1,88 @@ +using Hcs.ClientApi.DataTypes; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + +using NsiCommon = Hcs.Service.Async.NsiCommon.v15_7_0_1; + +namespace Hcs.ClientApi.NsiCommonApi +{ + /// + /// Операции экспорта общих справочников подсистемы НСИ + /// + internal class HcsMethodExportNsiCommon : HcsNsiCommonMethod + { + public HcsMethodExportNsiCommon(HcsClientConfig config) : base(config) + { + EnableMinimalResponseWaitDelay = true; + CanBeRestarted = true; + } + + /// + /// Возвращает общий справочник подсистемы НСИ + /// + /// Реестровый номер справочника + /// Токен отмены + /// Справочник + public async Task<ГисСправочник> GetNsiItem(int regNum, CancellationToken token) + { + var request = new NsiCommon.exportNsiItemRequest + { + Id = HcsConstants.SignedXmlElementId, + RegistryNumber = regNum.ToString(), + // http://open-gkh.ru/NsiCommon/exportNsiItemRequest.html + version = "10.0.1.2" + }; + + var stateResult = await SendAndWaitResultAsync(request, async (portClient) => + { + var response = await portClient.exportNsiItemAsync(CreateRequestHeader(), request); + return response.AckRequest.Ack; + }, token); + + return AdoptNsiItemType(stateResult.Item as NsiCommon.NsiItemType); + } + + private ГисСправочник AdoptNsiItemType(NsiCommon.NsiItemType input) + { + var справочник = new ГисСправочник() + { + реестровыйНомер = input.NsiItemRegistryNumber, + датаФормирования = input.Created, + элементы = AdoptNsiElementTypes(input.NsiElement) + }; + + return справочник; + } + + private ГисЭлементСправочника[] AdoptNsiElementTypes(NsiCommon.NsiElementType[] input) + { + var элементыСправочника = new List<ГисЭлементСправочника>(); + foreach (var element in input) + { + var поляЭлементаСправочника = new List<ГисПолеЭлементаСправочника>(); + foreach (var field in element.NsiElementField) + { + CallOnType(field, x => + { + поляЭлементаСправочника.Add(new ГисПолеЭлементаСправочника() + { + наименование = x.Name, + значение = x.Value + }); + }); + } + + элементыСправочника.Add(new ГисЭлементСправочника() + { + код = element.Code, + гуид = ParseGuid(element.GUID), + актуальный = element.IsActual, + поля = [.. поляЭлементаСправочника], + элементы = element.ChildElement?.Length > 0 ? AdoptNsiElementTypes(element.ChildElement) : null + }); + } + return [.. элементыСправочника]; + } + } +} diff --git a/Hcs.Client/ClientApi/NsiCommonApi/HcsNsiCommonApi.cs b/Hcs.Client/ClientApi/NsiCommonApi/HcsNsiCommonApi.cs new file mode 100644 index 0000000..e9ff8c2 --- /dev/null +++ b/Hcs.Client/ClientApi/NsiCommonApi/HcsNsiCommonApi.cs @@ -0,0 +1,35 @@ +using Hcs.ClientApi.DataTypes; +using System.Threading; +using System.Threading.Tasks; + +namespace Hcs.ClientApi.NsiCommonApi +{ + public class HcsNsiCommonApi + { + public HcsClientConfig Config { get; private set; } + + public HcsNsiCommonApi(HcsClientConfig config) + { + Config = config; + } + + /// + /// Возвращает данные справочников поставщика информации + /// + /// Реестровый номер справочника + /// Токен отмены + /// Список справочников + public async Task<ГисСправочник> GetNsiItem(int regNum, CancellationToken token = default) + { + try + { + var method = new HcsMethodExportNsiCommon(Config); + return await method.GetNsiItem(regNum, token); + } + catch (HcsNoResultsRemoteException) + { + return null; + } + } + } +} diff --git a/Hcs.Client/ClientApi/NsiCommonApi/HcsNsiCommonMethod.cs b/Hcs.Client/ClientApi/NsiCommonApi/HcsNsiCommonMethod.cs new file mode 100644 index 0000000..e98aada --- /dev/null +++ b/Hcs.Client/ClientApi/NsiCommonApi/HcsNsiCommonMethod.cs @@ -0,0 +1,111 @@ +using Hcs.ClientApi.RemoteCaller; +using System; +using System.Threading; +using System.Threading.Tasks; + +using NsiCommon = Hcs.Service.Async.NsiCommon.v15_7_0_1; + +namespace Hcs.Service.Async.NsiCommon.v15_7_0_1 +{ + public partial class AckRequestAck : IHcsAck { } + public partial class getStateResult : IHcsGetStateResultOne { } + public partial class Fault : IHcsFault { } + public partial class HeaderType : IHcsHeaderType { } +} + +namespace Hcs.ClientApi.NsiCommonApi +{ + internal class HcsNsiCommonMethod : HcsRemoteCallMethod + { + public HcsEndPoints EndPoint => HcsEndPoints.NsiCommonAsync; + + public NsiCommon.ISRequestHeader CreateRequestHeader() => + HcsRequestHelper.CreateHeader(ClientConfig); + + public HcsNsiCommonMethod(HcsClientConfig config) : base(config) { } + + public System.ServiceModel.EndpointAddress RemoteAddress + => GetEndpointAddress(HcsConstants.EndPointLocator.GetPath(EndPoint)); + + private NsiCommon.NsiPortsTypeAsyncClient NewPortClient() + { + var client = new NsiCommon.NsiPortsTypeAsyncClient(_binding, RemoteAddress); + ConfigureEndpointCredentials(client.Endpoint, client.ClientCredentials); + return client; + } + + public async Task SendAndWaitResultAsync( + object request, + Func> sender, + CancellationToken token) + { + token.ThrowIfCancellationRequested(); + + while (true) + { + try + { + return await SendAndWaitResultAsyncImpl(request, sender, token); + } + catch (HcsRestartTimeoutException e) + { + if (!CanBeRestarted) throw new HcsException("Превышен лимит ожидания выполнения запроса", e); + Log($"Перезапускаем запрос типа {request.GetType().Name}..."); + } + } + } + + private async Task SendAndWaitResultAsyncImpl( + object request, + Func> sender, + CancellationToken token) + { + if (request == null) throw new ArgumentNullException("Null request"); + string version = HcsRequestHelper.GetRequestVersionString(request); + _config.Log($"Отправляем запрос: {RemoteAddress.Uri}/{request.GetType().Name} в версии {version}..."); + + var stopWatch = System.Diagnostics.Stopwatch.StartNew(); + + IHcsAck ack; + using (var client = NewPortClient()) + { + ack = await sender(client); + } + + stopWatch.Stop(); + _config.Log($"Запрос принят в обработку за {stopWatch.ElapsedMilliseconds}мс., подтверждение {ack.MessageGUID}"); + + var stateResult = await WaitForResultAsync(ack, true, token); + + if (stateResult.Item is NsiCommon.ErrorMessageType x) + { + throw HcsRemoteException.CreateNew(x.ErrorCode, x.Description); + } + + return stateResult; + } + + /// + /// Выполняет однократную проверку наличия результата. + /// Возвращает null если результата еще нет. + /// + protected override async Task TryGetResultAsync(IHcsAck sourceAck, CancellationToken token) + { + using (var client = NewPortClient()) + { + var requestHeader = HcsRequestHelper.CreateHeader(_config); + var requestBody = new NsiCommon.getStateRequest { MessageGUID = sourceAck.MessageGUID }; + + var response = await client.getStateAsync(requestHeader, requestBody); + var resultBody = response.getStateResult; + + if (resultBody.RequestState == HcsAsyncRequestStateTypes.Ready) + { + return resultBody; + } + + return null; + } + } + } +} diff --git a/Hcs.Client/ClientApi/OrgRegistryCommonApi/HcsOrgRegistryCommonMethod.cs b/Hcs.Client/ClientApi/OrgRegistryCommonApi/HcsOrgRegistryCommonMethod.cs index 7a59207..e1212be 100644 --- a/Hcs.Client/ClientApi/OrgRegistryCommonApi/HcsOrgRegistryCommonMethod.cs +++ b/Hcs.Client/ClientApi/OrgRegistryCommonApi/HcsOrgRegistryCommonMethod.cs @@ -9,14 +9,14 @@ using OrgRegistryCommon = Hcs.Service.Async.OrgRegistryCommon.v15_7_0_1; namespace Hcs.Service.Async.OrgRegistryCommon.v15_7_0_1 { public partial class AckRequestAck : IHcsAck { } - public partial class getStateResult : IHcsGetStateResult { } + public partial class getStateResult : IHcsGetStateResultMany { } public partial class Fault : IHcsFault { } public partial class HeaderType : IHcsHeaderType { } } namespace Hcs.ClientApi.OrgRegistryCommonApi { - public class HcsOrgRegistryCommonMethod : HcsRemoteCallMethod + public class HcsOrgRegistryCommonMethod : HcsRemoteCallMethod { public HcsEndPoints EndPoint => HcsEndPoints.OrgRegistryCommonAsync; @@ -35,7 +35,7 @@ namespace Hcs.ClientApi.OrgRegistryCommonApi return client; } - public async Task SendAndWaitResultAsync( + public async Task SendAndWaitResultAsync( object request, Func> sender, CancellationToken token) @@ -56,7 +56,7 @@ namespace Hcs.ClientApi.OrgRegistryCommonApi } } - private async Task SendAndWaitResultAsyncImpl( + private async Task SendAndWaitResultAsyncImpl( object request, Func> sender, CancellationToken token) @@ -90,7 +90,7 @@ namespace Hcs.ClientApi.OrgRegistryCommonApi /// Выполняет однократную проверку наличия результата. /// Возвращает null если результата еще нет. /// - protected override async Task TryGetResultAsync(IHcsAck sourceAck, CancellationToken token) + protected override async Task TryGetResultAsync(IHcsAck sourceAck, CancellationToken token) { using (var client = NewPortClient()) { diff --git a/Hcs.Client/ClientApi/RemoteCaller/HcsRemoteCallMethod.cs b/Hcs.Client/ClientApi/RemoteCaller/HcsRemoteCallMethod.cs index f6d1db4..4fa93e5 100644 --- a/Hcs.Client/ClientApi/RemoteCaller/HcsRemoteCallMethod.cs +++ b/Hcs.Client/ClientApi/RemoteCaller/HcsRemoteCallMethod.cs @@ -13,7 +13,7 @@ namespace Hcs.ClientApi.RemoteCaller /// /// Базовый класс для методов HCS вызываемых удаленно /// - public abstract class HcsRemoteCallMethod + public abstract class HcsRemoteCallMethod where T : IHcsGetStateResult { public HcsClientConfig _config; protected CustomBinding _binding; @@ -144,7 +144,7 @@ namespace Hcs.ClientApi.RemoteCaller /// Выполнение одной попытки пооучить результат операции. /// Реализуется в производных классах. /// - protected abstract Task TryGetResultAsync(IHcsAck sourceAck, CancellationToken token); + protected abstract Task TryGetResultAsync(IHcsAck sourceAck, CancellationToken token); /// /// Основной алгоритм ожидания ответа на асинхронный запрос. @@ -156,11 +156,11 @@ namespace Hcs.ClientApi.RemoteCaller /// - в случае, если на третий запрос getSate получен результат с RequestState равным "1" или "2", то следующий запрос getState необходимо направлять не ранее чем через 900 секунд после отправки предыдущего запроса; /// - в случае, если на четвертый(и все последующие запросы) getState получен результат с RequestState равным "1" или "2", то следующий запрос getState необходимо направлять не ранее чем через 1800 секунд после отправки предыдущего запроса. /// - protected async Task WaitForResultAsync( + protected async Task WaitForResultAsync( IHcsAck ack, bool withInitialDelay, CancellationToken token) { var startTime = DateTime.Now; - IHcsGetStateResult result; + T result; for (int attempts = 1; ; attempts++) { token.ThrowIfCancellationRequested(); @@ -190,7 +190,7 @@ namespace Hcs.ClientApi.RemoteCaller if (result != null) break; } - _config.Log($"Ответ получен, число частей: {result.Items.Count()}"); + _config.Log($"Ответ получен"); return result; } diff --git a/Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResult.cs b/Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResult.cs index 87b4cea..3a4e91d 100644 --- a/Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResult.cs +++ b/Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResult.cs @@ -1,7 +1,7 @@ namespace Hcs.ClientApi.RemoteCaller { - public interface IHcsGetStateResult - { - object[] Items { get; set; } - } + /// + /// Интерфейс-маркер + /// + public interface IHcsGetStateResult { } } diff --git a/Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResultMany.cs b/Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResultMany.cs new file mode 100644 index 0000000..a8b6729 --- /dev/null +++ b/Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResultMany.cs @@ -0,0 +1,7 @@ +namespace Hcs.ClientApi.RemoteCaller +{ + public interface IHcsGetStateResultMany : IHcsGetStateResult + { + object[] Items { get; set; } + } +} diff --git a/Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResultOne.cs b/Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResultOne.cs new file mode 100644 index 0000000..ccb8164 --- /dev/null +++ b/Hcs.Client/ClientApi/RemoteCaller/IHcsGetStateResultOne.cs @@ -0,0 +1,7 @@ +namespace Hcs.ClientApi.RemoteCaller +{ + public interface IHcsGetStateResultOne : IHcsGetStateResult + { + object Item { get; set; } + } +} diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest.datasource new file mode 100644 index 0000000..3e70abc --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest, Connected Services.Service.Async.NsiCommon.v15_7_0_1.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader.datasource new file mode 100644 index 0000000..b83d169 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader, Connected Services.Service.Async.NsiCommon.v15_7_0_1.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemResponse.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemResponse.datasource new file mode 100644 index 0000000..856fd2f --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemResponse.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemResponse, Connected Services.Service.Async.NsiCommon.v15_7_0_1.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListResponse.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListResponse.datasource new file mode 100644 index 0000000..381dd03 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListResponse.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListResponse, Connected Services.Service.Async.NsiCommon.v15_7_0_1.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemResponse.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemResponse.datasource new file mode 100644 index 0000000..ceb6f35 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemResponse.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemResponse, Connected Services.Service.Async.NsiCommon.v15_7_0_1.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResponse.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResponse.datasource new file mode 100644 index 0000000..38b04c6 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResponse.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResponse, Connected Services.Service.Async.NsiCommon.v15_7_0_1.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResult.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResult.datasource new file mode 100644 index 0000000..c5724e6 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResult.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResult, Connected Services.Service.Async.NsiCommon.v15_7_0_1.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Reference.cs b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Reference.cs new file mode 100644 index 0000000..2f8125c --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Reference.cs @@ -0,0 +1,3356 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace Hcs.Service.Async.NsiCommon.v15_7_0_1 { + + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class Fault : object, System.ComponentModel.INotifyPropertyChanged { + + private string errorCodeField; + + private string errorMessageField; + + private string stackTraceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ErrorCode { + get { + return this.errorCodeField; + } + set { + this.errorCodeField = value; + this.RaisePropertyChanged("ErrorCode"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ErrorMessage { + get { + return this.errorMessageField; + } + set { + this.errorMessageField = value; + this.RaisePropertyChanged("ErrorMessage"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string StackTrace { + get { + return this.stackTraceField; + } + set { + this.stackTraceField = value; + this.RaisePropertyChanged("StackTrace"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ObjectType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string idField; + + private string mimeTypeField; + + private string encodingField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string MimeType { + get { + return this.mimeTypeField; + } + set { + this.mimeTypeField = value; + this.RaisePropertyChanged("MimeType"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Encoding { + get { + return this.encodingField; + } + set { + this.encodingField = value; + this.RaisePropertyChanged("Encoding"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SPKIDataType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SPKISexp", typeof(byte[]), DataType="base64Binary", Order=0)] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class PGPDataType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType1[] itemsElementNameField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPKeyID", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPKeyPacket", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType1[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType1 { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + PGPKeyID, + + /// + PGPKeyPacket, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class X509IssuerSerialType : object, System.ComponentModel.INotifyPropertyChanged { + + private string x509IssuerNameField; + + private string x509SerialNumberField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string X509IssuerName { + get { + return this.x509IssuerNameField; + } + set { + this.x509IssuerNameField = value; + this.RaisePropertyChanged("X509IssuerName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=1)] + public string X509SerialNumber { + get { + return this.x509SerialNumberField; + } + set { + this.x509SerialNumberField = value; + this.RaisePropertyChanged("X509SerialNumber"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class X509DataType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType[] itemsElementNameField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509CRL", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509Certificate", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509IssuerSerial", typeof(X509IssuerSerialType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509SKI", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509SubjectName", typeof(string), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + X509CRL, + + /// + X509Certificate, + + /// + X509IssuerSerial, + + /// + X509SKI, + + /// + X509SubjectName, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class RetrievalMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private TransformType[] transformsField; + + private string uRIField; + + private string typeField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] + public TransformType[] Transforms { + get { + return this.transformsField; + } + set { + this.transformsField = value; + this.RaisePropertyChanged("Transforms"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { + get { + return this.uRIField; + } + set { + this.uRIField = value; + this.RaisePropertyChanged("URI"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { + get { + return this.typeField; + } + set { + this.typeField = value; + this.RaisePropertyChanged("Type"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class TransformType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private string[] textField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("XPath", typeof(string), Order=0)] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class RSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private byte[] modulusField; + + private byte[] exponentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] Modulus { + get { + return this.modulusField; + } + set { + this.modulusField = value; + this.RaisePropertyChanged("Modulus"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] Exponent { + get { + return this.exponentField; + } + set { + this.exponentField = value; + this.RaisePropertyChanged("Exponent"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class DSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private byte[] pField; + + private byte[] qField; + + private byte[] gField; + + private byte[] yField; + + private byte[] jField; + + private byte[] seedField; + + private byte[] pgenCounterField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] P { + get { + return this.pField; + } + set { + this.pField = value; + this.RaisePropertyChanged("P"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] Q { + get { + return this.qField; + } + set { + this.qField = value; + this.RaisePropertyChanged("Q"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] + public byte[] G { + get { + return this.gField; + } + set { + this.gField = value; + this.RaisePropertyChanged("G"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=3)] + public byte[] Y { + get { + return this.yField; + } + set { + this.yField = value; + this.RaisePropertyChanged("Y"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=4)] + public byte[] J { + get { + return this.jField; + } + set { + this.jField = value; + this.RaisePropertyChanged("J"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=5)] + public byte[] Seed { + get { + return this.seedField; + } + set { + this.seedField = value; + this.RaisePropertyChanged("Seed"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=6)] + public byte[] PgenCounter { + get { + return this.pgenCounterField; + } + set { + this.pgenCounterField = value; + this.RaisePropertyChanged("PgenCounter"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class KeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private object itemField; + + private string[] textField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("DSAKeyValue", typeof(DSAKeyValueType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("RSAKeyValue", typeof(RSAKeyValueType), Order=0)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class KeyInfoType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType2[] itemsElementNameField; + + private string[] textField; + + private string idField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyName", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyValue", typeof(KeyValueType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("MgmtData", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPData", typeof(PGPDataType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("RetrievalMethod", typeof(RetrievalMethodType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SPKIData", typeof(SPKIDataType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509Data", typeof(X509DataType), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType2[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType2 { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + KeyName, + + /// + KeyValue, + + /// + MgmtData, + + /// + PGPData, + + /// + RetrievalMethod, + + /// + SPKIData, + + /// + X509Data, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private byte[] valueField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute(DataType="base64Binary")] + public byte[] Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class DigestMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ReferenceType : object, System.ComponentModel.INotifyPropertyChanged { + + private TransformType[] transformsField; + + private DigestMethodType digestMethodField; + + private byte[] digestValueField; + + private string idField; + + private string uRIField; + + private string typeField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] + public TransformType[] Transforms { + get { + return this.transformsField; + } + set { + this.transformsField = value; + this.RaisePropertyChanged("Transforms"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public DigestMethodType DigestMethod { + get { + return this.digestMethodField; + } + set { + this.digestMethodField = value; + this.RaisePropertyChanged("DigestMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] + public byte[] DigestValue { + get { + return this.digestValueField; + } + set { + this.digestValueField = value; + this.RaisePropertyChanged("DigestValue"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { + get { + return this.uRIField; + } + set { + this.uRIField = value; + this.RaisePropertyChanged("URI"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { + get { + return this.typeField; + } + set { + this.typeField = value; + this.RaisePropertyChanged("Type"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private string hMACOutputLengthField; + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=0)] + public string HMACOutputLength { + get { + return this.hMACOutputLengthField; + } + set { + this.hMACOutputLengthField = value; + this.RaisePropertyChanged("HMACOutputLength"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class CanonicalizationMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignedInfoType : object, System.ComponentModel.INotifyPropertyChanged { + + private CanonicalizationMethodType canonicalizationMethodField; + + private SignatureMethodType signatureMethodField; + + private ReferenceType[] referenceField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public CanonicalizationMethodType CanonicalizationMethod { + get { + return this.canonicalizationMethodField; + } + set { + this.canonicalizationMethodField = value; + this.RaisePropertyChanged("CanonicalizationMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public SignatureMethodType SignatureMethod { + get { + return this.signatureMethodField; + } + set { + this.signatureMethodField = value; + this.RaisePropertyChanged("SignatureMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Reference", Order=2)] + public ReferenceType[] Reference { + get { + return this.referenceField; + } + set { + this.referenceField = value; + this.RaisePropertyChanged("Reference"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureType : object, System.ComponentModel.INotifyPropertyChanged { + + private SignedInfoType signedInfoField; + + private SignatureValueType signatureValueField; + + private KeyInfoType keyInfoField; + + private ObjectType[] objectField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public SignedInfoType SignedInfo { + get { + return this.signedInfoField; + } + set { + this.signedInfoField = value; + this.RaisePropertyChanged("SignedInfo"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public SignatureValueType SignatureValue { + get { + return this.signatureValueField; + } + set { + this.signatureValueField = value; + this.RaisePropertyChanged("SignatureValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public KeyInfoType KeyInfo { + get { + return this.keyInfoField; + } + set { + this.keyInfoField = value; + this.RaisePropertyChanged("KeyInfo"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Object", Order=3)] + public ObjectType[] Object { + get { + return this.objectField; + } + set { + this.objectField = value; + this.RaisePropertyChanged("Object"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(BaseAsyncResponseType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class BaseType : object, System.ComponentModel.INotifyPropertyChanged { + + private SignatureType signatureField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", Order=0)] + public SignatureType Signature { + get { + return this.signatureField; + } + set { + this.signatureField = value; + this.RaisePropertyChanged("Signature"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class BaseAsyncResponseType : BaseType { + + private sbyte requestStateField; + + private string messageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public sbyte RequestState { + get { + return this.requestStateField; + } + set { + this.requestStateField = value; + this.RaisePropertyChanged("RequestState"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common-service-async/", ConfigurationName="Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync")] + public interface NsiPortsTypeAsync { + + // CODEGEN: Контракт генерации сообщений с операцией exportNsiList не является ни RPC, ни упакованным документом. + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiList", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(Hcs.Service.Async.NsiCommon.v15_7_0_1.Fault), Action="urn:exportNsiList", Name="Fault", Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseType))] + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListResponse exportNsiList(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest1 request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiList", ReplyAction="*")] + System.Threading.Tasks.Task exportNsiListAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest1 request); + + // CODEGEN: Контракт генерации сообщений с операцией exportNsiItem не является ни RPC, ни упакованным документом. + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiItem", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(Hcs.Service.Async.NsiCommon.v15_7_0_1.Fault), Action="urn:exportNsiItem", Name="Fault", Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseType))] + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemResponse exportNsiItem(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest1 request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiItem", ReplyAction="*")] + System.Threading.Tasks.Task exportNsiItemAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest1 request); + + // CODEGEN: Контракт генерации сообщений с операцией exportNsiPagingItem не является ни RPC, ни упакованным документом. + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiPagingItem", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(Hcs.Service.Async.NsiCommon.v15_7_0_1.Fault), Action="urn:exportNsiPagingItem", Name="Fault", Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseType))] + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemResponse exportNsiPagingItem(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest1 request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiPagingItem", ReplyAction="*")] + System.Threading.Tasks.Task exportNsiPagingItemAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest1 request); + + // CODEGEN: Контракт генерации сообщений с операцией getState не является ни RPC, ни упакованным документом. + [System.ServiceModel.OperationContractAttribute(Action="urn:getState", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(Hcs.Service.Async.NsiCommon.v15_7_0_1.Fault), Action="urn:getState", Name="Fault", Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseType))] + Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResponse getState(Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest1 request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:getState", ReplyAction="*")] + System.Threading.Tasks.Task getStateAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest1 request); + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class ISRequestHeader : HeaderType { + + private ISCreator[] iSCreatorField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ISCreator", Order=0)] + public ISCreator[] ISCreator { + get { + return this.iSCreatorField; + } + set { + this.iSCreatorField = value; + this.RaisePropertyChanged("ISCreator"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class ISCreator : object, System.ComponentModel.INotifyPropertyChanged { + + private string iSNameField; + + private string iSOperatorNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ISName { + get { + return this.iSNameField; + } + set { + this.iSNameField = value; + this.RaisePropertyChanged("ISName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ISOperatorName { + get { + return this.iSOperatorNameField; + } + set { + this.iSOperatorNameField = value; + this.RaisePropertyChanged("ISOperatorName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class HeaderType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime dateField; + + private string messageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime Date { + get { + return this.dateField; + } + set { + this.dateField = value; + this.RaisePropertyChanged("Date"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/")] + public partial class exportNsiListRequest : BaseType { + + private ListGroup listGroupField; + + private bool listGroupFieldSpecified; + + private string versionField; + + public exportNsiListRequest() { + this.versionField = "10.0.1.2"; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/", Order=0)] + public ListGroup ListGroup { + get { + return this.listGroupField; + } + set { + this.listGroupField = value; + this.RaisePropertyChanged("ListGroup"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ListGroupSpecified { + get { + return this.listGroupFieldSpecified; + } + set { + this.listGroupFieldSpecified = value; + this.RaisePropertyChanged("ListGroupSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public string version { + get { + return this.versionField; + } + set { + this.versionField = value; + this.RaisePropertyChanged("version"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public enum ListGroup { + + /// + NSI, + + /// + NSIRAO, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class ResultHeader : HeaderType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class AckRequest : object, System.ComponentModel.INotifyPropertyChanged { + + private AckRequestAck ackField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public AckRequestAck Ack { + get { + return this.ackField; + } + set { + this.ackField = value; + this.RaisePropertyChanged("Ack"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class AckRequestAck : object, System.ComponentModel.INotifyPropertyChanged { + + private string messageGUIDField; + + private string requesterMessageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string RequesterMessageGUID { + get { + return this.requesterMessageGUIDField; + } + set { + this.requesterMessageGUIDField = value; + this.RaisePropertyChanged("RequesterMessageGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiListRequest1 { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/", Order=0)] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest exportNsiListRequest; + + public exportNsiListRequest1() { + } + + public exportNsiListRequest1(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest exportNsiListRequest) { + this.ISRequestHeader = ISRequestHeader; + this.exportNsiListRequest = exportNsiListRequest; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiListResponse { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader ResultHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest AckRequest; + + public exportNsiListResponse() { + } + + public exportNsiListResponse(Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader ResultHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest AckRequest) { + this.ResultHeader = ResultHeader; + this.AckRequest = AckRequest; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/")] + public partial class exportNsiItemRequest : BaseType { + + private string registryNumberField; + + private ListGroup listGroupField; + + private System.DateTime modifiedAfterField; + + private bool modifiedAfterFieldSpecified; + + private string versionField; + + public exportNsiItemRequest() { + this.versionField = "10.0.1.2"; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string RegistryNumber { + get { + return this.registryNumberField; + } + set { + this.registryNumberField = value; + this.RaisePropertyChanged("RegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/", Order=1)] + public ListGroup ListGroup { + get { + return this.listGroupField; + } + set { + this.listGroupField = value; + this.RaisePropertyChanged("ListGroup"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime ModifiedAfter { + get { + return this.modifiedAfterField; + } + set { + this.modifiedAfterField = value; + this.RaisePropertyChanged("ModifiedAfter"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ModifiedAfterSpecified { + get { + return this.modifiedAfterFieldSpecified; + } + set { + this.modifiedAfterFieldSpecified = value; + this.RaisePropertyChanged("ModifiedAfterSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public string version { + get { + return this.versionField; + } + set { + this.versionField = value; + this.RaisePropertyChanged("version"); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiItemRequest1 { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/", Order=0)] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest exportNsiItemRequest; + + public exportNsiItemRequest1() { + } + + public exportNsiItemRequest1(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest exportNsiItemRequest) { + this.ISRequestHeader = ISRequestHeader; + this.exportNsiItemRequest = exportNsiItemRequest; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiItemResponse { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader ResultHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest AckRequest; + + public exportNsiItemResponse() { + } + + public exportNsiItemResponse(Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader ResultHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest AckRequest) { + this.ResultHeader = ResultHeader; + this.AckRequest = AckRequest; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/")] + public partial class exportNsiPagingItemRequest : BaseType { + + private string registryNumberField; + + private ListGroup listGroupField; + + private int pageField; + + private System.DateTime modifiedAfterField; + + private bool modifiedAfterFieldSpecified; + + private string versionField; + + public exportNsiPagingItemRequest() { + this.versionField = "10.0.1.2"; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string RegistryNumber { + get { + return this.registryNumberField; + } + set { + this.registryNumberField = value; + this.RaisePropertyChanged("RegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/", Order=1)] + public ListGroup ListGroup { + get { + return this.listGroupField; + } + set { + this.listGroupField = value; + this.RaisePropertyChanged("ListGroup"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public int Page { + get { + return this.pageField; + } + set { + this.pageField = value; + this.RaisePropertyChanged("Page"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.DateTime ModifiedAfter { + get { + return this.modifiedAfterField; + } + set { + this.modifiedAfterField = value; + this.RaisePropertyChanged("ModifiedAfter"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ModifiedAfterSpecified { + get { + return this.modifiedAfterFieldSpecified; + } + set { + this.modifiedAfterFieldSpecified = value; + this.RaisePropertyChanged("ModifiedAfterSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public string version { + get { + return this.versionField; + } + set { + this.versionField = value; + this.RaisePropertyChanged("version"); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiPagingItemRequest1 { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/", Order=0)] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest exportNsiPagingItemRequest; + + public exportNsiPagingItemRequest1() { + } + + public exportNsiPagingItemRequest1(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest exportNsiPagingItemRequest) { + this.ISRequestHeader = ISRequestHeader; + this.exportNsiPagingItemRequest = exportNsiPagingItemRequest; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiPagingItemResponse { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader ResultHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest AckRequest; + + public exportNsiPagingItemResponse() { + } + + public exportNsiPagingItemResponse(Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader ResultHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest AckRequest) { + this.ResultHeader = ResultHeader; + this.AckRequest = AckRequest; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class getStateRequest : object, System.ComponentModel.INotifyPropertyChanged { + + private string messageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/")] + public partial class getStateResult : BaseAsyncResponseType { + + private object itemField; + + private string versionField; + + public getStateResult() { + this.versionField = "10.0.1.2"; + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ErrorMessage", typeof(ErrorMessageType), Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("NsiItem", typeof(NsiItemType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("NsiList", typeof(NsiListType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("NsiPagingItem", typeof(getStateResultNsiPagingItem), Order=0)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public string version { + get { + return this.versionField; + } + set { + this.versionField = value; + this.RaisePropertyChanged("version"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class ErrorMessageType : object, System.ComponentModel.INotifyPropertyChanged { + + private string errorCodeField; + + private string descriptionField; + + private string stackTraceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ErrorCode { + get { + return this.errorCodeField; + } + set { + this.errorCodeField = value; + this.RaisePropertyChanged("ErrorCode"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string StackTrace { + get { + return this.stackTraceField; + } + set { + this.stackTraceField = value; + this.RaisePropertyChanged("StackTrace"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiItemType : object, System.ComponentModel.INotifyPropertyChanged { + + private string nsiItemRegistryNumberField; + + private System.DateTime createdField; + + private NsiElementType[] nsiElementField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string NsiItemRegistryNumber { + get { + return this.nsiItemRegistryNumberField; + } + set { + this.nsiItemRegistryNumberField = value; + this.RaisePropertyChanged("NsiItemRegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime Created { + get { + return this.createdField; + } + set { + this.createdField = value; + this.RaisePropertyChanged("Created"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("NsiElement", Order=2)] + public NsiElementType[] NsiElement { + get { + return this.nsiElementField; + } + set { + this.nsiElementField = value; + this.RaisePropertyChanged("NsiElement"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementType : object, System.ComponentModel.INotifyPropertyChanged { + + private string codeField; + + private string gUIDField; + + private System.DateTime[] itemsField; + + private ItemsChoiceType3[] itemsElementNameField; + + private bool isActualField; + + private NsiElementFieldType[] nsiElementFieldField; + + private NsiElementType[] childElementField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Code { + get { + return this.codeField; + } + set { + this.codeField = value; + this.RaisePropertyChanged("Code"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string GUID { + get { + return this.gUIDField; + } + set { + this.gUIDField = value; + this.RaisePropertyChanged("GUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("EndDate", typeof(System.DateTime), Order=2)] + [System.Xml.Serialization.XmlElementAttribute("Modified", typeof(System.DateTime), Order=2)] + [System.Xml.Serialization.XmlElementAttribute("StartDate", typeof(System.DateTime), Order=2)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public System.DateTime[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=3)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType3[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsActual { + get { + return this.isActualField; + } + set { + this.isActualField = value; + this.RaisePropertyChanged("IsActual"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("NsiElementField", Order=5)] + public NsiElementFieldType[] NsiElementField { + get { + return this.nsiElementFieldField; + } + set { + this.nsiElementFieldField = value; + this.RaisePropertyChanged("NsiElementField"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ChildElement", Order=6)] + public NsiElementType[] ChildElement { + get { + return this.childElementField; + } + set { + this.childElementField = value; + this.RaisePropertyChanged("ChildElement"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/", IncludeInSchema=false)] + public enum ItemsChoiceType3 { + + /// + EndDate, + + /// + Modified, + + /// + StartDate, + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementAttachmentFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementFiasAddressRefFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementOkeiRefFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementNsiRefFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementNsiFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementEnumFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementIntegerFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementDateFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementFloatFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementBooleanFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementStringFieldType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public abstract partial class NsiElementFieldType : object, System.ComponentModel.INotifyPropertyChanged { + + private string nameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementAttachmentFieldType : NsiElementFieldType { + + private AttachmentType documentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public AttachmentType Document { + get { + return this.documentField; + } + set { + this.documentField = value; + this.RaisePropertyChanged("Document"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class AttachmentType : object, System.ComponentModel.INotifyPropertyChanged { + + private string nameField; + + private string descriptionField; + + private Attachment attachmentField; + + private string attachmentHASHField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public Attachment Attachment { + get { + return this.attachmentField; + } + set { + this.attachmentField = value; + this.RaisePropertyChanged("Attachment"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string AttachmentHASH { + get { + return this.attachmentHASHField; + } + set { + this.attachmentHASHField = value; + this.RaisePropertyChanged("AttachmentHASH"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class Attachment : object, System.ComponentModel.INotifyPropertyChanged { + + private string attachmentGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string AttachmentGUID { + get { + return this.attachmentGUIDField; + } + set { + this.attachmentGUIDField = value; + this.RaisePropertyChanged("AttachmentGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementFiasAddressRefFieldType : NsiElementFieldType { + + private NsiElementFiasAddressRefFieldTypeNsiRef nsiRefField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public NsiElementFiasAddressRefFieldTypeNsiRef NsiRef { + get { + return this.nsiRefField; + } + set { + this.nsiRefField = value; + this.RaisePropertyChanged("NsiRef"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementFiasAddressRefFieldTypeNsiRef : object, System.ComponentModel.INotifyPropertyChanged { + + private string guidField; + + private string aoGuidField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Guid { + get { + return this.guidField; + } + set { + this.guidField = value; + this.RaisePropertyChanged("Guid"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string aoGuid { + get { + return this.aoGuidField; + } + set { + this.aoGuidField = value; + this.RaisePropertyChanged("aoGuid"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementOkeiRefFieldType : NsiElementFieldType { + + private string codeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Code { + get { + return this.codeField; + } + set { + this.codeField = value; + this.RaisePropertyChanged("Code"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementNsiRefFieldType : NsiElementFieldType { + + private NsiElementNsiRefFieldTypeNsiRef nsiRefField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public NsiElementNsiRefFieldTypeNsiRef NsiRef { + get { + return this.nsiRefField; + } + set { + this.nsiRefField = value; + this.RaisePropertyChanged("NsiRef"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementNsiRefFieldTypeNsiRef : object, System.ComponentModel.INotifyPropertyChanged { + + private string nsiItemRegistryNumberField; + + private nsiRef refField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string NsiItemRegistryNumber { + get { + return this.nsiItemRegistryNumberField; + } + set { + this.nsiItemRegistryNumberField = value; + this.RaisePropertyChanged("NsiItemRegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public nsiRef Ref { + get { + return this.refField; + } + set { + this.refField = value; + this.RaisePropertyChanged("Ref"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class nsiRef : object, System.ComponentModel.INotifyPropertyChanged { + + private string codeField; + + private string gUIDField; + + private string nameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Code { + get { + return this.codeField; + } + set { + this.codeField = value; + this.RaisePropertyChanged("Code"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string GUID { + get { + return this.gUIDField; + } + set { + this.gUIDField = value; + this.RaisePropertyChanged("GUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementNsiFieldType : NsiElementFieldType { + + private NsiElementNsiFieldTypeNsiRef nsiRefField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public NsiElementNsiFieldTypeNsiRef NsiRef { + get { + return this.nsiRefField; + } + set { + this.nsiRefField = value; + this.RaisePropertyChanged("NsiRef"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementNsiFieldTypeNsiRef : object, System.ComponentModel.INotifyPropertyChanged { + + private string nsiItemRegistryNumberField; + + private ListGroup listGroupField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string NsiItemRegistryNumber { + get { + return this.nsiItemRegistryNumberField; + } + set { + this.nsiItemRegistryNumberField = value; + this.RaisePropertyChanged("NsiItemRegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ListGroup ListGroup { + get { + return this.listGroupField; + } + set { + this.listGroupField = value; + this.RaisePropertyChanged("ListGroup"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementEnumFieldType : NsiElementFieldType { + + private NsiElementEnumFieldTypePosition[] positionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Position", Order=0)] + public NsiElementEnumFieldTypePosition[] Position { + get { + return this.positionField; + } + set { + this.positionField = value; + this.RaisePropertyChanged("Position"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementEnumFieldTypePosition : object, System.ComponentModel.INotifyPropertyChanged { + + private object gUIDField; + + private string valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public object GUID { + get { + return this.gUIDField; + } + set { + this.gUIDField = value; + this.RaisePropertyChanged("GUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementIntegerFieldType : NsiElementFieldType { + + private string valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=0)] + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementDateFieldType : NsiElementFieldType { + + private System.DateTime valueField; + + private bool valueFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=0)] + public System.DateTime Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ValueSpecified { + get { + return this.valueFieldSpecified; + } + set { + this.valueFieldSpecified = value; + this.RaisePropertyChanged("ValueSpecified"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementFloatFieldType : NsiElementFieldType { + + private float valueField; + + private bool valueFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public float Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ValueSpecified { + get { + return this.valueFieldSpecified; + } + set { + this.valueFieldSpecified = value; + this.RaisePropertyChanged("ValueSpecified"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementBooleanFieldType : NsiElementFieldType { + + private bool valueField; + + private bool valueFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ValueSpecified { + get { + return this.valueFieldSpecified; + } + set { + this.valueFieldSpecified = value; + this.RaisePropertyChanged("ValueSpecified"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementStringFieldType : NsiElementFieldType { + + private string valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiListType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime createdField; + + private NsiItemInfoType[] nsiItemInfoField; + + private ListGroup listGroupField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime Created { + get { + return this.createdField; + } + set { + this.createdField = value; + this.RaisePropertyChanged("Created"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("NsiItemInfo", Order=1)] + public NsiItemInfoType[] NsiItemInfo { + get { + return this.nsiItemInfoField; + } + set { + this.nsiItemInfoField = value; + this.RaisePropertyChanged("NsiItemInfo"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ListGroup ListGroup { + get { + return this.listGroupField; + } + set { + this.listGroupField = value; + this.RaisePropertyChanged("ListGroup"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiItemInfoType : object, System.ComponentModel.INotifyPropertyChanged { + + private string registryNumberField; + + private string nameField; + + private System.DateTime modifiedField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string RegistryNumber { + get { + return this.registryNumberField; + } + set { + this.registryNumberField = value; + this.RaisePropertyChanged("RegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime Modified { + get { + return this.modifiedField; + } + set { + this.modifiedField = value; + this.RaisePropertyChanged("Modified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/")] + public partial class getStateResultNsiPagingItem : NsiItemType { + + private int totalItemsCountField; + + private int totalPagesField; + + private object currentPageField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public int TotalItemsCount { + get { + return this.totalItemsCountField; + } + set { + this.totalItemsCountField = value; + this.RaisePropertyChanged("TotalItemsCount"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int TotalPages { + get { + return this.totalPagesField; + } + set { + this.totalPagesField = value; + this.RaisePropertyChanged("TotalPages"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public object CurrentPage { + get { + return this.currentPageField; + } + set { + this.currentPageField = value; + this.RaisePropertyChanged("CurrentPage"); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class getStateRequest1 { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest getStateRequest; + + public getStateRequest1() { + } + + public getStateRequest1(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest getStateRequest) { + this.ISRequestHeader = ISRequestHeader; + this.getStateRequest = getStateRequest; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class getStateResponse { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader ResultHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/", Order=0)] + public Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResult getStateResult; + + public getStateResponse() { + } + + public getStateResponse(Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader ResultHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResult getStateResult) { + this.ResultHeader = ResultHeader; + this.getStateResult = getStateResult; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface NsiPortsTypeAsyncChannel : Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class NsiPortsTypeAsyncClient : System.ServiceModel.ClientBase, Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync { + + public NsiPortsTypeAsyncClient() { + } + + public NsiPortsTypeAsyncClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public NsiPortsTypeAsyncClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public NsiPortsTypeAsyncClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public NsiPortsTypeAsyncClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListResponse Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync.exportNsiList(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest1 request) { + return base.Channel.exportNsiList(request); + } + + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader exportNsiList(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest exportNsiListRequest, out Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest AckRequest) { + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest1 inValue = new Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiListRequest = exportNsiListRequest; + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListResponse retVal = ((Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync)(this)).exportNsiList(inValue); + AckRequest = retVal.AckRequest; + return retVal.ResultHeader; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync.exportNsiListAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest1 request) { + return base.Channel.exportNsiListAsync(request); + } + + public System.Threading.Tasks.Task exportNsiListAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest exportNsiListRequest) { + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest1 inValue = new Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiListRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiListRequest = exportNsiListRequest; + return ((Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync)(this)).exportNsiListAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemResponse Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync.exportNsiItem(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest1 request) { + return base.Channel.exportNsiItem(request); + } + + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader exportNsiItem(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest exportNsiItemRequest, out Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest AckRequest) { + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest1 inValue = new Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiItemRequest = exportNsiItemRequest; + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemResponse retVal = ((Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync)(this)).exportNsiItem(inValue); + AckRequest = retVal.AckRequest; + return retVal.ResultHeader; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync.exportNsiItemAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest1 request) { + return base.Channel.exportNsiItemAsync(request); + } + + public System.Threading.Tasks.Task exportNsiItemAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest exportNsiItemRequest) { + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest1 inValue = new Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiItemRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiItemRequest = exportNsiItemRequest; + return ((Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync)(this)).exportNsiItemAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemResponse Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync.exportNsiPagingItem(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest1 request) { + return base.Channel.exportNsiPagingItem(request); + } + + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader exportNsiPagingItem(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest exportNsiPagingItemRequest, out Hcs.Service.Async.NsiCommon.v15_7_0_1.AckRequest AckRequest) { + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest1 inValue = new Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiPagingItemRequest = exportNsiPagingItemRequest; + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemResponse retVal = ((Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync)(this)).exportNsiPagingItem(inValue); + AckRequest = retVal.AckRequest; + return retVal.ResultHeader; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync.exportNsiPagingItemAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest1 request) { + return base.Channel.exportNsiPagingItemAsync(request); + } + + public System.Threading.Tasks.Task exportNsiPagingItemAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest exportNsiPagingItemRequest) { + Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest1 inValue = new Hcs.Service.Async.NsiCommon.v15_7_0_1.exportNsiPagingItemRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiPagingItemRequest = exportNsiPagingItemRequest; + return ((Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync)(this)).exportNsiPagingItemAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResponse Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync.getState(Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest1 request) { + return base.Channel.getState(request); + } + + public Hcs.Service.Async.NsiCommon.v15_7_0_1.ResultHeader getState(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest getStateRequest, out Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResult getStateResult) { + Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest1 inValue = new Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.getStateRequest = getStateRequest; + Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateResponse retVal = ((Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync)(this)).getState(inValue); + getStateResult = retVal.getStateResult; + return retVal.ResultHeader; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync.getStateAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest1 request) { + return base.Channel.getStateAsync(request); + } + + public System.Threading.Tasks.Task getStateAsync(Hcs.Service.Async.NsiCommon.v15_7_0_1.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest getStateRequest) { + Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest1 inValue = new Hcs.Service.Async.NsiCommon.v15_7_0_1.getStateRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.getStateRequest = getStateRequest; + return ((Hcs.Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync)(this)).getStateAsync(inValue); + } + } +} diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Reference.svcmap b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Reference.svcmap new file mode 100644 index 0000000..326c15a --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/Reference.svcmap @@ -0,0 +1,35 @@ + + + + false + true + true + + false + false + false + + + true + Auto + true + true + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/configuration.svcinfo b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/configuration.svcinfo new file mode 100644 index 0000000..aec8fa4 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/configuration.svcinfo @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/configuration91.svcinfo b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/configuration91.svcinfo new file mode 100644 index 0000000..3f4500c --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/configuration91.svcinfo @@ -0,0 +1,310 @@ + + + + + + + NsiBindingAsync1 + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + Transport + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (Коллекция) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + NsiBindingAsync2 + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + None + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (Коллекция) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + + + https://api.dom.gosuslugi.ru/ext-bus-nsi-common-service/services/NsiCommonAsync + + + + + + basicHttpBinding + + + NsiBindingAsync1 + + + Service.Async.NsiCommon.v15_7_0_1.NsiPortsTypeAsync + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + NsiPortAsync1 + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-base.xsd b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-base.xsd new file mode 100644 index 0000000..ebfa590 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-base.xsd @@ -0,0 +1,862 @@ + + + + + + ???????????? ???? ?????????? 2000 ????????????????. + + + + + + + + ???????????? ???? ?????????? 1500 ????????????????. + + + + + + + + ???????????? ???? ?????????? 300 ????????????????. + + + + + + + + ?????????????????? ??????. ???????????? ???? ?????????? 255 ????????????????. + + + + + + + + + ?????????????????? ??????. ???????????? ???? ?????????? 100 ????????????????. + + + + + + + + ?????????????????? ??????. ???????????? ???? ?????????? 250 ????????????????. + + + + + + + + ?????????????????? ??????. ???????????? ???? ?????????? 500 ????????????????. + + + + + + + + ???????????? ???? ?????????? 60 ????????????????. + + + + + + + + ?????????????????? ???????? 2000 + + + + + + + + ???????????????? ???????????? + + + + + + + + + ?????????????? ?????? ????????????-?????????????????? ?? ???????????????? + + + + + + + + + ?????????????????? ?????????????? + + + + + + + + + ?????????????????????????? ???????????????????? ???????????? + + + + + ?????????????????????????? ???????????????????????????????????? ?????????????????????? + + + + + ???????????????????? ?? ???????????????????? ???????? + + + + + + ?????????????????????????? ?????????????????????? ????????, ?????????????????????????????????????? ?? ?????? ?????? + + + + + + ?????????? + + + + + + + + + + ????????????????, ???????????????????????????? ???????????????? + + + + + + ?????? ??????????????????, ?????????????????????????????? ???????????????? (?????? ???95) + + + + + + ?????? ???????????? ?????????????????????? + + + + + + + + + + + ?????????????????????????? ???????????? ?? ?????????????????????????????? ?????????????????????? ?????? ?????? + + + + + ???????????????? + + + + + + + + + + + + + ?????????? ?????????????????? + + + + + + + + + + + ?????????? ?????????????????? + + + + + + + + + + + + + + + + + + + ???????????????????????? ?????????????? ?????????????????? ???? + + + + + ???????????????? ???? ???????? ????, ?? ???????????????????????????? ?????????????? ???????? ???????????????????????? ???????????????????? (589/944/,??.164). ???????????? ?????? ???????????????? ???????????????????? ????????????????????. + + + + + + + + + + ?????????????????? ?????????????? + + + + + + + + + + + + + + ?????????????????? ???????????? + + + + + + + + + + ?????????????? ?????? ???????????? ???? ???????????? ????????????????, ????????????????????????????, ???????????????? + + + + + + ???????????????????????? ??????????????????????????, ???????????????????????? ???????????????????? ???????????????????? + + + + + ?????????????????????????? ?????????????? ?? ?????? ?????? + + + + + + + + ?????????????????????????? ?????????????? ?? ?????? ?????? + + + + + ???????? ?????????????????????? + + + + + ???????????????????? ?????????? + + + + + + + + + + ?????????????? ?????? ?????????????????? + + + + + ???????? ???????????????? ???????????? + + + + + ?????????????????????????? ?????????????????? + + + + + + + ???????????????? + + + + + + ?????????????????????????? ???????????????????????? ???????????????? + + + + + + + + ???????????????? + + + + + ???????????????????????? ???????????????? + + + + + + + + + + + ???????????????? ???????????????? + + + + + + + + + + + + ??????-?????? ???????????????? ???? ?????????????????? ???????? ?? binhex. + +?????????????? ???????????????????? ?? ???????????????? ?????????????? + + + + + + + + + + + + ???????????????? + + + + + ???????????????????????? ???????????????? + + + + + + + + + + + ???????????????? ???????????????? + + + + + + + + + + + + ??????-?????? ???????????????? ???? ?????????????????? ???????? ?? binhex + + + + + + + + + + + + ?????????????? ??????, ?????????????????????? ???????????????? ?? ?????????????????????????? (detached) ??????????????????. ?? ???????????????? ?????? ??????, ?????????????????????? ?????? SignedAttachmentType, ?????????? ???????? ???????????????? ?????????????????????? ???? ???????????????????????? ?????????????????? ?????????????????? ?? ?????????? Signature (????. ???????????????? INT002039). + + + + + ???????????????? + + + + + ???????????????????????? (detached) ?????????????? + + + + + + + ?????????????? Fault (?????? ?????????????????? Fault ?? ????????????????) + + + + ?????????????? ?????? ?????? fault-???????????? + + + + + + + + + + + ???????????????? ???????????? ?????????????????? ?????? ????????????-????????????????. ?????????????? ???? ??????????????????????. ???????????????? ?????? ?????????????????????????? + + + + + + ?????????????? ?????? ???????????? ???????????????? ?????? ????????????-???????????????? + + + + + ?????? ???????????? + + + + + ???????????????? ???????????? + + + + + StackTrace ?? ???????????? ?????????????????????????? ???????????????????? + + + + + + + ???????????? ????????????????, ?????????????? ?? ?????????????? ???????????????????????????? ?????????????????????????? + + + + + ?????????????? ?????????????????? ???????????? ?????????????????? + + + + + + ?????????????????? + + + + + + ?????????????????????????? ??????????????????, ?????????????????????? ?????? ?????? + + + + + ?????????????????????????? ??????????????????, ?????????????????????? ?????????????????????? + + + + + + + + + + + ???????????? ?????????????? ?????????????????????????? ?????????????????? + + + + + + ?????????????????????????? ??????????????????, ?????????????????????? ?????? ?????? + + + + + + + + ???????????? ???????????? ???????????????????????? ?????????????????? + + + + + + ???????????? ?????????????????????????????? ??????????????????, ?????????????????????? ?????? ?????? + + + + + + + + ?????????? ???? ???????????? ???????????? ???????????????????????? ?????????????????? + + + + + + + + ???????????? ?????????????????????????????? ??????????????????, ?????????????????????? ?????? ?????? + + + + + + + + + + ?????????????? ?????? ???????????? ???? ???????????? ?????????????? + + + + + + + ???????????? ?????????????????? + + + + + ?????????????????????????? ??????????????????, ?????????????????????? ?????? ?????? + + + + + + + + + ?????????????????? ???????????????????? C_UD + + + + + ?????????????????????????? ??????????????????????/???????????????????? ???????????????? + + + + + ???????????????????????? ?????????????????????????? + + + + + + ???????????????? ?????????????????? ?????????????? + + + + ???????????????????? ???????????????????? ?????????? + + + + + ???????? ?????????????????????? + + + + + + ???????????????? ???????????? + + + + + + + + + + + + + ???????????? ?????????????????? ?????????????????? ?? ?????????????????????? ???????????? (1- ????????????????; 2 - ?? ??????????????????; 3- ????????????????????) + + + + + + + + + + ???????????????????????? ?????????????????????????? + + + + + GUID-??????. + + + + + + + + ???????? ?????????????????????? ?????????????? + + + + + ??????, ?????????????????????? ?????? + + + + + + + + ??????, ?????????????????????? ?????????? + + + + + + + + + ?????????? + + + + + ?????? + + + + + + + + + + + ???????????????????????? ?????????? ?????????????????????????? ???????? + + + + + + + + + ?????????????????? ???????????? (?????? ???????? ??????????????????????) + + + + + ???????????? ?????????????? + + + + + ?????????? ?????????????? + + + + + + + ???????????????? ?????????????????? ???????????? (???????? ??????????????????????????) + + + + + ???????????? ?????????????? + + + + + ?????????? ?????????????? + + + + + + + ?????? ???????????? + + + + + + + + + + ???????????? ???? ?????????????? ???? (????????) + + + + + ?????? ?????????????? (????????) + + + + + + + + + + ???????????? ???????????????????????? + + + + + + + + + + + + ???????????? ???? ?????????? + + + + + ?????? ???? ?????????? + + + + + + + + + + + ???????????? ???????????????????????? + + + + + + + + + + + + + + + + + ?????? ???????? + + + + + ?????????????????????????? ???????????????????????????????????? ?????????????????????? + + + + + ?????????????? ?????? ?????????????????? ???? + + + + + ???????????????????????? ?????????????????? + + + + + + + + + + + ?????????? ?????????????????? + + + + + + + + + + + ???????? ???????????????? ?????????????????? ?????????????? ???????????? + + + + + ???????????????? + + + + + + + ???????????????? ???? ???????? ????, ?? ???????????????????????????? ?????????????? ???????? ???????????????????????? ???????????????????? (589/944/,??.164) + + + + + + ???????????????????????? ???? + + + + + ???????????????????????? ?????????????????? ???? + + + + + + + + ?????? ???? ?????????? + + + + + + + + + ?????? ???? ?????????? + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-base.xsd b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-base.xsd new file mode 100644 index 0000000..cbd302d --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-base.xsd @@ -0,0 +1,427 @@ + + + + + + + + + + + + Ссылка на справочник + + + + + Код записи справочника + + + + + Идентификатор записи в соответствующем справочнике ГИС ЖКХ + + + + + Значение + + + + + + + + + + + + Скалярный тип. Наименование справочника. Строка не более 200 символов. + + + + + + + + Скалярный тип. Реестровый номер справочника. Код не более 10 символов. + + + + + + + + Составной тип. Наименование, дата и время последнего изменения справочника. + + + + + Реестровый номер справочника. + + + + + Наименование справочника. + + + + + Дата и время последнего изменения справочника. + + + + + + + Перечень справочников с датой последнего изменения каждого из них. + + + + + Дата и время формирования перечня справочников. + + + + + Наименование, дата и время последнего изменения справочника. + + + + + + + + Данные справочника. + + + + + Реестровый номер справочника. + + + + + Дата и время формирования данных справочника. + + + + + Элемент справочника верхнего уровня. + + + + + + + Составной тип. Элемент справочника. + + + + + Код элемента справочника, уникальный в пределах справочника. + + + + + Глобально-уникальный идентификатор элемента справочника. + + + + + + Дата и время последнего изменения элемента справочника (в том числе создания). + + + + + + Дата начала действия значения + + + + + Дата окончания действия значения + + + + + + + Признак актуальности элемента справочника. + + + + + Наименование и значение поля для элемента справочника. + + + + + Дочерний элемент. + + + + + + + Составной тип. Наименование и значение поля для элемента справочника. Абстрактный тип. + + + + + Наименование поля элемента справочника. + + + + + + + Составной тип. Наименование и значение поля типа "Строка" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Строка". + + + + + + + + + Составной тип. Наименование и значение поля типа "Да/Нет" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Да/Нет". + + + + + + + + + Составной тип. Наименование и значение поля типа "Вещественное" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Вещественное". + + + + + + + + + Составной тип. Наименование и значение поля типа "Дата" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Дата". + + + + + + + + + Составной тип. Наименование и значение поля типа "Целое число" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Целое число". + + + + + + + + + Составной тип. Наименование и значение поля типа "Перечислимый" для элемента справочника. + + + + + + + Запись элемента справочника типа "Перечислимый". + + + + + + Код поля элемента справочника типа "Перечислимый". + + + + + Значение поля элемента справочника типа "Перечислимый". + + + + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на справочник" для элемента справочника. + + + + + + + Ссылка на справочник. + + + + + + Реестровый номер справочника. + + + + + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на элемент внутреннего справочника" для элемента справочника. + + + + + + + Ссылка на элемент внутреннего справочника. + + + + + + Реестровый номер справочника. + + + + + Ссылка на элемент справочника. + + + + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на элемент справочника ОКЕИ" для элемента справочника. + + + + + + + Код единицы измерения по справочнику ОКЕИ. + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на элемент справочника ФИАС" для элемента справочника. + + + + + + + Ссылка на элемент справочника ФИАС. + + + + + + Идентификационный код позиции в справочнике ФИАС. + + + + + Глобально-уникальный идентификатор адресного объекта в справочнике ФИАС. + + + + + + + + + + + + Составной тип. Наименование и значение поля "Вложение" + + + + + + + Документ + + + + + + + + + Скалярный тип. Наименование поля элемента справочника. Строка не более 200 символов. + + + + + + + + Группа справочника: +NSI - (по умолчанию) общесистемный +NSIRAO - ОЖФ + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-common-service-async.wsdl b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-common-service-async.wsdl new file mode 100644 index 0000000..9ba2429 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-common-service-async.wsdl @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ВИ_НСИ_ППС. Получить перечень общесистемных справочников с указанием даты последнего изменения каждого из них. + + + + + + ВИ_НСИ_ПДС. Получить данные общесистемного справочника. + + + + + + ВИ_НСИ_ПДС_ПОСТР. Получить данные общесистемного справочника. + + + + + + + + + + + + + + ВИ_НСИ_ППС. Получить перечень справочников с указанием даты последнего изменения каждого из них. + + + + + + + + + + + + + + + ВИ_НСИ_ПДС. Получить данные справочника. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Асинхронный сервис экспорта общих справочников подсистемы НСИ + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-common-types.xsd b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-common-types.xsd new file mode 100644 index 0000000..736d43c --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/hcs-nsi-common-types.xsd @@ -0,0 +1,122 @@ + + + + + + + ???????????? ?????????????????? ?????????????? ?????????????????????????? ????????????????????????. + + + + + + + + + + + + + + + ???????????? ???? ?????????????????? ???????????? ?????????????????????????? ??????????????????????. + + + + + + + + ???????????????????? ?????????? ??????????????????????. + + + + + + ???????? ?? ??????????, ???????????????????? ?????????? ?????????????? ???????????????? ?????????????????????? ???????????? ???????? ???????????????????? ?? ????????????. ???????? ???? ??????????????, ???????????????????????? ?????? ???????????????? ??????????????????????. + + + + + + + + + + + ???????????? ???? ?????????????????? ???????????? ?????????????????????????? ??????????????????????. + + + + + + + + ???????????????????? ?????????? ??????????????????????. + + + + + + ???????????????? ??????????????. ???????????????????????? ???? 1000 ??????????????????. + + + + + + + + + + ???????? ?? ??????????, ???????????????????? ?????????? ?????????????? ???????????????? ?????????????????????? ???????????? ???????? ???????????????????? ?? ????????????. ???????? ???? ??????????????, ???????????????????????? ?????? ???????????????? ??????????????????????. + + + + + + + + + + + ?????????????? ?????????????? ?????????????????????????? ?????????????????? + + + + + + + + + + + + + + + ???????????????????? ?????????????? ?? ?????????????????????? + + + + + ???????????????????? ?????????????? + + + + + ?????????? ?????????????? ???????????????? + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/xmldsig-core-schema.xsd b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/xmldsig-core-schema.xsd new file mode 100644 index 0000000..e036087 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon.v15_7_0_1/xmldsig-core-schema.xsd @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Hcs.Client.csproj b/Hcs.Client/Hcs.Client.csproj index 30861ce..46dcd9a 100644 --- a/Hcs.Client/Hcs.Client.csproj +++ b/Hcs.Client/Hcs.Client.csproj @@ -118,6 +118,9 @@ + + + @@ -136,6 +139,8 @@ + + @@ -159,6 +164,11 @@ True Reference.svcmap + + True + True + Reference.svcmap + True True @@ -782,6 +792,40 @@ Designer + + Designer + + + Designer + + + + Designer + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Designer + Designer @@ -981,6 +1025,7 @@ + @@ -1014,6 +1059,12 @@ WCF Proxy Generator Reference.cs + + + + WCF Proxy Generator + Reference.cs + diff --git a/Hcs.Client/app.config b/Hcs.Client/app.config index 7f71cdf..a5ce5c8 100644 --- a/Hcs.Client/app.config +++ b/Hcs.Client/app.config @@ -18,6 +18,10 @@ + + + + @@ -40,6 +44,10 @@ + \ No newline at end of file diff --git a/Hcs.TestApp/ClientDemo/NsiCommonDemo.cs b/Hcs.TestApp/ClientDemo/NsiCommonDemo.cs new file mode 100644 index 0000000..ff963cb --- /dev/null +++ b/Hcs.TestApp/ClientDemo/NsiCommonDemo.cs @@ -0,0 +1,19 @@ +using Hcs.ClientApi; +using Newtonsoft.Json; +using System; +using System.Windows.Forms; + +namespace Hcs.ClientDemo +{ + public class NsiCommonDemo + { + public static void DemoExportNsiItem2(HcsClient client) + { + var result = client.NsiCommon.GetNsiItem(2).Result; + var json = JsonConvert.SerializeObject(result); + Clipboard.SetText(json); + + Console.WriteLine($"Результат скопирован в буфер обмена!\r\n"); + } + } +} diff --git a/Hcs.TestApp/ClientDemo/Program.cs b/Hcs.TestApp/ClientDemo/Program.cs index e0aa4ca..fe1f158 100644 --- a/Hcs.TestApp/ClientDemo/Program.cs +++ b/Hcs.TestApp/ClientDemo/Program.cs @@ -68,7 +68,9 @@ namespace Hcs.ClientDemo if (false) FileStoreDemo.DemoGetFileLength(client); if (false) FileStoreDemo.DemoGostHash(client); - if (true) NsiDemo.DemoExportNsiItem51(client); + if (false) NsiDemo.DemoExportNsiItem51(client); + + if (true) NsiCommonDemo.DemoExportNsiItem2(client); } catch (Exception ex) { diff --git a/Hcs.TestApp/Hcs.TestApp.csproj b/Hcs.TestApp/Hcs.TestApp.csproj index 00880de..d9baaa2 100644 --- a/Hcs.TestApp/Hcs.TestApp.csproj +++ b/Hcs.TestApp/Hcs.TestApp.csproj @@ -71,6 +71,7 @@ +