correios_sigep 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.rubocop.yml +1155 -2
- data/.travis.yml +4 -4
- data/README.md +2 -3
- data/correios_sigep.gemspec +3 -2
- data/lib/correios_sigep.rb +0 -1
- data/lib/correios_sigep/builders/xml/collect_objects.rb +4 -4
- data/lib/correios_sigep/builders/xml/request.rb +30 -7
- data/lib/correios_sigep/builders/xml/request_collect_number.rb +5 -0
- data/lib/correios_sigep/configuration.rb +3 -3
- data/lib/correios_sigep/logistic_reverse/base_client.rb +7 -4
- data/lib/correios_sigep/logistic_reverse/request_sro.rb +1 -1
- data/lib/correios_sigep/models/administrative_fields.rb +1 -2
- data/lib/correios_sigep/models/sro.rb +2 -2
- data/lib/correios_sigep/version.rb +1 -1
- data/spec/correios_sigep/builders/xml/request_collect_number_spec.rb +1 -1
- data/spec/correios_sigep/builders/xml/request_spec.rb +2 -13
- data/spec/correios_sigep/builders/xml/request_sro_spec.rb +2 -2
- data/spec/correios_sigep/configuration_spec.rb +23 -33
- data/spec/correios_sigep/logistic_reverse/base_client_spec.rb +10 -4
- data/spec/correios_sigep/logistic_reverse/request_collect_number_spec.rb +18 -11
- data/spec/correios_sigep/logistic_reverse/request_sro_spec.rb +18 -11
- data/spec/correios_sigep_spec.rb +0 -14
- data/spec/fixtures/builders/request_collect_number.xml +1 -2
- data/spec/fixtures/builders/request_sro.xml +1 -2
- data/spec/fixtures/correios/request_sro/response_array_success.xml +2 -2
- data/spec/fixtures/correios/request_sro/response_collect_number_not_found.xml +2 -2
- data/spec/fixtures/correios/request_sro/response_required_fields.xml +2 -2
- data/spec/fixtures/correios/request_sro/response_sro_not_ready.xml +2 -2
- data/spec/fixtures/correios/request_sro/response_success.xml +2 -2
- data/spec/fixtures/correios/request_sro/response_unknown_error.xml +2 -2
- data/spec/fixtures/correios/wsdl.xml +650 -188
- data/spec/fixtures/requests/collect_number_request.xml +2 -2
- data/spec/fixtures/requests/sro_request.xml +1 -1
- data/spec/spec_helper.rb +2 -3
- metadata +48 -37
- data/lib/correios_sigep/builders/xml/authentication.rb +0 -37
- data/spec/fixtures/correios/wsdl_test.xml +0 -616
@@ -3,23 +3,30 @@ require 'spec_helper'
|
|
3
3
|
module CorreiosSigep
|
4
4
|
module LogisticReverse
|
5
5
|
describe RequestSRO do
|
6
|
-
let(:sro_params)
|
7
|
-
let(:sro)
|
8
|
-
let(:body)
|
6
|
+
let(:sro_params) { { collect_number: '1234', type: 'A' } }
|
7
|
+
let(:sro) { CorreiosSigep::Models::SRO.new(sro_params) }
|
8
|
+
let(:body) { request_fixture('sro_request.xml').chop }
|
9
|
+
let(:user) { 'user' }
|
10
|
+
let(:pass) { 'pass' }
|
9
11
|
|
10
12
|
before do
|
11
13
|
# WSDL
|
12
|
-
stub_request(:get,
|
13
|
-
with(:
|
14
|
-
|
14
|
+
stub_request(:get, 'https://apphom.correios.com.br/logisticaReversaWS/logisticaReversaService/logisticaReversaWS?wsdl').
|
15
|
+
with(basic_auth: [user, pass]).
|
16
|
+
with(:headers => {
|
17
|
+
'Accept'=>'*/*',
|
18
|
+
'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
|
19
|
+
'User-Agent'=>'Ruby'
|
20
|
+
}).to_return(status: 200, body: correios_fixture('wsdl.xml'), headers: {})
|
15
21
|
|
16
22
|
# REQUEST
|
17
|
-
stub_request(:post,
|
18
|
-
|
23
|
+
stub_request(:post, 'https://apphom.correios.com.br/logisticaReversaWS/logisticaReversaService/logisticaReversaWS').
|
24
|
+
with(basic_auth: [user, pass]).
|
25
|
+
with(:body => body, :headers => {
|
26
|
+
'Accept'=>'*/*',
|
19
27
|
'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
|
20
|
-
'
|
21
|
-
|
22
|
-
to_return(:status => 200, :body => correios_fixture("request_sro/#{response_body}"), :headers => {})
|
28
|
+
'User-Agent'=>'Ruby'
|
29
|
+
}).to_return(status: 200, body: correios_fixture("request_sro/#{response_body}"), headers: {})
|
23
30
|
end
|
24
31
|
|
25
32
|
describe '.process' do
|
data/spec/correios_sigep_spec.rb
CHANGED
@@ -5,21 +5,11 @@ describe CorreiosSigep do
|
|
5
5
|
subject { described_class.configuration }
|
6
6
|
before do
|
7
7
|
described_class.configure do |config|
|
8
|
-
config.user = '60618043'
|
9
|
-
config.password = '8o8otn'
|
10
8
|
config.administrative_code = '08082650'
|
11
9
|
config.card = '0057018901'
|
12
|
-
config.contract = '9912208555'
|
13
10
|
config.service_code = '41076'
|
14
11
|
end
|
15
12
|
end
|
16
|
-
it 'configures the correct user' do
|
17
|
-
expect(subject.user).to eq '60618043'
|
18
|
-
end
|
19
|
-
|
20
|
-
it 'configures the correct password' do
|
21
|
-
expect(subject.password).to eq '8o8otn'
|
22
|
-
end
|
23
13
|
|
24
14
|
it 'configures the correct administrative code' do
|
25
15
|
expect(subject.administrative_code).to eq '08082650'
|
@@ -29,10 +19,6 @@ describe CorreiosSigep do
|
|
29
19
|
expect(subject.card).to eq '0057018901'
|
30
20
|
end
|
31
21
|
|
32
|
-
it 'configures the correct contract' do
|
33
|
-
expect(subject.contract).to eq '9912208555'
|
34
|
-
end
|
35
|
-
|
36
22
|
it 'configures the correct service_code' do
|
37
23
|
expect(subject.service_code).to eq '41076'
|
38
24
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<cartao>0057018901</cartao><codigo_servico>41076</codigo_servico><
|
1
|
+
<cartao>0057018901</cartao><codigo_servico>41076</codigo_servico><codAdministrativo>08082650</codAdministrativo>
|
2
2
|
<destinatario>
|
3
3
|
<nome>ESTABELECIMENT W*M</nome>
|
4
4
|
<logradouro>ESTRADA DE ACESSO A JANDIRA</logradouro>
|
@@ -62,4 +62,3 @@
|
|
62
62
|
<num>2</num>
|
63
63
|
</obj_col>
|
64
64
|
</coletas_solicitadas>
|
65
|
-
|
@@ -1,5 +1,4 @@
|
|
1
|
-
<
|
1
|
+
<codAdministrativo>08082650</codAdministrativo>
|
2
2
|
<tipoBusca>H</tipoBusca>
|
3
3
|
<tipoSolicitacao>A</tipoSolicitacao>
|
4
4
|
<numeroPedido>1234</numeroPedido>
|
5
|
-
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
|
3
3
|
<S:Body>
|
4
4
|
<ns2:acompanharPedidoResponse xmlns:ns2="http://webservice.scol.correios.com.br/">
|
5
|
-
<
|
5
|
+
<acompanharPedido>
|
6
6
|
<codigo_administrativo>0808265</codigo_administrativo>
|
7
7
|
<tipo_solicitacao>A</tipo_solicitacao>
|
8
8
|
<coleta>
|
@@ -32,7 +32,7 @@
|
|
32
32
|
<hora_ultima_atualizacao>11:02:36</hora_ultima_atualizacao>
|
33
33
|
</objeto>
|
34
34
|
</coleta>
|
35
|
-
</
|
35
|
+
</acompanharPedido>
|
36
36
|
</ns2:acompanharPedidoResponse>
|
37
37
|
</S:Body>
|
38
38
|
</S:Envelope>
|
@@ -2,12 +2,12 @@
|
|
2
2
|
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
|
3
3
|
<S:Body>
|
4
4
|
<ns2:acompanharPedidoResponse xmlns:ns2="http://webservice.scol.correios.com.br/">
|
5
|
-
<
|
5
|
+
<acompanharPedido>
|
6
6
|
<data>16/07/2015</data>
|
7
7
|
<hora>19:21</hora>
|
8
8
|
<cod_erro>-5</cod_erro>
|
9
9
|
<msg_erro>Número do pedido inválido ou não localizado na base de dados para o tipo de solicitação informado.</msg_erro>
|
10
|
-
</
|
10
|
+
</acompanharPedido>
|
11
11
|
</ns2:acompanharPedidoResponse>
|
12
12
|
</S:Body>
|
13
13
|
</S:Envelope>
|
@@ -2,12 +2,12 @@
|
|
2
2
|
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
|
3
3
|
<S:Body>
|
4
4
|
<ns2:acompanharPedidoResponse xmlns:ns2="http://webservice.scol.correios.com.br/">
|
5
|
-
<
|
5
|
+
<acompanharPedido>
|
6
6
|
<data>16/07/2015</data>
|
7
7
|
<hora>11:35</hora>
|
8
8
|
<cod_erro>-7</cod_erro>
|
9
9
|
<msg_erro>Dados obrigatórios não informados.</msg_erro>
|
10
|
-
</
|
10
|
+
</acompanharPedido>
|
11
11
|
</ns2:acompanharPedidoResponse>
|
12
12
|
</S:Body>
|
13
13
|
</S:Envelope>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
|
3
3
|
<S:Body>
|
4
4
|
<ns2:acompanharPedidoResponse xmlns:ns2="http://webservice.scol.correios.com.br/">
|
5
|
-
<
|
5
|
+
<acompanharPedido>
|
6
6
|
<codigo_administrativo>0808265</codigo_administrativo>
|
7
7
|
<tipo_solicitacao>A</tipo_solicitacao>
|
8
8
|
<coleta>
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<hora_ultima_atualizacao>11:02:36</hora_ultima_atualizacao>
|
25
25
|
</objeto>
|
26
26
|
</coleta>
|
27
|
-
</
|
27
|
+
</acompanharPedido>
|
28
28
|
</ns2:acompanharPedidoResponse>
|
29
29
|
</S:Body>
|
30
30
|
</S:Envelope>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
|
3
3
|
<S:Body>
|
4
4
|
<ns2:acompanharPedidoResponse xmlns:ns2="http://webservice.scol.correios.com.br/">
|
5
|
-
<
|
5
|
+
<acompanharPedido>
|
6
6
|
<codigo_administrativo>0808265</codigo_administrativo>
|
7
7
|
<tipo_solicitacao>A</tipo_solicitacao>
|
8
8
|
<coleta>
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<hora_ultima_atualizacao>11:02:36</hora_ultima_atualizacao>
|
25
25
|
</objeto>
|
26
26
|
</coleta>
|
27
|
-
</
|
27
|
+
</acompanharPedido>
|
28
28
|
</ns2:acompanharPedidoResponse>
|
29
29
|
</S:Body>
|
30
30
|
</S:Envelope>
|
@@ -2,12 +2,12 @@
|
|
2
2
|
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
|
3
3
|
<S:Body>
|
4
4
|
<ns2:acompanharPedidoResponse xmlns:ns2="http://webservice.scol.correios.com.br/">
|
5
|
-
<
|
5
|
+
<acompanharPedido>
|
6
6
|
<data>16/07/2015</data>
|
7
7
|
<hora>11:35</hora>
|
8
8
|
<cod_erro>123</cod_erro>
|
9
9
|
<msg_erro>Erro desconhecido.</msg_erro>
|
10
|
-
</
|
10
|
+
</acompanharPedido>
|
11
11
|
</ns2:acompanharPedidoResponse>
|
12
12
|
</S:Body>
|
13
13
|
</S:Envelope>
|
@@ -1,188 +1,650 @@
|
|
1
|
-
|
2
|
-
<types>
|
3
|
-
<
|
4
|
-
<
|
5
|
-
|
6
|
-
|
7
|
-
<
|
8
|
-
<
|
9
|
-
|
10
|
-
<
|
11
|
-
<
|
12
|
-
|
13
|
-
<
|
14
|
-
<
|
15
|
-
|
16
|
-
<
|
17
|
-
<
|
18
|
-
|
19
|
-
<
|
20
|
-
<
|
21
|
-
|
22
|
-
<
|
23
|
-
<
|
24
|
-
|
25
|
-
<
|
26
|
-
<
|
27
|
-
|
28
|
-
<
|
29
|
-
<
|
30
|
-
|
31
|
-
<
|
32
|
-
<
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
<
|
38
|
-
<
|
39
|
-
|
40
|
-
<
|
41
|
-
<
|
42
|
-
</
|
43
|
-
|
44
|
-
|
45
|
-
</
|
46
|
-
<
|
47
|
-
<
|
48
|
-
|
49
|
-
<
|
50
|
-
<
|
51
|
-
|
52
|
-
<
|
53
|
-
<
|
54
|
-
|
55
|
-
<
|
56
|
-
|
57
|
-
</
|
58
|
-
<
|
59
|
-
<
|
60
|
-
|
61
|
-
<
|
62
|
-
<
|
63
|
-
<
|
64
|
-
<
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
</
|
70
|
-
<
|
71
|
-
<
|
72
|
-
<
|
73
|
-
|
74
|
-
<
|
75
|
-
<
|
76
|
-
<
|
77
|
-
|
78
|
-
<
|
79
|
-
<
|
80
|
-
<
|
81
|
-
|
82
|
-
<
|
83
|
-
<
|
84
|
-
|
85
|
-
</
|
86
|
-
<
|
87
|
-
<
|
88
|
-
<
|
89
|
-
|
90
|
-
<
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
<
|
95
|
-
<
|
96
|
-
|
97
|
-
</
|
98
|
-
|
99
|
-
<
|
100
|
-
<
|
101
|
-
<
|
102
|
-
|
103
|
-
|
104
|
-
<
|
105
|
-
|
106
|
-
<
|
107
|
-
<
|
108
|
-
|
109
|
-
|
110
|
-
<
|
111
|
-
|
112
|
-
|
113
|
-
<
|
114
|
-
|
115
|
-
<
|
116
|
-
<
|
117
|
-
|
118
|
-
|
119
|
-
<
|
120
|
-
|
121
|
-
|
122
|
-
<
|
123
|
-
|
124
|
-
<
|
125
|
-
<
|
126
|
-
|
127
|
-
|
128
|
-
<
|
129
|
-
<
|
130
|
-
<
|
131
|
-
<
|
132
|
-
</
|
133
|
-
|
134
|
-
|
135
|
-
</
|
136
|
-
|
137
|
-
<
|
138
|
-
<
|
139
|
-
<
|
140
|
-
<
|
141
|
-
|
142
|
-
<
|
143
|
-
|
144
|
-
</
|
145
|
-
|
146
|
-
<
|
147
|
-
<
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
<
|
152
|
-
<
|
153
|
-
|
154
|
-
|
155
|
-
<
|
156
|
-
<
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
<
|
161
|
-
<
|
162
|
-
</
|
163
|
-
</
|
164
|
-
<
|
165
|
-
<
|
166
|
-
<
|
167
|
-
<
|
168
|
-
|
169
|
-
<
|
170
|
-
<
|
171
|
-
|
172
|
-
</
|
173
|
-
|
174
|
-
<
|
175
|
-
<
|
176
|
-
<
|
177
|
-
|
178
|
-
<
|
179
|
-
<
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
<
|
184
|
-
<
|
185
|
-
<
|
186
|
-
|
187
|
-
</
|
188
|
-
</
|
1
|
+
<wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://service.logisticareversa.correios.com.br/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" name="logisticaReversaService" targetNamespace="http://service.logisticareversa.correios.com.br/">
|
2
|
+
<wsdl:types>
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://service.logisticareversa.correios.com.br/" elementFormDefault="unqualified" targetNamespace="http://service.logisticareversa.correios.com.br/" version="1.0">
|
4
|
+
<xs:element name="WebServiceFaultInfo" type="tns:WebServiceFaultInfo"/>
|
5
|
+
<xs:element name="acompanharPedido" type="tns:acompanharPedido"/>
|
6
|
+
<xs:element name="acompanharPedidoPorData" type="tns:acompanharPedidoPorData"/>
|
7
|
+
<xs:element name="acompanharPedidoPorDataResponse" type="tns:acompanharPedidoPorDataResponse"/>
|
8
|
+
<xs:element name="acompanharPedidoResponse" type="tns:acompanharPedidoResponse"/>
|
9
|
+
<xs:element name="calcularDigitoVerificador" type="tns:calcularDigitoVerificador"/>
|
10
|
+
<xs:element name="calcularDigitoVerificadorResponse" type="tns:calcularDigitoVerificadorResponse"/>
|
11
|
+
<xs:element name="cancelarPedido" type="tns:cancelarPedido"/>
|
12
|
+
<xs:element name="cancelarPedidoResponse" type="tns:cancelarPedidoResponse"/>
|
13
|
+
<xs:element name="revalidarPrazoAutorizacaoPostagem" type="tns:revalidarPrazoAutorizacaoPostagem"/>
|
14
|
+
<xs:element name="revalidarPrazoAutorizacaoPostagemResponse" type="tns:revalidarPrazoAutorizacaoPostagemResponse"/>
|
15
|
+
<xs:element name="sobreWebService" type="tns:sobreWebService"/>
|
16
|
+
<xs:element name="sobreWebServiceResponse" type="tns:sobreWebServiceResponse"/>
|
17
|
+
<xs:element name="solicitarPostagemReversa" type="tns:solicitarPostagemReversa"/>
|
18
|
+
<xs:element name="solicitarPostagemReversaResponse" type="tns:solicitarPostagemReversaResponse"/>
|
19
|
+
<xs:element name="solicitarPostagemSimultanea" type="tns:solicitarPostagemSimultanea"/>
|
20
|
+
<xs:element name="solicitarPostagemSimultaneaResponse" type="tns:solicitarPostagemSimultaneaResponse"/>
|
21
|
+
<xs:element name="solicitarRange" type="tns:solicitarRange"/>
|
22
|
+
<xs:element name="solicitarRangeResponse" type="tns:solicitarRangeResponse"/>
|
23
|
+
<xs:element name="validarPostagemReversa" type="tns:validarPostagemReversa"/>
|
24
|
+
<xs:element name="validarPostagemReversaResponse" type="tns:validarPostagemReversaResponse"/>
|
25
|
+
<xs:element name="validarPostagemSimultanea" type="tns:validarPostagemSimultanea"/>
|
26
|
+
<xs:element name="validarPostagemSimultaneaResponse" type="tns:validarPostagemSimultaneaResponse"/>
|
27
|
+
<xs:complexType name="validarPostagemSimultanea">
|
28
|
+
<xs:sequence>
|
29
|
+
<xs:element minOccurs="0" name="codAdministrativo" type="xs:string"/>
|
30
|
+
<xs:element minOccurs="0" name="codigo_servico" type="xs:string"/>
|
31
|
+
<xs:element minOccurs="0" name="cartao" type="xs:string"/>
|
32
|
+
<xs:element minOccurs="0" name="cep_destinatario" type="xs:string"/>
|
33
|
+
<xs:element minOccurs="0" name="coleta" type="tns:coletaSimultanea"/>
|
34
|
+
</xs:sequence>
|
35
|
+
</xs:complexType>
|
36
|
+
<xs:complexType name="coletaSimultanea">
|
37
|
+
<xs:complexContent>
|
38
|
+
<xs:extension base="tns:coleta">
|
39
|
+
<xs:sequence>
|
40
|
+
<xs:element minOccurs="0" name="obs" type="xs:string"/>
|
41
|
+
<xs:element minOccurs="0" name="obj" type="xs:string"/>
|
42
|
+
</xs:sequence>
|
43
|
+
</xs:extension>
|
44
|
+
</xs:complexContent>
|
45
|
+
</xs:complexType>
|
46
|
+
<xs:complexType name="coleta">
|
47
|
+
<xs:sequence>
|
48
|
+
<xs:element minOccurs="0" name="tipo" type="xs:string"/>
|
49
|
+
<xs:element minOccurs="0" name="id_cliente" type="xs:string"/>
|
50
|
+
<xs:element minOccurs="0" name="valor_declarado" type="xs:string"/>
|
51
|
+
<xs:element minOccurs="0" name="descricao" type="xs:string"/>
|
52
|
+
<xs:element minOccurs="0" name="cklist" type="xs:string"/>
|
53
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="documento" nillable="true" type="xs:string"/>
|
54
|
+
<xs:element minOccurs="0" name="remetente" type="tns:remetente"/>
|
55
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="produto" nillable="true" type="tns:produto"/>
|
56
|
+
</xs:sequence>
|
57
|
+
</xs:complexType>
|
58
|
+
<xs:complexType name="remetente">
|
59
|
+
<xs:complexContent>
|
60
|
+
<xs:extension base="tns:pessoa">
|
61
|
+
<xs:sequence>
|
62
|
+
<xs:element minOccurs="0" name="identificacao" type="xs:string"/>
|
63
|
+
<xs:element minOccurs="0" name="ddd_celular" type="xs:string"/>
|
64
|
+
<xs:element minOccurs="0" name="celular" type="xs:string"/>
|
65
|
+
<xs:element minOccurs="0" name="sms" type="xs:string"/>
|
66
|
+
</xs:sequence>
|
67
|
+
</xs:extension>
|
68
|
+
</xs:complexContent>
|
69
|
+
</xs:complexType>
|
70
|
+
<xs:complexType name="pessoa">
|
71
|
+
<xs:sequence>
|
72
|
+
<xs:element minOccurs="0" name="nome" type="xs:string"/>
|
73
|
+
<xs:element minOccurs="0" name="logradouro" type="xs:string"/>
|
74
|
+
<xs:element minOccurs="0" name="numero" type="xs:string"/>
|
75
|
+
<xs:element minOccurs="0" name="complemento" type="xs:string"/>
|
76
|
+
<xs:element minOccurs="0" name="bairro" type="xs:string"/>
|
77
|
+
<xs:element minOccurs="0" name="referencia" type="xs:string"/>
|
78
|
+
<xs:element minOccurs="0" name="cidade" type="xs:string"/>
|
79
|
+
<xs:element minOccurs="0" name="uf" type="xs:string"/>
|
80
|
+
<xs:element minOccurs="0" name="cep" type="xs:string"/>
|
81
|
+
<xs:element minOccurs="0" name="ddd" type="xs:string"/>
|
82
|
+
<xs:element minOccurs="0" name="telefone" type="xs:string"/>
|
83
|
+
<xs:element minOccurs="0" name="email" type="xs:string"/>
|
84
|
+
</xs:sequence>
|
85
|
+
</xs:complexType>
|
86
|
+
<xs:complexType name="produto">
|
87
|
+
<xs:sequence>
|
88
|
+
<xs:element minOccurs="0" name="codigo" type="xs:string"/>
|
89
|
+
<xs:element minOccurs="0" name="tipo" type="xs:string"/>
|
90
|
+
<xs:element minOccurs="0" name="qtd" type="xs:string"/>
|
91
|
+
</xs:sequence>
|
92
|
+
</xs:complexType>
|
93
|
+
<xs:complexType name="validarPostagemSimultaneaResponse">
|
94
|
+
<xs:sequence>
|
95
|
+
<xs:element minOccurs="0" name="validarPostagemSimultanea" type="tns:retornoValidacao"/>
|
96
|
+
</xs:sequence>
|
97
|
+
</xs:complexType>
|
98
|
+
<xs:complexType name="retornoValidacao">
|
99
|
+
<xs:sequence>
|
100
|
+
<xs:element minOccurs="0" name="cod_erro" type="xs:long"/>
|
101
|
+
<xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
|
102
|
+
</xs:sequence>
|
103
|
+
</xs:complexType>
|
104
|
+
<xs:complexType name="WebServiceFaultInfo">
|
105
|
+
<xs:sequence>
|
106
|
+
<xs:element minOccurs="0" name="mensagem" type="xs:string"/>
|
107
|
+
<xs:element minOccurs="0" name="excecao" type="xs:string"/>
|
108
|
+
<xs:element minOccurs="0" name="classificacao" type="xs:string"/>
|
109
|
+
<xs:element minOccurs="0" name="causa" type="xs:string"/>
|
110
|
+
<xs:element minOccurs="0" name="stackTrace" type="xs:string"/>
|
111
|
+
</xs:sequence>
|
112
|
+
</xs:complexType>
|
113
|
+
<xs:complexType name="validarPostagemReversa">
|
114
|
+
<xs:sequence>
|
115
|
+
<xs:element minOccurs="0" name="codAdministrativo" type="xs:string"/>
|
116
|
+
<xs:element minOccurs="0" name="codigo_servico" type="xs:string"/>
|
117
|
+
<xs:element minOccurs="0" name="cartao" type="xs:string"/>
|
118
|
+
<xs:element minOccurs="0" name="cep_destinatario" type="xs:string"/>
|
119
|
+
<xs:element minOccurs="0" name="coleta" type="tns:coletaReversa"/>
|
120
|
+
</xs:sequence>
|
121
|
+
</xs:complexType>
|
122
|
+
<xs:complexType name="coletaReversa">
|
123
|
+
<xs:complexContent>
|
124
|
+
<xs:extension base="tns:coleta">
|
125
|
+
<xs:sequence>
|
126
|
+
<xs:element minOccurs="0" name="numero" type="xs:int"/>
|
127
|
+
<xs:element minOccurs="0" name="ag" type="xs:string"/>
|
128
|
+
<xs:element minOccurs="0" name="cartao" type="xs:string"/>
|
129
|
+
<xs:element minOccurs="0" name="servico_adicional" type="xs:string"/>
|
130
|
+
<xs:element minOccurs="0" name="ar" type="xs:int"/>
|
131
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="obj_col" nillable="true" type="tns:objeto"/>
|
132
|
+
</xs:sequence>
|
133
|
+
</xs:extension>
|
134
|
+
</xs:complexContent>
|
135
|
+
</xs:complexType>
|
136
|
+
<xs:complexType name="objeto">
|
137
|
+
<xs:sequence>
|
138
|
+
<xs:element minOccurs="0" name="item" type="xs:string"/>
|
139
|
+
<xs:element minOccurs="0" name="desc" type="xs:string"/>
|
140
|
+
<xs:element minOccurs="0" name="entrega" type="xs:string"/>
|
141
|
+
<xs:element minOccurs="0" name="num" type="xs:string"/>
|
142
|
+
<xs:element minOccurs="0" name="id" type="xs:string"/>
|
143
|
+
</xs:sequence>
|
144
|
+
</xs:complexType>
|
145
|
+
<xs:complexType name="validarPostagemReversaResponse">
|
146
|
+
<xs:sequence>
|
147
|
+
<xs:element minOccurs="0" name="validarPostagemReversa" type="tns:retornoValidacao"/>
|
148
|
+
</xs:sequence>
|
149
|
+
</xs:complexType>
|
150
|
+
<xs:complexType name="solicitarPostagemSimultanea">
|
151
|
+
<xs:sequence>
|
152
|
+
<xs:element minOccurs="0" name="codAdministrativo" type="xs:string"/>
|
153
|
+
<xs:element minOccurs="0" name="codigo_servico" type="xs:string"/>
|
154
|
+
<xs:element minOccurs="0" name="cartao" type="xs:string"/>
|
155
|
+
<xs:element minOccurs="0" name="destinatario" type="tns:pessoa"/>
|
156
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="coletas_solicitadas" type="tns:coletaSimultanea"/>
|
157
|
+
</xs:sequence>
|
158
|
+
</xs:complexType>
|
159
|
+
<xs:complexType name="solicitarPostagemSimultaneaResponse">
|
160
|
+
<xs:sequence>
|
161
|
+
<xs:element minOccurs="0" name="solicitarPostagemSimultanea" type="tns:retornoPostagem"/>
|
162
|
+
</xs:sequence>
|
163
|
+
</xs:complexType>
|
164
|
+
<xs:complexType name="retornoPostagem">
|
165
|
+
<xs:sequence>
|
166
|
+
<xs:element minOccurs="0" name="status_processamento" type="xs:string"/>
|
167
|
+
<xs:element minOccurs="0" name="data_processamento" type="xs:string"/>
|
168
|
+
<xs:element minOccurs="0" name="hora_processamento" type="xs:string"/>
|
169
|
+
<xs:element minOccurs="0" name="cod_erro" type="xs:string"/>
|
170
|
+
<xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
|
171
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="resultado_solicitacao" nillable="true" type="tns:resultadoSolicitacao"/>
|
172
|
+
</xs:sequence>
|
173
|
+
</xs:complexType>
|
174
|
+
<xs:complexType name="resultadoSolicitacao">
|
175
|
+
<xs:sequence>
|
176
|
+
<xs:element minOccurs="0" name="tipo" type="xs:string"/>
|
177
|
+
<xs:element minOccurs="0" name="id_cliente" type="xs:string"/>
|
178
|
+
<xs:element minOccurs="0" name="numero_coleta" type="xs:string"/>
|
179
|
+
<xs:element minOccurs="0" name="numero_etiqueta" type="xs:string"/>
|
180
|
+
<xs:element minOccurs="0" name="id_obj" type="xs:string"/>
|
181
|
+
<xs:element minOccurs="0" name="status_objeto" type="xs:string"/>
|
182
|
+
<xs:element minOccurs="0" name="prazo" type="xs:string"/>
|
183
|
+
<xs:element minOccurs="0" name="data_solicitacao" type="xs:string"/>
|
184
|
+
<xs:element minOccurs="0" name="hora_solicitacao" type="xs:string"/>
|
185
|
+
<xs:element name="codigo_erro" type="xs:long"/>
|
186
|
+
<xs:element minOccurs="0" name="descricao_erro" type="xs:string"/>
|
187
|
+
</xs:sequence>
|
188
|
+
</xs:complexType>
|
189
|
+
<xs:complexType name="acompanharPedido">
|
190
|
+
<xs:sequence>
|
191
|
+
<xs:element minOccurs="0" name="codAdministrativo" type="xs:string"/>
|
192
|
+
<xs:element minOccurs="0" name="tipoBusca" type="xs:string"/>
|
193
|
+
<xs:element minOccurs="0" name="tipoSolicitacao" type="xs:string"/>
|
194
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="numeroPedido" type="xs:string"/>
|
195
|
+
</xs:sequence>
|
196
|
+
</xs:complexType>
|
197
|
+
<xs:complexType name="acompanharPedidoResponse">
|
198
|
+
<xs:sequence>
|
199
|
+
<xs:element minOccurs="0" name="acompanharPedido" type="tns:retornoAcompanhamento"/>
|
200
|
+
</xs:sequence>
|
201
|
+
</xs:complexType>
|
202
|
+
<xs:complexType name="retornoAcompanhamento">
|
203
|
+
<xs:sequence>
|
204
|
+
<xs:element minOccurs="0" name="codigo_administrativo" type="xs:string"/>
|
205
|
+
<xs:element minOccurs="0" name="tipo_solicitacao" type="xs:string"/>
|
206
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="coleta" nillable="true" type="tns:coletasSolicitadas"/>
|
207
|
+
<xs:element minOccurs="0" name="data" type="xs:string"/>
|
208
|
+
<xs:element minOccurs="0" name="hora" type="xs:string"/>
|
209
|
+
<xs:element minOccurs="0" name="cod_erro" type="xs:string"/>
|
210
|
+
<xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
|
211
|
+
</xs:sequence>
|
212
|
+
</xs:complexType>
|
213
|
+
<xs:complexType name="coletasSolicitadas">
|
214
|
+
<xs:sequence>
|
215
|
+
<xs:element minOccurs="0" name="numero_pedido" type="xs:long"/>
|
216
|
+
<xs:element minOccurs="0" name="controle_cliente" type="xs:string"/>
|
217
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="historico" nillable="true" type="tns:historicoColeta"/>
|
218
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="objeto" nillable="true" type="tns:objetoPostal"/>
|
219
|
+
</xs:sequence>
|
220
|
+
</xs:complexType>
|
221
|
+
<xs:complexType name="historicoColeta">
|
222
|
+
<xs:sequence>
|
223
|
+
<xs:element minOccurs="0" name="status" type="xs:int"/>
|
224
|
+
<xs:element minOccurs="0" name="descricao_status" type="xs:string"/>
|
225
|
+
<xs:element minOccurs="0" name="data_atualizacao" type="xs:string"/>
|
226
|
+
<xs:element minOccurs="0" name="hora_atualizacao" type="xs:string"/>
|
227
|
+
<xs:element minOccurs="0" name="observacao" type="xs:string"/>
|
228
|
+
</xs:sequence>
|
229
|
+
</xs:complexType>
|
230
|
+
<xs:complexType name="objetoPostal">
|
231
|
+
<xs:sequence>
|
232
|
+
<xs:element minOccurs="0" name="numero_etiqueta" type="xs:string"/>
|
233
|
+
<xs:element minOccurs="0" name="controle_objeto_cliente" type="xs:string"/>
|
234
|
+
<xs:element minOccurs="0" name="ultimo_status" type="xs:string"/>
|
235
|
+
<xs:element minOccurs="0" name="descricao_status" type="xs:string"/>
|
236
|
+
<xs:element minOccurs="0" name="data_ultima_atualizacao" type="xs:string"/>
|
237
|
+
<xs:element minOccurs="0" name="hora_ultima_atualizacao" type="xs:string"/>
|
238
|
+
<xs:element minOccurs="0" name="peso_cubico" type="xs:string"/>
|
239
|
+
<xs:element minOccurs="0" name="peso_real" type="xs:string"/>
|
240
|
+
<xs:element minOccurs="0" name="valor_postagem" type="xs:string"/>
|
241
|
+
</xs:sequence>
|
242
|
+
</xs:complexType>
|
243
|
+
<xs:complexType name="solicitarRange">
|
244
|
+
<xs:sequence>
|
245
|
+
<xs:element minOccurs="0" name="codAdministrativo" type="xs:string"/>
|
246
|
+
<xs:element minOccurs="0" name="tipo" type="xs:string"/>
|
247
|
+
<xs:element minOccurs="0" name="servico" type="xs:string"/>
|
248
|
+
<xs:element minOccurs="0" name="quantidade" type="xs:string"/>
|
249
|
+
</xs:sequence>
|
250
|
+
</xs:complexType>
|
251
|
+
<xs:complexType name="solicitarRangeResponse">
|
252
|
+
<xs:sequence>
|
253
|
+
<xs:element minOccurs="0" name="solicitarRange" type="tns:retornoFaixaNumerica"/>
|
254
|
+
</xs:sequence>
|
255
|
+
</xs:complexType>
|
256
|
+
<xs:complexType name="retornoFaixaNumerica">
|
257
|
+
<xs:sequence>
|
258
|
+
<xs:element minOccurs="0" name="data" type="xs:string"/>
|
259
|
+
<xs:element minOccurs="0" name="hora" type="xs:string"/>
|
260
|
+
<xs:element minOccurs="0" name="cod_erro" type="xs:string"/>
|
261
|
+
<xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
|
262
|
+
<xs:element minOccurs="0" name="faixa_inicial" type="xs:int"/>
|
263
|
+
<xs:element minOccurs="0" name="faixa_final" type="xs:int"/>
|
264
|
+
</xs:sequence>
|
265
|
+
</xs:complexType>
|
266
|
+
<xs:complexType name="cancelarPedido">
|
267
|
+
<xs:sequence>
|
268
|
+
<xs:element minOccurs="0" name="codAdministrativo" type="xs:string"/>
|
269
|
+
<xs:element minOccurs="0" name="numeroPedido" type="xs:string"/>
|
270
|
+
<xs:element minOccurs="0" name="tipo" type="xs:string"/>
|
271
|
+
</xs:sequence>
|
272
|
+
</xs:complexType>
|
273
|
+
<xs:complexType name="cancelarPedidoResponse">
|
274
|
+
<xs:sequence>
|
275
|
+
<xs:element minOccurs="0" name="cancelarPedido" type="tns:retornoCancelamento"/>
|
276
|
+
</xs:sequence>
|
277
|
+
</xs:complexType>
|
278
|
+
<xs:complexType name="retornoCancelamento">
|
279
|
+
<xs:sequence>
|
280
|
+
<xs:element minOccurs="0" name="codigo_administrativo" type="xs:string"/>
|
281
|
+
<xs:element minOccurs="0" name="objeto_postal" type="tns:objetoSimplificado"/>
|
282
|
+
<xs:element minOccurs="0" name="data" type="xs:string"/>
|
283
|
+
<xs:element minOccurs="0" name="hora" type="xs:string"/>
|
284
|
+
<xs:element minOccurs="0" name="cod_erro" type="xs:string"/>
|
285
|
+
<xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
|
286
|
+
</xs:sequence>
|
287
|
+
</xs:complexType>
|
288
|
+
<xs:complexType name="objetoSimplificado">
|
289
|
+
<xs:sequence>
|
290
|
+
<xs:element minOccurs="0" name="numero_pedido" type="xs:int"/>
|
291
|
+
<xs:element minOccurs="0" name="status_pedido" type="xs:string"/>
|
292
|
+
<xs:element minOccurs="0" name="datahora_cancelamento" type="xs:string"/>
|
293
|
+
</xs:sequence>
|
294
|
+
</xs:complexType>
|
295
|
+
<xs:complexType name="sobreWebService">
|
296
|
+
<xs:sequence/>
|
297
|
+
</xs:complexType>
|
298
|
+
<xs:complexType name="sobreWebServiceResponse">
|
299
|
+
<xs:sequence>
|
300
|
+
<xs:element minOccurs="0" name="sobreWebService" type="tns:retornoSobreWebService"/>
|
301
|
+
</xs:sequence>
|
302
|
+
</xs:complexType>
|
303
|
+
<xs:complexType name="retornoSobreWebService">
|
304
|
+
<xs:sequence>
|
305
|
+
<xs:element minOccurs="0" name="data" type="xs:string"/>
|
306
|
+
<xs:element minOccurs="0" name="hora" type="xs:string"/>
|
307
|
+
<xs:element minOccurs="0" name="cod_erro" type="xs:string"/>
|
308
|
+
<xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
|
309
|
+
<xs:element minOccurs="0" name="versao" type="xs:string"/>
|
310
|
+
<xs:element minOccurs="0" name="dataHomologacao" type="xs:string"/>
|
311
|
+
<xs:element minOccurs="0" name="dataProducao" type="xs:string"/>
|
312
|
+
<xs:element minOccurs="0" name="fase" type="xs:string"/>
|
313
|
+
<xs:element minOccurs="0" name="resumo" type="xs:string"/>
|
314
|
+
</xs:sequence>
|
315
|
+
</xs:complexType>
|
316
|
+
<xs:complexType name="calcularDigitoVerificador">
|
317
|
+
<xs:sequence>
|
318
|
+
<xs:element minOccurs="0" name="numero" type="xs:string"/>
|
319
|
+
</xs:sequence>
|
320
|
+
</xs:complexType>
|
321
|
+
<xs:complexType name="calcularDigitoVerificadorResponse">
|
322
|
+
<xs:sequence>
|
323
|
+
<xs:element minOccurs="0" name="calcularDigitoVerificador" type="tns:retornoDigitoVerificador"/>
|
324
|
+
</xs:sequence>
|
325
|
+
</xs:complexType>
|
326
|
+
<xs:complexType name="retornoDigitoVerificador">
|
327
|
+
<xs:sequence>
|
328
|
+
<xs:element minOccurs="0" name="data" type="xs:string"/>
|
329
|
+
<xs:element minOccurs="0" name="hora" type="xs:string"/>
|
330
|
+
<xs:element minOccurs="0" name="cod_erro" type="xs:string"/>
|
331
|
+
<xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
|
332
|
+
<xs:element minOccurs="0" name="digito" type="xs:int"/>
|
333
|
+
<xs:element minOccurs="0" name="numero" type="xs:int"/>
|
334
|
+
</xs:sequence>
|
335
|
+
</xs:complexType>
|
336
|
+
<xs:complexType name="solicitarPostagemReversa">
|
337
|
+
<xs:sequence>
|
338
|
+
<xs:element minOccurs="0" name="codAdministrativo" type="xs:string"/>
|
339
|
+
<xs:element minOccurs="0" name="codigo_servico" type="xs:string"/>
|
340
|
+
<xs:element minOccurs="0" name="cartao" type="xs:string"/>
|
341
|
+
<xs:element minOccurs="0" name="destinatario" type="tns:pessoa"/>
|
342
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="coletas_solicitadas" type="tns:coletaReversa"/>
|
343
|
+
</xs:sequence>
|
344
|
+
</xs:complexType>
|
345
|
+
<xs:complexType name="solicitarPostagemReversaResponse">
|
346
|
+
<xs:sequence>
|
347
|
+
<xs:element minOccurs="0" name="solicitarPostagemReversa" type="tns:retornoPostagem"/>
|
348
|
+
</xs:sequence>
|
349
|
+
</xs:complexType>
|
350
|
+
<xs:complexType name="acompanharPedidoPorData">
|
351
|
+
<xs:sequence>
|
352
|
+
<xs:element minOccurs="0" name="codAdministrativo" type="xs:string"/>
|
353
|
+
<xs:element minOccurs="0" name="tipoSolicitacao" type="xs:string"/>
|
354
|
+
<xs:element minOccurs="0" name="data" type="xs:string"/>
|
355
|
+
</xs:sequence>
|
356
|
+
</xs:complexType>
|
357
|
+
<xs:complexType name="acompanharPedidoPorDataResponse">
|
358
|
+
<xs:sequence>
|
359
|
+
<xs:element minOccurs="0" name="acompanharPedidoPorData" type="tns:retornoAcompanhamento"/>
|
360
|
+
</xs:sequence>
|
361
|
+
</xs:complexType>
|
362
|
+
<xs:complexType name="revalidarPrazoAutorizacaoPostagem">
|
363
|
+
<xs:sequence>
|
364
|
+
<xs:element minOccurs="0" name="codAdministrativo" type="xs:string"/>
|
365
|
+
<xs:element minOccurs="0" name="numeroPedido" type="xs:string"/>
|
366
|
+
<xs:element minOccurs="0" name="qtdeDias" type="xs:string"/>
|
367
|
+
</xs:sequence>
|
368
|
+
</xs:complexType>
|
369
|
+
<xs:complexType name="revalidarPrazoAutorizacaoPostagemResponse">
|
370
|
+
<xs:sequence>
|
371
|
+
<xs:element minOccurs="0" name="revalidarPrazoAutorizacaoPostagem" type="tns:retornoRevalidarPrazo"/>
|
372
|
+
</xs:sequence>
|
373
|
+
</xs:complexType>
|
374
|
+
<xs:complexType name="retornoRevalidarPrazo">
|
375
|
+
<xs:sequence>
|
376
|
+
<xs:element minOccurs="0" name="numero_pedido" type="xs:string"/>
|
377
|
+
<xs:element minOccurs="0" name="prazo" type="xs:string"/>
|
378
|
+
<xs:element minOccurs="0" name="cod_erro" type="xs:string"/>
|
379
|
+
<xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
|
380
|
+
</xs:sequence>
|
381
|
+
</xs:complexType>
|
382
|
+
</xs:schema>
|
383
|
+
</wsdl:types>
|
384
|
+
<wsdl:message name="solicitarPostagemReversa">
|
385
|
+
<wsdl:part element="tns:solicitarPostagemReversa" name="parameters"></wsdl:part>
|
386
|
+
</wsdl:message>
|
387
|
+
<wsdl:message name="sobreWebServiceResponse">
|
388
|
+
<wsdl:part element="tns:sobreWebServiceResponse" name="parameters"></wsdl:part>
|
389
|
+
</wsdl:message>
|
390
|
+
<wsdl:message name="acompanharPedidoResponse">
|
391
|
+
<wsdl:part element="tns:acompanharPedidoResponse" name="parameters"></wsdl:part>
|
392
|
+
</wsdl:message>
|
393
|
+
<wsdl:message name="solicitarPostagemSimultanea">
|
394
|
+
<wsdl:part element="tns:solicitarPostagemSimultanea" name="parameters"></wsdl:part>
|
395
|
+
</wsdl:message>
|
396
|
+
<wsdl:message name="calcularDigitoVerificador">
|
397
|
+
<wsdl:part element="tns:calcularDigitoVerificador" name="parameters"></wsdl:part>
|
398
|
+
</wsdl:message>
|
399
|
+
<wsdl:message name="solicitarRange">
|
400
|
+
<wsdl:part element="tns:solicitarRange" name="parameters"></wsdl:part>
|
401
|
+
</wsdl:message>
|
402
|
+
<wsdl:message name="revalidarPrazoAutorizacaoPostagem">
|
403
|
+
<wsdl:part element="tns:revalidarPrazoAutorizacaoPostagem" name="parameters"></wsdl:part>
|
404
|
+
</wsdl:message>
|
405
|
+
<wsdl:message name="acompanharPedidoPorData">
|
406
|
+
<wsdl:part element="tns:acompanharPedidoPorData" name="parameters"></wsdl:part>
|
407
|
+
</wsdl:message>
|
408
|
+
<wsdl:message name="ComponenteException">
|
409
|
+
<wsdl:part element="tns:WebServiceFaultInfo" name="ComponenteException"></wsdl:part>
|
410
|
+
</wsdl:message>
|
411
|
+
<wsdl:message name="solicitarRangeResponse">
|
412
|
+
<wsdl:part element="tns:solicitarRangeResponse" name="parameters"></wsdl:part>
|
413
|
+
</wsdl:message>
|
414
|
+
<wsdl:message name="revalidarPrazoAutorizacaoPostagemResponse">
|
415
|
+
<wsdl:part element="tns:revalidarPrazoAutorizacaoPostagemResponse" name="parameters"></wsdl:part>
|
416
|
+
</wsdl:message>
|
417
|
+
<wsdl:message name="validarPostagemSimultanea">
|
418
|
+
<wsdl:part element="tns:validarPostagemSimultanea" name="parameters"></wsdl:part>
|
419
|
+
</wsdl:message>
|
420
|
+
<wsdl:message name="calcularDigitoVerificadorResponse">
|
421
|
+
<wsdl:part element="tns:calcularDigitoVerificadorResponse" name="parameters"></wsdl:part>
|
422
|
+
</wsdl:message>
|
423
|
+
<wsdl:message name="validarPostagemReversa">
|
424
|
+
<wsdl:part element="tns:validarPostagemReversa" name="parameters"></wsdl:part>
|
425
|
+
</wsdl:message>
|
426
|
+
<wsdl:message name="acompanharPedidoPorDataResponse">
|
427
|
+
<wsdl:part element="tns:acompanharPedidoPorDataResponse" name="parameters"></wsdl:part>
|
428
|
+
</wsdl:message>
|
429
|
+
<wsdl:message name="solicitarPostagemReversaResponse">
|
430
|
+
<wsdl:part element="tns:solicitarPostagemReversaResponse" name="parameters"></wsdl:part>
|
431
|
+
</wsdl:message>
|
432
|
+
<wsdl:message name="cancelarPedidoResponse">
|
433
|
+
<wsdl:part element="tns:cancelarPedidoResponse" name="parameters"></wsdl:part>
|
434
|
+
</wsdl:message>
|
435
|
+
<wsdl:message name="validarPostagemReversaResponse">
|
436
|
+
<wsdl:part element="tns:validarPostagemReversaResponse" name="parameters"></wsdl:part>
|
437
|
+
</wsdl:message>
|
438
|
+
<wsdl:message name="solicitarPostagemSimultaneaResponse">
|
439
|
+
<wsdl:part element="tns:solicitarPostagemSimultaneaResponse" name="parameters"></wsdl:part>
|
440
|
+
</wsdl:message>
|
441
|
+
<wsdl:message name="cancelarPedido">
|
442
|
+
<wsdl:part element="tns:cancelarPedido" name="parameters"></wsdl:part>
|
443
|
+
</wsdl:message>
|
444
|
+
<wsdl:message name="sobreWebService">
|
445
|
+
<wsdl:part element="tns:sobreWebService" name="parameters"></wsdl:part>
|
446
|
+
</wsdl:message>
|
447
|
+
<wsdl:message name="acompanharPedido">
|
448
|
+
<wsdl:part element="tns:acompanharPedido" name="parameters"></wsdl:part>
|
449
|
+
</wsdl:message>
|
450
|
+
<wsdl:message name="validarPostagemSimultaneaResponse">
|
451
|
+
<wsdl:part element="tns:validarPostagemSimultaneaResponse" name="parameters"></wsdl:part>
|
452
|
+
</wsdl:message>
|
453
|
+
<wsdl:portType name="logisticaReversaWS">
|
454
|
+
<wsdl:operation name="validarPostagemSimultanea">
|
455
|
+
<wsdl:input message="tns:validarPostagemSimultanea" name="validarPostagemSimultanea"></wsdl:input>
|
456
|
+
<wsdl:output message="tns:validarPostagemSimultaneaResponse" name="validarPostagemSimultaneaResponse"></wsdl:output>
|
457
|
+
<wsdl:fault message="tns:ComponenteException" name="ComponenteException"></wsdl:fault>
|
458
|
+
</wsdl:operation>
|
459
|
+
<wsdl:operation name="validarPostagemReversa">
|
460
|
+
<wsdl:input message="tns:validarPostagemReversa" name="validarPostagemReversa"></wsdl:input>
|
461
|
+
<wsdl:output message="tns:validarPostagemReversaResponse" name="validarPostagemReversaResponse"></wsdl:output>
|
462
|
+
<wsdl:fault message="tns:ComponenteException" name="ComponenteException"></wsdl:fault>
|
463
|
+
</wsdl:operation>
|
464
|
+
<wsdl:operation name="solicitarPostagemSimultanea">
|
465
|
+
<wsdl:input message="tns:solicitarPostagemSimultanea" name="solicitarPostagemSimultanea"></wsdl:input>
|
466
|
+
<wsdl:output message="tns:solicitarPostagemSimultaneaResponse" name="solicitarPostagemSimultaneaResponse"></wsdl:output>
|
467
|
+
<wsdl:fault message="tns:ComponenteException" name="ComponenteException"></wsdl:fault>
|
468
|
+
</wsdl:operation>
|
469
|
+
<wsdl:operation name="acompanharPedido">
|
470
|
+
<wsdl:input message="tns:acompanharPedido" name="acompanharPedido"></wsdl:input>
|
471
|
+
<wsdl:output message="tns:acompanharPedidoResponse" name="acompanharPedidoResponse"></wsdl:output>
|
472
|
+
<wsdl:fault message="tns:ComponenteException" name="ComponenteException"></wsdl:fault>
|
473
|
+
</wsdl:operation>
|
474
|
+
<wsdl:operation name="solicitarRange">
|
475
|
+
<wsdl:input message="tns:solicitarRange" name="solicitarRange"></wsdl:input>
|
476
|
+
<wsdl:output message="tns:solicitarRangeResponse" name="solicitarRangeResponse"></wsdl:output>
|
477
|
+
<wsdl:fault message="tns:ComponenteException" name="ComponenteException"></wsdl:fault>
|
478
|
+
</wsdl:operation>
|
479
|
+
<wsdl:operation name="cancelarPedido">
|
480
|
+
<wsdl:input message="tns:cancelarPedido" name="cancelarPedido"></wsdl:input>
|
481
|
+
<wsdl:output message="tns:cancelarPedidoResponse" name="cancelarPedidoResponse"></wsdl:output>
|
482
|
+
<wsdl:fault message="tns:ComponenteException" name="ComponenteException"></wsdl:fault>
|
483
|
+
</wsdl:operation>
|
484
|
+
<wsdl:operation name="sobreWebService">
|
485
|
+
<wsdl:input message="tns:sobreWebService" name="sobreWebService"></wsdl:input>
|
486
|
+
<wsdl:output message="tns:sobreWebServiceResponse" name="sobreWebServiceResponse"></wsdl:output>
|
487
|
+
<wsdl:fault message="tns:ComponenteException" name="ComponenteException"></wsdl:fault>
|
488
|
+
</wsdl:operation>
|
489
|
+
<wsdl:operation name="calcularDigitoVerificador">
|
490
|
+
<wsdl:input message="tns:calcularDigitoVerificador" name="calcularDigitoVerificador"></wsdl:input>
|
491
|
+
<wsdl:output message="tns:calcularDigitoVerificadorResponse" name="calcularDigitoVerificadorResponse"></wsdl:output>
|
492
|
+
<wsdl:fault message="tns:ComponenteException" name="ComponenteException"></wsdl:fault>
|
493
|
+
</wsdl:operation>
|
494
|
+
<wsdl:operation name="solicitarPostagemReversa">
|
495
|
+
<wsdl:input message="tns:solicitarPostagemReversa" name="solicitarPostagemReversa"></wsdl:input>
|
496
|
+
<wsdl:output message="tns:solicitarPostagemReversaResponse" name="solicitarPostagemReversaResponse"></wsdl:output>
|
497
|
+
<wsdl:fault message="tns:ComponenteException" name="ComponenteException"></wsdl:fault>
|
498
|
+
</wsdl:operation>
|
499
|
+
<wsdl:operation name="acompanharPedidoPorData">
|
500
|
+
<wsdl:input message="tns:acompanharPedidoPorData" name="acompanharPedidoPorData"></wsdl:input>
|
501
|
+
<wsdl:output message="tns:acompanharPedidoPorDataResponse" name="acompanharPedidoPorDataResponse"></wsdl:output>
|
502
|
+
<wsdl:fault message="tns:ComponenteException" name="ComponenteException"></wsdl:fault>
|
503
|
+
</wsdl:operation>
|
504
|
+
<wsdl:operation name="revalidarPrazoAutorizacaoPostagem">
|
505
|
+
<wsdl:input message="tns:revalidarPrazoAutorizacaoPostagem" name="revalidarPrazoAutorizacaoPostagem"></wsdl:input>
|
506
|
+
<wsdl:output message="tns:revalidarPrazoAutorizacaoPostagemResponse" name="revalidarPrazoAutorizacaoPostagemResponse"></wsdl:output>
|
507
|
+
<wsdl:fault message="tns:ComponenteException" name="ComponenteException"></wsdl:fault>
|
508
|
+
</wsdl:operation>
|
509
|
+
</wsdl:portType>
|
510
|
+
<wsdl:binding name="logisticaReversaServiceSoapBinding" type="tns:logisticaReversaWS">
|
511
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
512
|
+
<wsdl:operation name="validarPostagemSimultanea">
|
513
|
+
<soap:operation soapAction="" style="document"/>
|
514
|
+
<wsdl:input name="validarPostagemSimultanea">
|
515
|
+
<soap:body use="literal"/>
|
516
|
+
</wsdl:input>
|
517
|
+
<wsdl:output name="validarPostagemSimultaneaResponse">
|
518
|
+
<soap:body use="literal"/>
|
519
|
+
</wsdl:output>
|
520
|
+
<wsdl:fault name="ComponenteException">
|
521
|
+
<soap:fault name="ComponenteException" use="literal"/>
|
522
|
+
</wsdl:fault>
|
523
|
+
</wsdl:operation>
|
524
|
+
<wsdl:operation name="validarPostagemReversa">
|
525
|
+
<soap:operation soapAction="" style="document"/>
|
526
|
+
<wsdl:input name="validarPostagemReversa">
|
527
|
+
<soap:body use="literal"/>
|
528
|
+
</wsdl:input>
|
529
|
+
<wsdl:output name="validarPostagemReversaResponse">
|
530
|
+
<soap:body use="literal"/>
|
531
|
+
</wsdl:output>
|
532
|
+
<wsdl:fault name="ComponenteException">
|
533
|
+
<soap:fault name="ComponenteException" use="literal"/>
|
534
|
+
</wsdl:fault>
|
535
|
+
</wsdl:operation>
|
536
|
+
<wsdl:operation name="solicitarPostagemSimultanea">
|
537
|
+
<soap:operation soapAction="" style="document"/>
|
538
|
+
<wsdl:input name="solicitarPostagemSimultanea">
|
539
|
+
<soap:body use="literal"/>
|
540
|
+
</wsdl:input>
|
541
|
+
<wsdl:output name="solicitarPostagemSimultaneaResponse">
|
542
|
+
<soap:body use="literal"/>
|
543
|
+
</wsdl:output>
|
544
|
+
<wsdl:fault name="ComponenteException">
|
545
|
+
<soap:fault name="ComponenteException" use="literal"/>
|
546
|
+
</wsdl:fault>
|
547
|
+
</wsdl:operation>
|
548
|
+
<wsdl:operation name="acompanharPedido">
|
549
|
+
<soap:operation soapAction="" style="document"/>
|
550
|
+
<wsdl:input name="acompanharPedido">
|
551
|
+
<soap:body use="literal"/>
|
552
|
+
</wsdl:input>
|
553
|
+
<wsdl:output name="acompanharPedidoResponse">
|
554
|
+
<soap:body use="literal"/>
|
555
|
+
</wsdl:output>
|
556
|
+
<wsdl:fault name="ComponenteException">
|
557
|
+
<soap:fault name="ComponenteException" use="literal"/>
|
558
|
+
</wsdl:fault>
|
559
|
+
</wsdl:operation>
|
560
|
+
<wsdl:operation name="solicitarRange">
|
561
|
+
<soap:operation soapAction="" style="document"/>
|
562
|
+
<wsdl:input name="solicitarRange">
|
563
|
+
<soap:body use="literal"/>
|
564
|
+
</wsdl:input>
|
565
|
+
<wsdl:output name="solicitarRangeResponse">
|
566
|
+
<soap:body use="literal"/>
|
567
|
+
</wsdl:output>
|
568
|
+
<wsdl:fault name="ComponenteException">
|
569
|
+
<soap:fault name="ComponenteException" use="literal"/>
|
570
|
+
</wsdl:fault>
|
571
|
+
</wsdl:operation>
|
572
|
+
<wsdl:operation name="cancelarPedido">
|
573
|
+
<soap:operation soapAction="" style="document"/>
|
574
|
+
<wsdl:input name="cancelarPedido">
|
575
|
+
<soap:body use="literal"/>
|
576
|
+
</wsdl:input>
|
577
|
+
<wsdl:output name="cancelarPedidoResponse">
|
578
|
+
<soap:body use="literal"/>
|
579
|
+
</wsdl:output>
|
580
|
+
<wsdl:fault name="ComponenteException">
|
581
|
+
<soap:fault name="ComponenteException" use="literal"/>
|
582
|
+
</wsdl:fault>
|
583
|
+
</wsdl:operation>
|
584
|
+
<wsdl:operation name="sobreWebService">
|
585
|
+
<soap:operation soapAction="" style="document"/>
|
586
|
+
<wsdl:input name="sobreWebService">
|
587
|
+
<soap:body use="literal"/>
|
588
|
+
</wsdl:input>
|
589
|
+
<wsdl:output name="sobreWebServiceResponse">
|
590
|
+
<soap:body use="literal"/>
|
591
|
+
</wsdl:output>
|
592
|
+
<wsdl:fault name="ComponenteException">
|
593
|
+
<soap:fault name="ComponenteException" use="literal"/>
|
594
|
+
</wsdl:fault>
|
595
|
+
</wsdl:operation>
|
596
|
+
<wsdl:operation name="calcularDigitoVerificador">
|
597
|
+
<soap:operation soapAction="" style="document"/>
|
598
|
+
<wsdl:input name="calcularDigitoVerificador">
|
599
|
+
<soap:body use="literal"/>
|
600
|
+
</wsdl:input>
|
601
|
+
<wsdl:output name="calcularDigitoVerificadorResponse">
|
602
|
+
<soap:body use="literal"/>
|
603
|
+
</wsdl:output>
|
604
|
+
<wsdl:fault name="ComponenteException">
|
605
|
+
<soap:fault name="ComponenteException" use="literal"/>
|
606
|
+
</wsdl:fault>
|
607
|
+
</wsdl:operation>
|
608
|
+
<wsdl:operation name="solicitarPostagemReversa">
|
609
|
+
<soap:operation soapAction="" style="document"/>
|
610
|
+
<wsdl:input name="solicitarPostagemReversa">
|
611
|
+
<soap:body use="literal"/>
|
612
|
+
</wsdl:input>
|
613
|
+
<wsdl:output name="solicitarPostagemReversaResponse">
|
614
|
+
<soap:body use="literal"/>
|
615
|
+
</wsdl:output>
|
616
|
+
<wsdl:fault name="ComponenteException">
|
617
|
+
<soap:fault name="ComponenteException" use="literal"/>
|
618
|
+
</wsdl:fault>
|
619
|
+
</wsdl:operation>
|
620
|
+
<wsdl:operation name="acompanharPedidoPorData">
|
621
|
+
<soap:operation soapAction="" style="document"/>
|
622
|
+
<wsdl:input name="acompanharPedidoPorData">
|
623
|
+
<soap:body use="literal"/>
|
624
|
+
</wsdl:input>
|
625
|
+
<wsdl:output name="acompanharPedidoPorDataResponse">
|
626
|
+
<soap:body use="literal"/>
|
627
|
+
</wsdl:output>
|
628
|
+
<wsdl:fault name="ComponenteException">
|
629
|
+
<soap:fault name="ComponenteException" use="literal"/>
|
630
|
+
</wsdl:fault>
|
631
|
+
</wsdl:operation>
|
632
|
+
<wsdl:operation name="revalidarPrazoAutorizacaoPostagem">
|
633
|
+
<soap:operation soapAction="" style="document"/>
|
634
|
+
<wsdl:input name="revalidarPrazoAutorizacaoPostagem">
|
635
|
+
<soap:body use="literal"/>
|
636
|
+
</wsdl:input>
|
637
|
+
<wsdl:output name="revalidarPrazoAutorizacaoPostagemResponse">
|
638
|
+
<soap:body use="literal"/>
|
639
|
+
</wsdl:output>
|
640
|
+
<wsdl:fault name="ComponenteException">
|
641
|
+
<soap:fault name="ComponenteException" use="literal"/>
|
642
|
+
</wsdl:fault>
|
643
|
+
</wsdl:operation>
|
644
|
+
</wsdl:binding>
|
645
|
+
<wsdl:service name="logisticaReversaService">
|
646
|
+
<wsdl:port binding="tns:logisticaReversaServiceSoapBinding" name="logisticaReversaWSPort">
|
647
|
+
<soap:address location="https://apphom.correios.com.br/logisticaReversaWS/logisticaReversaService/logisticaReversaWS"/>
|
648
|
+
</wsdl:port>
|
649
|
+
</wsdl:service>
|
650
|
+
</wsdl:definitions>
|