3.1.5.1 Электронное сообщение, содержащее атрибуты заполненной заявки от пользователя ПГУ
<S:Envelope xmlns:S="http://schemas. xmlsoap. org/soap/envelope/" xmlns:wsse="http://docs. oasis-open. org/wss/2004/01/oasiswss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs. oasis-open. org/wss/2004/01/oasiswss-wssecurity-utility-1.0.xsd"><S:Header><wsse:Security S:actor="http://smev. *****/actors/smev"><ds:Signature xmlns:ds="http://www. w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www. w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="http://www. w3.org/2001/04/xmldsig-more#gostrgostr3411"/><ds:Reference URI="#body"><ds:Transforms><ds:Transform Algorithm="http://www. w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www. w3.org/2001/04/xmldsig-more#gostr3411"/><ds:DigestValue>pGtPVaSPXRywAlGDUrMdW/IPGL+H7Z0HqWZkuppFThI=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>4m3HGc3r+RVR4FWpIJTy9DQACBTA1um793UCykG5BWGZZcjSTlYR55Lcw4O6fueDIvv8kDBCXRxgDCCOcmH47w==</ds:SignatureValue><ds:KeyInfo><wsse:SecurityTokenReference><wsse:Reference URI="#SenderCertificate"/></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature><wsse:BinarySecurityToken EncodingType="http://docs. oasis-open. org/wss/2004/01/oasiswss-soap-message-security-1.0#Base64Binary" ValueType="http://docs. oasis-open. org/wss/2004/01/oasiswss-x509-token-profile-1.0#X509v3" wsu:Id="SenderCertificate">MIIDxjCCA3WgAwIBAgIKYQ6zDwAAAAAJDDAIBgYqhQMCAgMwga4xIzAhBgkqhkiG9w0BCQEWFHVjMl8xQG5paS52b3NraG9kLnJ1MQswCQYDVQQGEwJSVTEVMBMGA1UEBx4MBBwEPgRBBDoEMgQwMS8wLQYDVQQKHiYEIAQ+BE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cUKBIZTu4d40IAZ0UrRYe0nmmeLdjLCzV3FfGpc+LPyesr/xrwRzwdpFTiA/17W+X/a0ug==</wsse:BinarySecurityToken></wsse:Security></S:Header><S:Body wsu:Id="body"><ns2:RequestEPGU xmlns="http://*****/services/pgu" xmlns:ns2="http://smev. *****/rev111111" xmlns:ns3="http://www. w3.org/2000/09/xmldsig#" xmlns:ns4="http://*****/mvd/clients/epgu/response" xmlns:ns5="http://www. w3.org/2004/08/xop/include" xmlns:ns6="http://*****/mvd/clients/epgu/request"><ns2:Message><ns2:Sender><ns2:Code>MVDR01001</ns2:Code><ns2:Name>МВД России</ns2:Name></ns2:Sender><ns2:Recipient><ns2:Code>MVDR01001</ns2:Code><ns2:Name>МВД России</ns2:Name></ns2:Recipient><ns2:Originator><ns2:Code>MVDR01001</ns2:Code><ns2:Name>МВД России</ns2:Name></ns2:Originator><ns2:TypeCode>GSRV</ns2:TypeCode><ns2:Status>REQUEST</ns2:Status><ns2:Date>T18:10:58.221+04:00</ns2:Date><ns2:ExchangeType>1</ns2:ExchangeType><ns2:ServiceCode></ns2:ServiceCode><ns2:CaseNumber></ns2:CaseNumber><ns2:TestMsg>test</ns2:TestMsg></ns2:Message><ns2:MessageData><ns2:AppData><ns6:Message><ns6:Header from_foiv_id="MVDR01001" msg_type="REQUEST" to_foiv_id="MVDR01001"><ns6:InitialRegNumber regtime="T18:10:58.221+04:00"></ns6:InitialRegNumber><ns6:Service code="16"/></ns6:Header></ns6:Message></ns2:AppData><ns2:AppDocument><ns2:RequestCode>req_7d6476ac-a4e-a5789d29c630</ns2:RequestCode><ns2:BinaryData>VW1GeUlSb0hJQ1lqTVRBMU5Uc21JekV4TURZN2N5QWdEUW9nSUNBZ0lDQWdBYXQwSUNZak1URXdOanN4SUNZak1UQXlPVHNHSUNDVA==</ns2:BinaryData></ns2:AppDocument></ns2:MessageData></ns2:RequestEPGU></S:Body></S:Envelope> |
Ответ на сообщение в случае успешного исполнения (принят ведомством)
<env:Envelope xmlns:env="http://schemas. xmlsoap. org/soap/envelope/" xmlns:wsse="http://docs. oasis-open. org/wss/2004/01/oasiswss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs. oasis-open. org/wss/2004/01/oasiswss-wssecurity-utility-1.0.xsd"><env:Header><wsse:Security env:actor="http://smev. *****/actors/smev"><ds:Signature xmlns:ds="http://www. w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www. w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www. w3.org/2001/04/xmldsig-more#gostrgostr3411"/> <ds:Reference URI="#body"> <ds:Transforms> <ds:Transform Algorithm="http://www. w3.org/2001/10/xml-exc-c14n#"/> </ds:Transforms> <ds:DigestMethod Algorithm="http://www. w3.org/2001/04/xmldsig-more#gostr3411"/> <ds:DigestValue>LSU9e9Iml/moGKCbDp297N+xFvTxW7pYeQii1MlhmYg=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue> tw2Oo3mVfYS0D+C7ZE8TOUCD2vtCkQmQvwYMB5c5vPljxWb3BvTuzjCsiS6CDHVP0xAzkYwXnAhp OkstVRyAdg== </ds:SignatureValue> <ds:KeyInfo> <wsse:SecurityTokenReference><wsse:Reference URI="#SenderCertificate"/></wsse:SecurityTokenReference> </ds:KeyInfo> </ds:Signature><wsse:BinarySecurityToken EncodingType="http://docs. oasis-open. org/wss/2004/01/oasiswss-soap-message-security-1.0#Base64Binary" ValueType="http://docs. oasis-open. org/wss/2004/01/oasiswss-x509-token-profile-1.0#X509v3" wsu:Id="SenderCertificate"> MIIDxjCCA3WgAwIBAgIKYQ6zDwAAAAAJDDAIBgYqhQMCAgMwga4xIzAhBgkqhkiG9w0BCQEWFHVj Ml8xQG5paS52b3NraG9kLnJ1MQswCQYDVQQGEwJSVTEVMBMGA1UEBx4MBBwEPgRBBDoEMgQwMS8w LQYDVQQKHiYEIAQ+BEEEOAQ9BEQEPgRABDwEQgQ1BEUEPQQ+BD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djLCzV3FfGpc+LPyesr/xrwRzwdpFTiA/17W+X/a0 ug== </wsse:BinarySecurityToken></wsse:Security></env:Header><env:Body wsu:Id="body"><smev:ResponseEPGU xmlns:smev="http://smev. *****/rev111111"><ns2:Message xmlns:ns2="http://smev. *****/rev111111"><ns2:Sender><ns2:Code>MVDR01001</ns2:Code><ns2:Name>МВД России</ns2:Name></ns2:Sender><ns2:Recipient><ns2:Code>MVDR01001</ns2:Code><ns2:Name>МВД России</ns2:Name></ns2:Recipient><ns2:Originator><ns2:Code>MVDR01001</ns2:Code><ns2:Name>МВД России</ns2:Name></ns2:Originator><ns2:TypeCode>GSRV</ns2:TypeCode><ns2:Status>ACCEPT</ns2:Status><ns2:Date>T18:09:24</ns2:Date><ns2:ExchangeType>1</ns2:ExchangeType><smev:RequestIdRef>xxxxxxxx-xxxx-xxxx-xxxx-</smev:RequestIdRef><smev:OriginRequestIdRef>xxxxxxxx-xxxx-xxxx-xxxx-</smev:OriginRequestIdRef><ns2:ServiceCode></ns2:ServiceCode><ns2:CaseNumber></ns2:CaseNumber><ns2:TestMsg>test</ns2:TestMsg></ns2:Message><smev:MessageData><smev:AppData><changeOrderInfo xmlns="http://*****/services/pgu"><orderId><pguId></pguId></orderId><statusCode><techCode>2</techCode></statusCode><comment>Заявление передано в информационную систему МВД России</comment><cancelAllowed>false</cancelAllowed></changeOrderInfo></smev:AppData></smev:MessageData></smev:ResponseEPGU></env:Body></env:Envelope> |
4 Методика испытаний
4.1 Общие условия
Проведение контрольных испытаний при регистрации электронного сервиса регламентировано Приказом Министерства связи и массовых коммуникаций Российской Федерации от 27 декабря 2010 г. № 000 «Об утверждении технических требований к взаимодействию информационных систем в единой системе межведомственного электронного взаимодействия».
Порядок проведения типовых испытаний предполагает следующие этапы:
¾ Проверка комплектности предоставленной документации;
¾ Проверка сетевой связности между узлом СМЭВ и точкой размещения электронного сервиса;
¾ Регистрация сервиса и тестирование сервиса на контрольном примере.
4.2 Параметры испытаний на тестовой среде
Проведение испытаний на тестовой среде перед регистрацией электронного сервиса в продуктивной среде СМЭВ является необходимым действием, обеспечивающим повышение качества и эффективности процесса и позволяющим выявлять ошибки и несоответствия разработанного сервиса заранее, а не в продуктивном контуре.
4.3 Параметры испытаний на тестовой среде
¾ Контактное лицо: , e-mail: *****@***ru,
¾ Адрес тестового экземпляра на стенде разработчика:
o http://develop. *****/services/EPGUService? wsdl
¾ Адрес в тестовом СМЭВ:
o http://188.254.16.92:7777/gateway/services/SID0003304?wsdl
¾ Режим функционирования тестовой среды: 24/5 (круглосуточно по будням). Особых условий доступности не определено.
¾ Для того чтоб протестировать сервис, необходимо:
o зарегистрировать сервис на тестовой среде во время ее доступности согласно режиму функционирования,
o протестировать все операции на основании контрольных примеров.
5 Приложения
5.1 Описание сервиса (WSDL)
Описание сервиса (WSDL)
<definitions name='EPGUService' targetNamespace='http://*****/mvd/clients/epgu' xmlns='http://schemas. xmlsoap. org/wsdl/' xmlns:smev='http://smev. *****/rev111111' xmlns:soap='http://schemas. xmlsoap. org/wsdl/soap/' xmlns:tns='http://*****/mvd/clients/epgu' xmlns:xs='http://www. w3.org/2001/XMLSchema'> <types> <xs:schema targetNamespace='http://*****/mvd/clients/epgu' xmlns:smev='http://smev. *****/rev111111'> <xs:import namespace='http://smev. *****/rev111111' schemaLocation='http://develop. *****/services/EPGUService? wsdl&resource=smev_ext_epgu_o. xsd'/> </xs:schema> </types> <message name='RequestEPGU'> <part element='smev:RequestEPGU' name='RequestEPGUPart'></part> </message> <message name='ResponseEPGU'> <part element='smev:ResponseEPGU' name='ResponseEPGUPart'></part> </message> <portType name='EPGUServiceInterface'> <operation name='sendEPGURequest'> <input message='tns:RequestEPGU'></input> <output message='tns:ResponseEPGU'></output> </operation> </portType> <binding name='Binding' type='tns:EPGUServiceInterface'> <soap:binding transport='http://schemas. xmlsoap. org/soap/http'/> <operation name='sendEPGURequest'> <soap:operation soapAction='http://*****/send_epgu_request' style='document'/> <input> <soap:body use='literal'/> </input> <output> <soap:body use='literal'/> </output> </operation> </binding> <service name='EPGUService'> <port binding='tns:Binding' name='EPGUServicePort'> <soap:address location='http://develop. *****/services/EPGUService'/> </port> </service> </definitions> |
Приведенный WSDL содержит ссылку на файл XSD smev_ext_epgu_o. xsd
Описание smev_ext_epgu_o. xsd
<xs:schema attributeFormDefault='unqualified' elementFormDefault='qualified' targetNamespace='http://smev. *****/rev111111' xmlns:req='http://*****/mvd/clients/epgu/request' xmlns:res='http://*****/mvd/clients/epgu/response' xmlns:tns='http://smev. *****/rev111111' xmlns:xs='http://www. w3.org/2001/XMLSchema'> <xs:include schemaLocation='http://develop. *****/services/EPGUService? wsdl&resource=../smev/smev_rev111111.xsd'/> <xs:import namespace='http://*****/mvd/clients/epgu/request' schemaLocation='http://develop. *****/services/EPGUService? wsdl&resource=request_EPGU. xsd'/> <xs:import namespace='http://*****/mvd/clients/epgu/response' schemaLocation='http://develop. *****/services/EPGUService? wsdl&resource=response_EPGU. xsd'/> <xs:element name='RequestEPGU' type='tns:RequestEPGUType'/> <xs:element name='ResponseEPGU' type='tns:ResponseEPGUType'/> <xs:complexType name='RequestEPGUType'> <xs:sequence> <xs:element ref='tns:Message'/> <xs:element name='MessageData' type='tns:RequestEPGUMessageData'/> <xs:element name='MessageDocument' type='tns:AppDocumentType'/> </xs:sequence> </xs:complexType> <xs:complexType name='RequestEPGUMessageData'> <xs:sequence> <xs:element name='AppData' type='req:AppDataType'/> </xs:sequence> </xs:complexType> <xs:complexType name='ResponseEPGUType'> <xs:sequence> <xs:element ref='tns:Message'/> <xs:element name='MessageData' type='tns:ResponseEPGUMessageData'/> <xs:element name='MessageDocument' type='tns:AppDocumentType'/> </xs:sequence> </xs:complexType> <xs:complexType name='ResponseEPGUMessageData'> <xs:sequence> <xs:element name='AppData' type='res:AppDataType'/> </xs:sequence> </xs:complexType> </xs:schema> |
Приведенный файл XSD smev_ext_epgu_o. xsd содержит ссылку на следующий файлы:
¾ smev_rev111111.xsd
¾ request_EPGU. xsd
¾ response_EPGU. xsd
Описание smev_rev111111.xsd
<xs:schema attributeFormDefault='unqualified' elementFormDefault='qualified' targetNamespace='http://smev. *****/rev111111' version='1.0' xmlns:smev='http://smev. *****/rev111111' xmlns:xop='http://www. w3.org/2004/08/xop/include' xmlns:xs='http://www. w3.org/2001/XMLSchema'> <xs:import namespace='http://www. w3.org/2004/08/xop/include' schemaLocation='http://develop. *****/services/EPGUService? wsdl&resource=../smev/include. xsd'/> <xs:element name='Header' type='smev:HeaderType'> <xs:annotation> <xs:documentation>Служебный загловок СМЭВ</xs:documentation> </xs:annotation> </xs:element> <xs:element name='BaseMessage' type='smev:BaseMessageType'> <xs:annotation> <xs:documentation>Базовый тип, описывающий сообщение в целом </xs:documentation> </xs:annotation> </xs:element> <xs:element name='Message' type='smev:MessageType'> <xs:annotation> <xs:documentation>Служебный блок атрибутов СМЭВ </xs:documentation> </xs:annotation> </xs:element> <xs:element name='MessageData' type='smev:MessageDataType'> <xs:annotation> <xs:documentation>Блок-обертка данных СМЭВ</xs:documentation> </xs:annotation> </xs:element> <xs:element name='AppData' type='smev:AppDataType'> <xs:annotation> <xs:documentation>Блок структурированных сведений</xs:documentation> </xs:annotation> </xs:element> <xs:element name='AppDocument' type='smev:AppDocumentType'> <xs:annotation> <xs:documentation>Блок вложений</xs:documentation> </xs:annotation> </xs:element> <xs:element name='Sender' type='smev:orgExternalType'> <xs:annotation> <xs:documentation>Данные о системе-ициаторе взаимодействия (Потребителе) (валидируется СМЭВ на соответствие сертификату) </xs:documentation> </xs:annotation> </xs:element> <xs:element name='Recipient' type='smev:orgExternalType'> <xs:annotation> <xs:documentation>Данные о системе-получателе сообщения (Поставщике) (валидируется СМЭВ рестру поставщиков) </xs:documentation> </xs:annotation> </xs:element> <xs:element name='Originator' type='smev:orgExternalType'> <xs:annotation> <xs:documentation>Данные о системе, инициировавашей цепочку из нескольких запросов-ответов, объединенных единым процессом в рамках взаимодействия </xs:documentation> </xs:annotation> </xs:element> <xs:element name='TypeCode' type='smev:TypeCodeType'> <xs:annotation> <xs:documentation>Тип сообщения</xs:documentation> </xs:annotation> </xs:element> <xs:element name='Date' type='xs:dateTime'> <xs:annotation> <xs:documentation>Дата создания запроса</xs:documentation> </xs:annotation> </xs:element> <xs:element name='RequestIdRef' type='smev:idType'> <xs:annotation> <xs:documentation>Идентификатор сообщения-запроса, инициировавшего взаимодействие </xs:documentation> </xs:annotation> </xs:element> <xs:element name='OriginRequestIdRef' type='smev:idType'> <xs:annotation> <xs:documentation>Идентификатор сообщения-запроса, инициировавшего цепочку из нескольких запросов-ответов, объединенных единым процессом в рамках взаимодействия </xs:documentation> </xs:annotation> </xs:element> <xs:element name='ServiceCode' type='xs:string'> <xs:annotation> <xs:documentation>Код услуги</xs:documentation> </xs:annotation> </xs:element> <xs:element name='CaseNumber' type='xs:string'> <xs:annotation> <xs:documentation>Номер заявки в информационной системе-отправителе </xs:documentation> </xs:annotation> </xs:element> <xs:element name='MessageId' type='smev:idType'> <xs:annotation> <xs:documentation>Идентификатор сообщения</xs:documentation> </xs:annotation> </xs:element> <xs:element name='TimeStamp' type='xs:dateTime'> <xs:annotation> <xs:documentation>Метка времени получения запроса СМЭВом </xs:documentation> </xs:annotation> </xs:element> <xs:element name='NodeId' type='xs:string'> <xs:annotation> <xs:documentation>Уникальный идентификатор узла</xs:documentation> </xs:annotation> </xs:element> <xs:element name='MessageClass' type='smev:MessageClassType'> <xs:annotation> <xs:documentation>Идентификатор класса сообщения</xs:documentation> </xs:annotation> </xs:element> <xs:element name='Status' type='smev:StatusType'> <xs:annotation> <xs:documentation>Статус сообщения</xs:documentation> </xs:annotation> </xs:element> <xs:element name='ExchangeType' type='xs:string'> <xs:annotation> <xs:documentation>Категория взаимодействия</xs:documentation> </xs:annotation> </xs:element> <xs:element name='BinaryData' type='xs:base64Binary'> <xs:annotation> <xs:documentation>Контент вложения</xs:documentation> </xs:annotation> </xs:element> <xs:element name='Reference' type='smev:ReferenceType'> <xs:annotation> <xs:documentation>Ссылка на вложение</xs:documentation> </xs:annotation> </xs:element> <xs:element name='DigestValue' type='xs:base64Binary'> <xs:annotation> <xs:documentation>Хеш-код вложения</xs:documentation> </xs:annotation> </xs:element> <xs:element name='TestMsg' type='xs:string'> <xs:annotation> <xs:documentation>Идентификатор тестового запроса</xs:documentation> </xs:annotation> </xs:element> <xs:element name='RequestCode' type='xs:string'> <xs:annotation> <xs:documentation>Код заявления</xs:documentation> </xs:annotation> </xs:element> <xs:complexType name='HeaderType'> <xs:sequence> <xs:element ref='smev:NodeId'/> <xs:element ref='smev:MessageId'/> <xs:element ref='smev:TimeStamp'/> <xs:element ref='smev:MessageClass'/> </xs:sequence> </xs:complexType> <xs:complexType name='BaseMessageType'> <xs:sequence> <xs:element ref='smev:Message'/> <xs:element ref='smev:MessageData'/> </xs:sequence> </xs:complexType> <xs:complexType name='MessageType'> <xs:sequence> <xs:element ref='smev:Sender'/> <xs:element ref='smev:Recipient'/> <xs:element minOccurs='0' ref='smev:Originator'/> <xs:element ref='smev:TypeCode'/> <xs:element ref='smev:Status'/> <xs:element ref='smev:Date'/> <xs:element ref='smev:ExchangeType'/> <xs:element minOccurs='0' ref='smev:RequestIdRef'/> <xs:element minOccurs='0' ref='smev:OriginRequestIdRef'/> <xs:element minOccurs='0' ref='smev:ServiceCode'/> <xs:element minOccurs='0' ref='smev:CaseNumber'/> <xs:element minOccurs='0' ref='smev:TestMsg'/> </xs:sequence> </xs:complexType> <xs:complexType name='MessageDataType'> <xs:sequence> <xs:element minOccurs='0' ref='smev:AppData'/> <xs:element minOccurs='0' ref='smev:AppDocument'/> </xs:sequence> </xs:complexType> <xs:complexType name='AppDataType'> <xs:sequence> <xs:any maxOccurs='unbounded' minOccurs='0' namespace='##any' processContents='lax'/> </xs:sequence> <xs:anyAttribute namespace='##any' processContents='lax'/> </xs:complexType> <xs:complexType name='AppDocumentType'> <xs:sequence> <xs:element ref='smev:RequestCode'/> <xs:choice> <xs:element ref='smev:BinaryData'/> <xs:sequence> <xs:element ref='smev:Reference'/> <xs:element ref='smev:DigestValue'/> </xs:sequence> </xs:choice> </xs:sequence> </xs:complexType> <xs:complexType mixed='true' name='ReferenceType'> <xs:sequence> <xs:element minOccurs='0' ref='xop:Include'/> </xs:sequence> </xs:complexType> <xs:complexType name='orgExternalType'> <xs:annotation> <xs:documentation>Сведения об информационной системе </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name='Code' type='xs:string'> <xs:annotation> <xs:documentation>Идентификатор системы</xs:documentation> </xs:annotation> </xs:element> <xs:element name='Name' type='xs:string'> <xs:annotation> <xs:documentation>Наименование системы</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:simpleType name='TypeCodeType'> <xs:restriction base='xs:string'> <xs:enumeration value='GSRV'> <xs:annotation> <xs:documentation>Взаимодействие в рамках оказания государственных услуг </xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='GFNC'> <xs:annotation> <xs:documentation>Взаимодействие в рамках исполнения </xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name='MessageClassType'> <xs:restriction base='xs:string'> <xs:enumeration value='REQUEST'> <xs:annotation> <xs:documentation>Запрос от потребителя к поставщику </xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='RESPONSE'> <xs:annotation> <xs:documentation>Ответ поставщика потребителю</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name='StatusType'> <xs:restriction base='xs:string'> <xs:enumeration value='REQUEST'> <xs:annotation> <xs:documentation>Запрос</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='RESULT'> <xs:annotation> <xs:documentation>Результат</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='REJECT'> <xs:annotation> <xs:documentation>Мотивированный отказ</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='INVALID'> <xs:annotation> <xs:documentation>Ошибка при ФЛК</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='ACCEPT'> <xs:annotation> <xs:documentation>Сообщение-квиток о приеме</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='PING'> <xs:annotation> <xs:documentation>Запрос данных/результатов</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='PROCESS'> <xs:annotation> <xs:documentation>В обработке</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='NOTIFY'> <xs:annotation> <xs:documentation>Уведомление об ошибке</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='FAILURE'> <xs:annotation> <xs:documentation>Технический сбой</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='CANCEL'> <xs:annotation> <xs:documentation>Отзыв заявления</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value='STATE'> <xs:annotation> <xs:documentation>Возврат состояния</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name='idType'> <xs:restriction base='xs:string'/> </xs:simpleType> </xs:schema> |
Приведенный файл XSD smev_rev111111.xsd содержит ссылку на следующий файлы:
¾ include. xsd
Описание include. xsd
<xs:schema targetNamespace='http://www. w3.org/2004/08/xop/include' xmlns:tns='http://www. w3.org/2004/08/xop/include' xmlns:xs='http://www. w3.org/2001/XMLSchema'> <xs:element name='Include' type='tns:Include'/> <xs:complexType name='Include'> <xs:sequence> <xs:any maxOccurs='unbounded' minOccurs='0' namespace='##other'/> </xs:sequence> <xs:attribute name='href' type='xs:anyURI' use='required'/> <xs:anyAttribute namespace='##other'/> </xs:complexType> </xs:schema> |
Описание request_EPGU. xsd
|
Из за большого объема этот материал размещен на нескольких страницах:
1 2 3 4 5 6 7 8 9 |


