ezags-xsd 2.2.0.3 → 2.2.0.4

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.
@@ -8,8 +8,5 @@ class GetActRecordsRequestMapper
8
8
  # @return [String]
9
9
  # minOccurs: 1, maxOccurs: 1
10
10
  attr_accessor :task_id
11
- # @return [SignatureTypeMapper]
12
- # minOccurs: 1, maxOccurs: 1
13
- attr_accessor :signature
14
11
 
15
12
  end
@@ -1,5 +1,5 @@
1
1
  module Ezags
2
2
  module Xsd
3
- VERSION = '2.2.0.3'
3
+ VERSION = '2.2.0.4'
4
4
  end
5
5
  end
@@ -2,7 +2,6 @@ require 'spec_helper'
2
2
  require "xml_schema_mapper/test_builder"
3
3
 
4
4
  # @attr taskId [string]
5
- # @attr Signature [SignatureType]
6
5
 
7
6
 
8
7
  describe GetActRecordsRequestMapper do
@@ -4,34 +4,27 @@
4
4
  xmlns="http://schemas.xmlsoap.org/wsdl/"
5
5
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
6
6
  xmlns:tns="http://ezags.rt.ru/fzags/GetResultsService/"
7
+ xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext"
7
8
  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
8
9
  <types>
9
10
  <xsd:schema>
10
- <xsd:import namespace="http://ezags.rt.ru/type/common/" schemaLocation="../common.xsd"/>
11
- </xsd:schema>
12
- <xsd:schema>
13
- <xsd:import namespace="http://ezags.rt.ru/type/actor/" schemaLocation="../actor.xsd"/>
14
- </xsd:schema>
15
- <xsd:schema>
16
- <xsd:import namespace="http://ezags.rt.ru/type/document/" schemaLocation="../documents.xsd"/>
17
- </xsd:schema>
18
- <xsd:schema>
19
- <xsd:import namespace="http://ezags.rt.ru/type/externaldocuments/" schemaLocation="../externaldocuments.xsd"/>
11
+ <xsd:import namespace="http://ezags.rt.ru/fzags/GetResultsService/" schemaLocation="GetResultsService.xsd"/>
20
12
  </xsd:schema>
21
13
  <xsd:schema>
22
- <xsd:import namespace="http://ezags.rt.ru/fzags/GetResultsService/" schemaLocation="GetResultsService.xsd"/>
14
+ <xsd:import namespace="http://schemas.xmlsoap.org/ws/2002/04/secext" schemaLocation="SecurityWithSignature.xsd"/>
23
15
  </xsd:schema>
24
16
  </types>
25
- <message name="GetActRecordsRequest">
17
+ <message name="GetActRecordsRequestMessage">
18
+ <part name="header" element="wsse:Security"/>
26
19
  <part name="body" element="tns:getActRecordsRequest"/>
27
20
  </message>
28
- <message name="GetActRecordsResponse">
21
+ <message name="GetActRecordsResponseMessage">
29
22
  <part name="body" element="tns:getActRecordsResponse"/>
30
23
  </message>
31
24
  <portType name="GetResultsPortType">
32
25
  <operation name="getActRecords">
33
- <input message="tns:GetActRecordsRequest"/>
34
- <output message="tns:GetActRecordsResponse"/>
26
+ <input message="tns:GetActRecordsRequestMessage"/>
27
+ <output message="tns:GetActRecordsResponseMessage"/>
35
28
  </operation>
36
29
  </portType>
37
30
  <binding name="GetResultsBinding" type="tns:GetResultsPortType">
@@ -39,10 +32,11 @@
39
32
  <operation name="getActRecords">
40
33
  <soap:operation soapAction=""/>
41
34
  <input>
42
- <soap:body use="literal"/>
35
+ <soap:header use="literal" message="tns:GetActRecordsRequestMessage" part="header"/>
36
+ <soap:body use="literal" parts="body"/>
43
37
  </input>
44
38
  <output>
45
- <soap:body use="literal"/>
39
+ <soap:body use="literal" parts="body"/>
46
40
  </output>
47
41
  </operation>
48
42
  </binding>
@@ -3,17 +3,11 @@
3
3
  xmlns:tns="http://ezags.rt.ru/fzags/GetResultsService/"
4
4
  xmlns:doc="http://ezags.rt.ru/type/document/"
5
5
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
6
- xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
7
6
  elementFormDefault="qualified" attributeFormDefault="unqualified">
8
- <xs:import namespace="http://ezags.rt.ru/type/common/" schemaLocation="../common.xsd"/>
9
7
  <xs:import namespace="http://ezags.rt.ru/type/document/" schemaLocation="../documents.xsd"/>
10
- <xs:import namespace="http://ezags.rt.ru/type/externaldocuments/" schemaLocation="../externaldocuments.xsd"/>
11
- <xs:import namespace="http://ezags.rt.ru/type/actor/" schemaLocation="../actor.xsd"/>
12
- <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="../xmldsig-core-schema.xsd"/>
13
8
  <xs:complexType name="GetActRecordsRequest">
14
9
  <xs:sequence minOccurs="1">
15
10
  <xs:element name="taskId" type="xs:string" minOccurs="1"/>
16
- <xs:element ref="ds:Signature"/>
17
11
  </xs:sequence>
18
12
  </xs:complexType>
19
13
  <xs:complexType name="GetActRecordsResponse">
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xsd:schema targetNamespace="http://schemas.xmlsoap.org/ws/2002/04/secext"
3
+ xmlns:tns="http://schemas.xmlsoap.org/ws/2002/04/secext"
4
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5
+ xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
6
+ <xsd:import namespace="http://schemas.xmlsoap.org/ws/2002/04/secext" schemaLocation="http://schemas.xmlsoap.org/ws/2002/04/secext/secext.xsd"/>
7
+ <xsd:complexType name="SecurityWithSignature">
8
+ <xsd:sequence>
9
+ <xsd:element ref="ds:Signature"/>
10
+ </xsd:sequence>
11
+ </xsd:complexType>
12
+ <xsd:element name="Security" type="tns:SecurityWithSignature"/>
13
+ </xsd:schema>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ezags-xsd
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.2.0.3
5
+ version: 2.2.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Anton Sozontov
@@ -832,6 +832,7 @@ files:
832
832
  - vendor/ezags-protocols/pfr/xop-include.xsd
833
833
  - vendor/ezags-protocols/retro/GetResultsService.wsdl
834
834
  - vendor/ezags-protocols/retro/GetResultsService.xsd
835
+ - vendor/ezags-protocols/retro/SecurityWithSignature.xsd
835
836
  - vendor/ezags-protocols/smev/smev.gosuslugi.ru.rev111111.xsd
836
837
  - vendor/ezags-protocols/smev/smev.gosuslugi.ru.rev120315.xsd
837
838
  - vendor/ezags-protocols/smev/xmldsig-core-schema.xsd