xml-toolkit 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/SOAP11.js +3 -3
- package/lib/XMLSchemata.js +4 -4
- package/package.json +1 -1
- package/test/smev-message-exchange-basic-1.1.xsd +380 -0
- package/test/smev-message-exchange-faults-1.1.xsd +365 -0
- package/test/smev-message-exchange-service-1.1.xsd +643 -0
- package/test/smev-message-exchange-types-1.1.xsd +697 -0
- package/test/test.js +13 -1
package/lib/SOAP11.js
CHANGED
|
@@ -5,6 +5,8 @@ const XMLReader = require ('./XMLReader.js')
|
|
|
5
5
|
const XMLNode = require ('./XMLNode.js')
|
|
6
6
|
const SOAPHTTP = require ('./SOAPHTTP.js')
|
|
7
7
|
|
|
8
|
+
const WSDL = {namespaceURI: 'http://schemas.xmlsoap.org/wsdl/'}
|
|
9
|
+
|
|
8
10
|
const SOAP11 = class {
|
|
9
11
|
|
|
10
12
|
constructor (fn) {
|
|
@@ -17,7 +19,7 @@ const SOAP11 = class {
|
|
|
17
19
|
|
|
18
20
|
for (const doc of this.xs.documents)
|
|
19
21
|
|
|
20
|
-
if (doc.localName === 'definitions' && doc.namespaceURI ===
|
|
22
|
+
if (doc.localName === 'definitions' && doc.namespaceURI === WSDL.namespaceURI)
|
|
21
23
|
|
|
22
24
|
this.definitions.push (doc)
|
|
23
25
|
|
|
@@ -105,8 +107,6 @@ const SOAP11 = class {
|
|
|
105
107
|
|
|
106
108
|
}
|
|
107
109
|
|
|
108
|
-
const WSDL = {namespaceURI: 'http://schemas.xmlsoap.org/wsdl/'}
|
|
109
|
-
|
|
110
110
|
SOAP11.namespaceURI = 'http://schemas.xmlsoap.org/wsdl/soap/'
|
|
111
111
|
|
|
112
112
|
SOAP11.fromFile = async function (fn, options = {}) {
|
package/lib/XMLSchemata.js
CHANGED
|
@@ -138,8 +138,8 @@ const XMLSchemata = class extends Map {
|
|
|
138
138
|
addSchemaSync (node, options = {}) {
|
|
139
139
|
|
|
140
140
|
if (node.localName !== 'schema' || node.namespaceURI !== XMLSchema.namespaceURI) {
|
|
141
|
-
|
|
142
|
-
for (const i of
|
|
141
|
+
|
|
142
|
+
const {children} = node; if (children) for (const i of children) this.addSchemaSync (i, options)
|
|
143
143
|
|
|
144
144
|
return
|
|
145
145
|
|
|
@@ -149,7 +149,7 @@ const XMLSchemata = class extends Map {
|
|
|
149
149
|
|
|
150
150
|
let targetNamespace = node.attributes.targetNamespace || options.targetNamespace
|
|
151
151
|
|
|
152
|
-
if (!this.has (targetNamespace)) this.set (targetNamespace, new XMLSchema (this, targetNamespace))
|
|
152
|
+
if (targetNamespace && !this.has (targetNamespace)) this.set (targetNamespace, new XMLSchema (this, targetNamespace))
|
|
153
153
|
|
|
154
154
|
const {addLocation} = options; for (const {localName, namespaceURI, attributes} of node.children)
|
|
155
155
|
|
|
@@ -157,7 +157,7 @@ const XMLSchemata = class extends Map {
|
|
|
157
157
|
|
|
158
158
|
addLocation (attributes.schemaLocation, attributes.namespace)
|
|
159
159
|
|
|
160
|
-
this.get (targetNamespace).add (node)
|
|
160
|
+
if (targetNamespace) this.get (targetNamespace).add (node)
|
|
161
161
|
|
|
162
162
|
}
|
|
163
163
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
3
|
+
xmlns:tns="urn://x-artefacts-smev-gov-ru/services/message-exchange/types/basic/1.1"
|
|
4
|
+
xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
|
|
5
|
+
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
|
6
|
+
targetNamespace="urn://x-artefacts-smev-gov-ru/services/message-exchange/types/basic/1.1"
|
|
7
|
+
elementFormDefault="qualified"
|
|
8
|
+
attributeFormDefault="unqualified"
|
|
9
|
+
jxb:version="2.0"
|
|
10
|
+
>
|
|
11
|
+
<xs:annotation>
|
|
12
|
+
<xs:documentation>Базовые типы.</xs:documentation>
|
|
13
|
+
<xs:appinfo>
|
|
14
|
+
<jxb:schemaBindings>
|
|
15
|
+
<!-- Напишите здесь имя пакета, в который должны попасть классы, сгенерированные из этой схемы с помощью wsimport (для JAX-WS) -->
|
|
16
|
+
<jxb:package name="ru.voskhod.smev.server.autogenerated.types.basic"/>
|
|
17
|
+
</jxb:schemaBindings>
|
|
18
|
+
</xs:appinfo>
|
|
19
|
+
</xs:annotation>
|
|
20
|
+
<xs:element name="MessagePrimaryContent">
|
|
21
|
+
<xs:annotation><xs:documentation>Содержательная часть сообщения СМЭВ.</xs:documentation></xs:annotation>
|
|
22
|
+
<xs:complexType>
|
|
23
|
+
<xs:sequence>
|
|
24
|
+
<xs:any namespace="##other" processContents="skip">
|
|
25
|
+
<xs:annotation><xs:documentation>Корневой элемент XML-документа запроса присоединять сюда.</xs:documentation></xs:annotation>
|
|
26
|
+
</xs:any>
|
|
27
|
+
</xs:sequence>
|
|
28
|
+
</xs:complexType>
|
|
29
|
+
</xs:element>
|
|
30
|
+
<xs:element name="AttachmentHeaderList">
|
|
31
|
+
<xs:annotation>
|
|
32
|
+
<xs:documentation>
|
|
33
|
+
Заголовки файлов, приложенных к СМЭВ-сообщению.
|
|
34
|
+
Заголовки отделены от содержимого вложений.
|
|
35
|
+
Это нужно потому, что заголовки должны попадать под ЭП-ОВ,
|
|
36
|
+
а содержимое - должно не попадать (иначе не будет работать MTOM).
|
|
37
|
+
</xs:documentation>
|
|
38
|
+
</xs:annotation>
|
|
39
|
+
<xs:complexType>
|
|
40
|
+
<xs:sequence>
|
|
41
|
+
<xs:element name="AttachmentHeader" type="tns:AttachmentHeaderType" maxOccurs="unbounded"/>
|
|
42
|
+
</xs:sequence>
|
|
43
|
+
</xs:complexType>
|
|
44
|
+
</xs:element>
|
|
45
|
+
<xs:complexType name="AttachmentHeaderType">
|
|
46
|
+
<xs:annotation>
|
|
47
|
+
<xs:documentation>
|
|
48
|
+
Файл, приложенный к СМЭВ-сообщению.
|
|
49
|
+
Имя файла не передаётся; вложения идентифицируются только идентификаторами внутри сообщения.
|
|
50
|
+
</xs:documentation>
|
|
51
|
+
</xs:annotation>
|
|
52
|
+
<xs:sequence>
|
|
53
|
+
<xs:element name="contentId" type="xs:string">
|
|
54
|
+
<xs:annotation>
|
|
55
|
+
<xs:documentation>
|
|
56
|
+
Идентификатор вложения. Ссылка на соответствующий //AttachmentContent/@Id
|
|
57
|
+
</xs:documentation>
|
|
58
|
+
</xs:annotation>
|
|
59
|
+
</xs:element>
|
|
60
|
+
<xs:element name="MimeType" type="tns:RFC2046MimeTypesType">
|
|
61
|
+
<xs:annotation><xs:documentation>Тип контента.</xs:documentation></xs:annotation>
|
|
62
|
+
</xs:element>
|
|
63
|
+
<xs:element name="SignaturePKCS7" type="xs:base64Binary" minOccurs="0">
|
|
64
|
+
<xs:annotation><xs:documentation>ЭЦП в формате PKCS#7 detached. Подписывать ключом ЭП-СП.</xs:documentation></xs:annotation>
|
|
65
|
+
</xs:element>
|
|
66
|
+
</xs:sequence>
|
|
67
|
+
</xs:complexType>
|
|
68
|
+
<xs:element name="AttachmentContentList">
|
|
69
|
+
<xs:annotation>
|
|
70
|
+
<xs:documentation>
|
|
71
|
+
Cодержимое вложенных файлов.
|
|
72
|
+
У элемента списка, тип base64Binary и наличие атрибута expectedContentTypes - подсказка для frameworks типа JAX-WS передавать содержимое этого элемента по MTOM протоколу.
|
|
73
|
+
Кроме того, значение expectedContentTypes="application/octet-stream" - подсказка JAX-WS дать доступ к этому элементу через InputStream/OutputStream.
|
|
74
|
+
</xs:documentation>
|
|
75
|
+
</xs:annotation>
|
|
76
|
+
<xs:complexType>
|
|
77
|
+
<xs:sequence>
|
|
78
|
+
<xs:element name="AttachmentContent" type="tns:AttachmentContentType" maxOccurs="unbounded"/>
|
|
79
|
+
</xs:sequence>
|
|
80
|
+
</xs:complexType>
|
|
81
|
+
</xs:element>
|
|
82
|
+
<xs:element name="FSAttachmentsList">
|
|
83
|
+
<xs:annotation>
|
|
84
|
+
</xs:annotation>
|
|
85
|
+
<xs:complexType>
|
|
86
|
+
<xs:sequence>
|
|
87
|
+
<xs:element name="FSAttachment" type="tns:FSAuthInfo" maxOccurs="unbounded"/>
|
|
88
|
+
</xs:sequence>
|
|
89
|
+
</xs:complexType>
|
|
90
|
+
</xs:element>
|
|
91
|
+
<xs:complexType name="FSAuthInfo">
|
|
92
|
+
<xs:sequence>
|
|
93
|
+
<xs:element name="uuid" type="xs:string">
|
|
94
|
+
<xs:annotation>
|
|
95
|
+
<xs:documentation>
|
|
96
|
+
Идентификатор файла. Ссылка на соответствующий файл.
|
|
97
|
+
</xs:documentation>
|
|
98
|
+
</xs:annotation>
|
|
99
|
+
</xs:element>
|
|
100
|
+
<xs:element name="UserName" type="xs:string">
|
|
101
|
+
<xs:annotation><xs:documentation>Пользователь.</xs:documentation></xs:annotation>
|
|
102
|
+
</xs:element>
|
|
103
|
+
<xs:element name="Password" type="xs:string">
|
|
104
|
+
<xs:annotation><xs:documentation>Пароль.</xs:documentation></xs:annotation>
|
|
105
|
+
</xs:element>
|
|
106
|
+
<xs:element name="FileName" type="xs:string">
|
|
107
|
+
<xs:annotation><xs:documentation>Имя файла.</xs:documentation></xs:annotation>
|
|
108
|
+
</xs:element>
|
|
109
|
+
</xs:sequence>
|
|
110
|
+
</xs:complexType>
|
|
111
|
+
<xs:complexType name="AttachmentContentType">
|
|
112
|
+
<xs:annotation>
|
|
113
|
+
<xs:documentation>
|
|
114
|
+
Содержимое вложенного файла.
|
|
115
|
+
Значение атрибута attachmentId должно быть уникально среди всех элементов и атрибутов СМЭВ-сообщения, имеющих тип xs:ID.
|
|
116
|
+
</xs:documentation>
|
|
117
|
+
</xs:annotation>
|
|
118
|
+
<xs:sequence>
|
|
119
|
+
<xs:element name="Id" type="xs:ID"/>
|
|
120
|
+
<xs:element name="Content" type="xs:base64Binary" xmime:expectedContentTypes="application/octet-stream"/>
|
|
121
|
+
</xs:sequence>
|
|
122
|
+
</xs:complexType>
|
|
123
|
+
<xs:element name="RefAttachmentHeaderList">
|
|
124
|
+
<xs:annotation>
|
|
125
|
+
<xs:documentation>
|
|
126
|
+
Заголовки файлов, приложенных к СМЭВ-сообщению.
|
|
127
|
+
Заголовки отделены от содержимого вложений.
|
|
128
|
+
Это нужно потому, что заголовки должны попадать под ЭП-ОВ,
|
|
129
|
+
а содержимое - должно не попадать (иначе не будет работать MTOM).
|
|
130
|
+
</xs:documentation>
|
|
131
|
+
</xs:annotation>
|
|
132
|
+
<xs:complexType>
|
|
133
|
+
<xs:sequence>
|
|
134
|
+
<xs:element name="RefAttachmentHeader" type="tns:RefAttachmentHeaderType" maxOccurs="unbounded"/>
|
|
135
|
+
</xs:sequence>
|
|
136
|
+
</xs:complexType>
|
|
137
|
+
</xs:element>
|
|
138
|
+
<xs:complexType name="RefAttachmentHeaderType">
|
|
139
|
+
<xs:annotation>
|
|
140
|
+
<xs:documentation>
|
|
141
|
+
Ссылка на файл, приложенный к СМЭВ-сообщению.
|
|
142
|
+
</xs:documentation>
|
|
143
|
+
</xs:annotation>
|
|
144
|
+
<xs:sequence>
|
|
145
|
+
<xs:element name="uuid" type="xs:string">
|
|
146
|
+
<xs:annotation>
|
|
147
|
+
<xs:documentation>
|
|
148
|
+
Идентификатор файла. Ссылка на соответствующий файл.
|
|
149
|
+
</xs:documentation>
|
|
150
|
+
</xs:annotation>
|
|
151
|
+
</xs:element>
|
|
152
|
+
<xs:element name="Hash" type="xs:string">
|
|
153
|
+
<xs:annotation><xs:documentation>Хэш файла.</xs:documentation></xs:annotation>
|
|
154
|
+
</xs:element>
|
|
155
|
+
<xs:element name="MimeType" type="tns:RFC2046MimeTypesType">
|
|
156
|
+
<xs:annotation><xs:documentation>Тип контента.</xs:documentation></xs:annotation>
|
|
157
|
+
</xs:element>
|
|
158
|
+
<xs:element name="SignaturePKCS7" type="xs:base64Binary" minOccurs="0">
|
|
159
|
+
<xs:annotation><xs:documentation>ЭЦП в формате PKCS#7 detached. Подписывать ключом ЭП-СП.</xs:documentation></xs:annotation>
|
|
160
|
+
</xs:element>
|
|
161
|
+
</xs:sequence>
|
|
162
|
+
</xs:complexType>
|
|
163
|
+
<xs:simpleType name="UUID">
|
|
164
|
+
<xs:annotation>
|
|
165
|
+
<xs:documentation>
|
|
166
|
+
Строковое представление UUID.
|
|
167
|
+
В СМЭВ UUID используются в качестве идентификаторов сообщений.
|
|
168
|
+
Идентификаторы присваиваются сообщеням отправителями.
|
|
169
|
+
</xs:documentation>
|
|
170
|
+
</xs:annotation>
|
|
171
|
+
<xs:restriction base="xs:string">
|
|
172
|
+
<xs:pattern value="[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"/>
|
|
173
|
+
</xs:restriction>
|
|
174
|
+
</xs:simpleType>
|
|
175
|
+
<xs:element name="MessageReference">
|
|
176
|
+
<xs:annotation><xs:documentation>Тип для подписанных ссылок на сообщения СМЭВ.</xs:documentation></xs:annotation>
|
|
177
|
+
<xs:complexType>
|
|
178
|
+
<xs:simpleContent>
|
|
179
|
+
<xs:extension base="tns:UUID">
|
|
180
|
+
<xs:attribute name="Id" type="xs:ID"/>
|
|
181
|
+
</xs:extension>
|
|
182
|
+
</xs:simpleContent>
|
|
183
|
+
</xs:complexType>
|
|
184
|
+
</xs:element>
|
|
185
|
+
<xs:element name="AckTargetMessage">
|
|
186
|
+
<xs:annotation>
|
|
187
|
+
<xs:documentation>
|
|
188
|
+
Ссылка на сообщение, получение которого подтверждается методом Ack.
|
|
189
|
+
Сюда нужно писать Id СМЭВ-сообщения, который берётся
|
|
190
|
+
из //GetRequestResponse/.../SenderProvidedRequestData/MessageID/text() либо
|
|
191
|
+
из //GetResponseResponse/.../SenderProvidedRequestData/MessageID/text().
|
|
192
|
+
</xs:documentation>
|
|
193
|
+
</xs:annotation>
|
|
194
|
+
<xs:complexType>
|
|
195
|
+
<xs:simpleContent>
|
|
196
|
+
<xs:extension base="tns:UUID">
|
|
197
|
+
<xs:attribute name="Id" type="xs:ID" use="required"/>
|
|
198
|
+
<xs:attribute name="accepted" type="xs:boolean" use="required">
|
|
199
|
+
<xs:annotation>
|
|
200
|
+
<xs:documentation>
|
|
201
|
+
true, если ЭП-СМЭВ прошла валидацию и сообщение передано ИС. false, если ЭП-СМЭВ отвергнута, и сообщение проигнорировано.
|
|
202
|
+
</xs:documentation>
|
|
203
|
+
</xs:annotation>
|
|
204
|
+
</xs:attribute>
|
|
205
|
+
</xs:extension>
|
|
206
|
+
</xs:simpleContent>
|
|
207
|
+
</xs:complexType>
|
|
208
|
+
</xs:element>
|
|
209
|
+
<xs:complexType name="XMLDSigSignatureType">
|
|
210
|
+
<xs:annotation>
|
|
211
|
+
<xs:documentation>
|
|
212
|
+
Элекронная подпись в формате XMLDSig.
|
|
213
|
+
</xs:documentation>
|
|
214
|
+
</xs:annotation>
|
|
215
|
+
<xs:sequence>
|
|
216
|
+
<xs:any namespace="http://www.w3.org/2000/09/xmldsig#" processContents="skip">
|
|
217
|
+
<xs:annotation>
|
|
218
|
+
<xs:documentation>
|
|
219
|
+
Собственно подпись, по спецификации XMLDSig.
|
|
220
|
+
Объявлена как any для того, чтобы инструменты типа JAXB не генерировали классов для пространства имён
|
|
221
|
+
http://www.w3.org/2000/09/xmldsig#.
|
|
222
|
+
Это, в свою очередь, нужно потому, что инструменты, генерирующие и проверяющие ЭЦП (напр. Apache Santuario)
|
|
223
|
+
работают с DOM-деревьями, а не с JAXB-объектами.
|
|
224
|
+
</xs:documentation>
|
|
225
|
+
</xs:annotation>
|
|
226
|
+
</xs:any>
|
|
227
|
+
</xs:sequence>
|
|
228
|
+
</xs:complexType>
|
|
229
|
+
<xs:simpleType name="RFC2046MimeTypesType">
|
|
230
|
+
<xs:annotation><xs:documentation>Типы вложений, в формате RFC-2046.</xs:documentation></xs:annotation>
|
|
231
|
+
<xs:restriction base="xs:string">
|
|
232
|
+
<xs:pattern value="(text|image|audio|video|application)/[a-zA-Z0-9-+.]*"/>
|
|
233
|
+
</xs:restriction>
|
|
234
|
+
</xs:simpleType>
|
|
235
|
+
<xs:element name="MessageTypeSelector">
|
|
236
|
+
<xs:complexType>
|
|
237
|
+
<xs:annotation>
|
|
238
|
+
<xs:documentation>
|
|
239
|
+
Селектор, с помощью которого при приёме запроса или ответа
|
|
240
|
+
можно задать фильтр по типу запроса (ответа).
|
|
241
|
+
Поскольку тип запроса или ответа однозначно определяется полным именем
|
|
242
|
+
корневого XML-элемента его бизнес-данных,
|
|
243
|
+
селектор представляет из себя структуру для задания этого имени.
|
|
244
|
+
Если селектор пуст, это значит, что нужно принять запрос (ответ)
|
|
245
|
+
без фильтрации по типам.
|
|
246
|
+
</xs:documentation>
|
|
247
|
+
</xs:annotation>
|
|
248
|
+
<xs:sequence>
|
|
249
|
+
<xs:sequence minOccurs="0">
|
|
250
|
+
<xs:element name="NamespaceURI" type="xs:anyURI"/>
|
|
251
|
+
<xs:element name="RootElementLocalName" type="xs:NCName"/>
|
|
252
|
+
</xs:sequence>
|
|
253
|
+
<xs:element name="Timestamp" type="xs:dateTime">
|
|
254
|
+
<xs:annotation><xs:documentation>Текущая дата и время.</xs:documentation></xs:annotation>
|
|
255
|
+
</xs:element>
|
|
256
|
+
<xs:element name="NodeID" type="tns:string-50" minOccurs="0">
|
|
257
|
+
<xs:annotation>
|
|
258
|
+
<xs:documentation>
|
|
259
|
+
Идентификатор нода.
|
|
260
|
+
</xs:documentation>
|
|
261
|
+
</xs:annotation>
|
|
262
|
+
</xs:element>
|
|
263
|
+
</xs:sequence>
|
|
264
|
+
<xs:attribute name="Id" type="xs:ID"/>
|
|
265
|
+
</xs:complexType>
|
|
266
|
+
</xs:element>
|
|
267
|
+
<xs:simpleType name="InteractionStatusType">
|
|
268
|
+
<xs:restriction base="xs:string">
|
|
269
|
+
<xs:enumeration value="doesNotExist">
|
|
270
|
+
<xs:annotation><xs:documentation>Запрос с таким Id не найден в БД СМЭВ.</xs:documentation></xs:annotation>
|
|
271
|
+
</xs:enumeration>
|
|
272
|
+
<xs:enumeration value="requestIsQueued">
|
|
273
|
+
<xs:annotation><xs:documentation>Запрос находится в очереди на асинхронную валидацию.</xs:documentation></xs:annotation>
|
|
274
|
+
</xs:enumeration>
|
|
275
|
+
<xs:enumeration value="requestIsAcceptedBySmev">
|
|
276
|
+
<xs:annotation><xs:documentation>Запрос доставляется поставщику.</xs:documentation></xs:annotation>
|
|
277
|
+
</xs:enumeration>
|
|
278
|
+
<xs:enumeration value="requestIsRejectedBySmev">
|
|
279
|
+
<xs:annotation><xs:documentation>Запрос не прошёл асинхронную валидацию.</xs:documentation></xs:annotation>
|
|
280
|
+
</xs:enumeration>
|
|
281
|
+
<xs:enumeration value="underProcessing">
|
|
282
|
+
<xs:annotation><xs:documentation>Обрабатывается поставщиком сервиса.</xs:documentation></xs:annotation>
|
|
283
|
+
</xs:enumeration>
|
|
284
|
+
<xs:enumeration value="responseIsAcceptedBySmev">
|
|
285
|
+
<xs:annotation><xs:documentation>Запрос выполнен или отвергнут поставщиком сервиса; ответ находится в очереди СМЭВ.</xs:documentation></xs:annotation>
|
|
286
|
+
</xs:enumeration>
|
|
287
|
+
<xs:enumeration value="cancelled">
|
|
288
|
+
<xs:annotation><xs:documentation>Запрос отменён потребителем сервиса.</xs:documentation></xs:annotation>
|
|
289
|
+
</xs:enumeration>
|
|
290
|
+
<xs:enumeration value="responseIsDelivered">
|
|
291
|
+
<xs:annotation><xs:documentation>Ответ получен потребителем сервиса.</xs:documentation></xs:annotation>
|
|
292
|
+
</xs:enumeration>
|
|
293
|
+
</xs:restriction>
|
|
294
|
+
</xs:simpleType>
|
|
295
|
+
<xs:simpleType name="InteractionTypeType">
|
|
296
|
+
<xs:annotation><xs:documentation>Тип взаимодействия</xs:documentation></xs:annotation>
|
|
297
|
+
<xs:restriction base="xs:string">
|
|
298
|
+
<xs:enumeration value="PGU2OIV">
|
|
299
|
+
<xs:annotation><xs:documentation>Взаимодействие портала государственных и/или муниципальных услуг с органом власти.</xs:documentation></xs:annotation>
|
|
300
|
+
</xs:enumeration>
|
|
301
|
+
<xs:enumeration value="OIV2OIV">
|
|
302
|
+
<xs:annotation><xs:documentation>Взаимодействие между органами власти.</xs:documentation></xs:annotation>
|
|
303
|
+
</xs:enumeration>
|
|
304
|
+
<xs:enumeration value="OIV2sameOIV">
|
|
305
|
+
<xs:annotation><xs:documentation>Взаимодействие между различными информационными системами одного органа исполнительной власти через СМЭВ.</xs:documentation></xs:annotation>
|
|
306
|
+
</xs:enumeration>
|
|
307
|
+
<xs:enumeration value="Charger2PaymentGate">
|
|
308
|
+
<xs:annotation><xs:documentation>Взаимодействие информационно-платежного шлюза с поставщиками начислений для оплаты услуг в электронном виде.</xs:documentation></xs:annotation>
|
|
309
|
+
</xs:enumeration>
|
|
310
|
+
<xs:enumeration value="PaymentGate2Treasury">
|
|
311
|
+
<xs:annotation><xs:documentation>Взаимодействие информационно-платежного шлюза с системой УНИФО ФК для получения начислений и фактов оплаты для пользователей ПГУ.</xs:documentation></xs:annotation>
|
|
312
|
+
</xs:enumeration>
|
|
313
|
+
<xs:enumeration value="OIV2Treasury">
|
|
314
|
+
<xs:annotation><xs:documentation>Взаимодействие ОИВ с системой УНИФО ФК для передачи начислений и получения фактов оплаты.</xs:documentation></xs:annotation>
|
|
315
|
+
</xs:enumeration>
|
|
316
|
+
<xs:enumeration value="other">
|
|
317
|
+
<xs:annotation><xs:documentation>Другие типы взаимодействия.</xs:documentation></xs:annotation>
|
|
318
|
+
</xs:enumeration>
|
|
319
|
+
<xs:enumeration value="NotDetected">
|
|
320
|
+
<xs:annotation><xs:documentation>Не удалось определить тип взаимодействия.</xs:documentation></xs:annotation>
|
|
321
|
+
</xs:enumeration>
|
|
322
|
+
</xs:restriction>
|
|
323
|
+
</xs:simpleType>
|
|
324
|
+
<xs:element name="Timestamp">
|
|
325
|
+
<xs:complexType>
|
|
326
|
+
<xs:simpleContent>
|
|
327
|
+
<xs:extension base="xs:dateTime">
|
|
328
|
+
<xs:attribute name="Id" type="xs:ID"/>
|
|
329
|
+
</xs:extension>
|
|
330
|
+
</xs:simpleContent>
|
|
331
|
+
</xs:complexType>
|
|
332
|
+
</xs:element>
|
|
333
|
+
<xs:simpleType name="string-10">
|
|
334
|
+
<xs:restriction base="xs:string">
|
|
335
|
+
<xs:maxLength value="10"/>
|
|
336
|
+
</xs:restriction>
|
|
337
|
+
</xs:simpleType>
|
|
338
|
+
<xs:simpleType name="string-50">
|
|
339
|
+
<xs:restriction base="xs:string">
|
|
340
|
+
<xs:maxLength value="50"/>
|
|
341
|
+
</xs:restriction>
|
|
342
|
+
</xs:simpleType>
|
|
343
|
+
<xs:simpleType name="string-100">
|
|
344
|
+
<xs:restriction base="xs:string">
|
|
345
|
+
<xs:maxLength value="100"/>
|
|
346
|
+
</xs:restriction>
|
|
347
|
+
</xs:simpleType>
|
|
348
|
+
<xs:simpleType name="string-200">
|
|
349
|
+
<xs:restriction base="xs:string">
|
|
350
|
+
<xs:maxLength value="200"/>
|
|
351
|
+
</xs:restriction>
|
|
352
|
+
</xs:simpleType>
|
|
353
|
+
<xs:simpleType name="string-500">
|
|
354
|
+
<xs:restriction base="xs:string">
|
|
355
|
+
<xs:maxLength value="500"/>
|
|
356
|
+
</xs:restriction>
|
|
357
|
+
</xs:simpleType>
|
|
358
|
+
<xs:simpleType name="string-1500">
|
|
359
|
+
<xs:restriction base="xs:string">
|
|
360
|
+
<xs:maxLength value="1500"/>
|
|
361
|
+
</xs:restriction>
|
|
362
|
+
</xs:simpleType>
|
|
363
|
+
<xs:simpleType name="string-4000">
|
|
364
|
+
<xs:restriction base="xs:string">
|
|
365
|
+
<xs:maxLength value="4000"/>
|
|
366
|
+
</xs:restriction>
|
|
367
|
+
</xs:simpleType>
|
|
368
|
+
<xs:complexType name="Void">
|
|
369
|
+
<xs:annotation><xs:documentation>Тип элемента, который передаёт информацию фактом своего наличия.</xs:documentation></xs:annotation>
|
|
370
|
+
</xs:complexType>
|
|
371
|
+
<xs:complexType name="SmevFault">
|
|
372
|
+
<xs:complexContent>
|
|
373
|
+
<xs:extension base="tns:Void">
|
|
374
|
+
<xs:sequence>
|
|
375
|
+
<xs:element name="Code" type="tns:string-50" minOccurs="0"/>
|
|
376
|
+
<xs:element name="Description" type="xs:string" minOccurs="0"/>
|
|
377
|
+
</xs:sequence> </xs:extension>
|
|
378
|
+
</xs:complexContent>
|
|
379
|
+
</xs:complexType>
|
|
380
|
+
</xs:schema>
|