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.
Files changed (38) hide show
  1. checksums.yaml +5 -13
  2. data/.rubocop.yml +1155 -2
  3. data/.travis.yml +4 -4
  4. data/README.md +2 -3
  5. data/correios_sigep.gemspec +3 -2
  6. data/lib/correios_sigep.rb +0 -1
  7. data/lib/correios_sigep/builders/xml/collect_objects.rb +4 -4
  8. data/lib/correios_sigep/builders/xml/request.rb +30 -7
  9. data/lib/correios_sigep/builders/xml/request_collect_number.rb +5 -0
  10. data/lib/correios_sigep/configuration.rb +3 -3
  11. data/lib/correios_sigep/logistic_reverse/base_client.rb +7 -4
  12. data/lib/correios_sigep/logistic_reverse/request_sro.rb +1 -1
  13. data/lib/correios_sigep/models/administrative_fields.rb +1 -2
  14. data/lib/correios_sigep/models/sro.rb +2 -2
  15. data/lib/correios_sigep/version.rb +1 -1
  16. data/spec/correios_sigep/builders/xml/request_collect_number_spec.rb +1 -1
  17. data/spec/correios_sigep/builders/xml/request_spec.rb +2 -13
  18. data/spec/correios_sigep/builders/xml/request_sro_spec.rb +2 -2
  19. data/spec/correios_sigep/configuration_spec.rb +23 -33
  20. data/spec/correios_sigep/logistic_reverse/base_client_spec.rb +10 -4
  21. data/spec/correios_sigep/logistic_reverse/request_collect_number_spec.rb +18 -11
  22. data/spec/correios_sigep/logistic_reverse/request_sro_spec.rb +18 -11
  23. data/spec/correios_sigep_spec.rb +0 -14
  24. data/spec/fixtures/builders/request_collect_number.xml +1 -2
  25. data/spec/fixtures/builders/request_sro.xml +1 -2
  26. data/spec/fixtures/correios/request_sro/response_array_success.xml +2 -2
  27. data/spec/fixtures/correios/request_sro/response_collect_number_not_found.xml +2 -2
  28. data/spec/fixtures/correios/request_sro/response_required_fields.xml +2 -2
  29. data/spec/fixtures/correios/request_sro/response_sro_not_ready.xml +2 -2
  30. data/spec/fixtures/correios/request_sro/response_success.xml +2 -2
  31. data/spec/fixtures/correios/request_sro/response_unknown_error.xml +2 -2
  32. data/spec/fixtures/correios/wsdl.xml +650 -188
  33. data/spec/fixtures/requests/collect_number_request.xml +2 -2
  34. data/spec/fixtures/requests/sro_request.xml +1 -1
  35. data/spec/spec_helper.rb +2 -3
  36. metadata +48 -37
  37. data/lib/correios_sigep/builders/xml/authentication.rb +0 -37
  38. 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) { { collect_number: '1234', type: 'A' } }
7
- let(:sro) { CorreiosSigep::Models::SRO.new(sro_params) }
8
- let(:body) { request_fixture('sro_request.xml').chop }
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, "http://webservicescolhomologacao.correios.com.br/ScolWeb/WebServiceScol?wsdl").
13
- with(:headers => {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'}).
14
- to_return(:status => 200, :body => correios_fixture('wsdl.xml'), :headers => {})
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, "http://webservicescolhomologacao.correios.com.br/ScolWeb/WebServiceScol").
18
- with(:body => body, :headers => { 'Accept'=>'*/*',
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
- 'Content-Length'=>'633', 'Content-Type'=>'text/xml;charset=UTF-8',
21
- 'Soapaction'=>'', 'User-Agent'=>'Ruby' }).
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
@@ -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><contrato>9912208555</contrato><codAdministrativo>08082650</codAdministrativo><senha>8o8otn</senha><usuario>60618043</usuario>
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
- <cartao>0057018901</cartao><codigo_servico>41076</codigo_servico><contrato>9912208555</contrato><codAdministrativo>08082650</codAdministrativo><senha>8o8otn</senha><usuario>60618043</usuario>
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
- <return>
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
- </return>
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
- <return>
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
- </return>
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
- <return>
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
- </return>
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
- <return>
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
- </return>
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
- <return>
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
- </return>
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
- <return>
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
- </return>
10
+ </acompanharPedido>
11
11
  </ns2:acompanharPedidoResponse>
12
12
  </S:Body>
13
13
  </S:Envelope>
@@ -1,188 +1,650 @@
1
- <?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://webservice.scol.correios.com.br/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://webservice.scol.correios.com.br/" name="WebServiceScol">
2
- <types>
3
- <xsd:schema>
4
- <xsd:import namespace="http://webservice.scol.correios.com.br/" schemaLocation="http://webservicescolhomologacao.correios.com.br:80/ScolWeb/WebServiceScol?xsd=1"/>
5
- </xsd:schema>
6
- </types>
7
- <message name="solicitarPostagem">
8
- <part name="parameters" element="tns:solicitarPostagem"/>
9
- </message>
10
- <message name="solicitarPostagemResponse">
11
- <part name="parameters" element="tns:solicitarPostagemResponse"/>
12
- </message>
13
- <message name="solicitarPostagemReversa">
14
- <part name="parameters" element="tns:solicitarPostagemReversa"/>
15
- </message>
16
- <message name="solicitarPostagemReversaResponse">
17
- <part name="parameters" element="tns:solicitarPostagemReversaResponse"/>
18
- </message>
19
- <message name="solicitarPostagemSimultanea">
20
- <part name="parameters" element="tns:solicitarPostagemSimultanea"/>
21
- </message>
22
- <message name="solicitarPostagemSimultaneaResponse">
23
- <part name="parameters" element="tns:solicitarPostagemSimultaneaResponse"/>
24
- </message>
25
- <message name="cancelarPedido">
26
- <part name="parameters" element="tns:cancelarPedido"/>
27
- </message>
28
- <message name="cancelarPedidoResponse">
29
- <part name="parameters" element="tns:cancelarPedidoResponse"/>
30
- </message>
31
- <message name="acompanharPedido">
32
- <part name="parameters" element="tns:acompanharPedido"/>
33
- </message>
34
- <message name="acompanharPedidoResponse">
35
- <part name="parameters" element="tns:acompanharPedidoResponse"/>
36
- </message>
37
- <message name="validarPostagemSimultanea">
38
- <part name="parameters" element="tns:validarPostagemSimultanea"/>
39
- </message>
40
- <message name="validarPostagemSimultaneaResponse">
41
- <part name="parameters" element="tns:validarPostagemSimultaneaResponse"/>
42
- </message>
43
- <message name="validarPostagemReversa">
44
- <part name="parameters" element="tns:validarPostagemReversa"/>
45
- </message>
46
- <message name="validarPostagemReversaResponse">
47
- <part name="parameters" element="tns:validarPostagemReversaResponse"/>
48
- </message>
49
- <message name="calcularDigitoVerificador">
50
- <part name="parameters" element="tns:calcularDigitoVerificador"/>
51
- </message>
52
- <message name="calcularDigitoVerificadorResponse">
53
- <part name="parameters" element="tns:calcularDigitoVerificadorResponse"/>
54
- </message>
55
- <message name="solicitarRange">
56
- <part name="parameters" element="tns:solicitarRange"/>
57
- </message>
58
- <message name="solicitarRangeResponse">
59
- <part name="parameters" element="tns:solicitarRangeResponse"/>
60
- </message>
61
- <portType name="WebServiceScol">
62
- <operation name="solicitarPostagem">
63
- <input message="tns:solicitarPostagem"/>
64
- <output message="tns:solicitarPostagemResponse"/>
65
- </operation>
66
- <operation name="solicitarPostagemReversa">
67
- <input message="tns:solicitarPostagemReversa"/>
68
- <output message="tns:solicitarPostagemReversaResponse"/>
69
- </operation>
70
- <operation name="solicitarPostagemSimultanea">
71
- <input message="tns:solicitarPostagemSimultanea"/>
72
- <output message="tns:solicitarPostagemSimultaneaResponse"/>
73
- </operation>
74
- <operation name="cancelarPedido">
75
- <input message="tns:cancelarPedido"/>
76
- <output message="tns:cancelarPedidoResponse"/>
77
- </operation>
78
- <operation name="acompanharPedido">
79
- <input message="tns:acompanharPedido"/>
80
- <output message="tns:acompanharPedidoResponse"/>
81
- </operation>
82
- <operation name="validarPostagemSimultanea">
83
- <input message="tns:validarPostagemSimultanea"/>
84
- <output message="tns:validarPostagemSimultaneaResponse"/>
85
- </operation>
86
- <operation name="validarPostagemReversa">
87
- <input message="tns:validarPostagemReversa"/>
88
- <output message="tns:validarPostagemReversaResponse"/>
89
- </operation>
90
- <operation name="calcularDigitoVerificador">
91
- <input message="tns:calcularDigitoVerificador"/>
92
- <output message="tns:calcularDigitoVerificadorResponse"/>
93
- </operation>
94
- <operation name="solicitarRange">
95
- <input message="tns:solicitarRange"/>
96
- <output message="tns:solicitarRangeResponse"/>
97
- </operation>
98
- </portType>
99
- <binding name="WebServiceScolPortBinding" type="tns:WebServiceScol">
100
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
101
- <operation name="solicitarPostagem">
102
- <soap:operation soapAction=""/>
103
- <input>
104
- <soap:body use="literal"/>
105
- </input>
106
- <output>
107
- <soap:body use="literal"/>
108
- </output>
109
- </operation>
110
- <operation name="solicitarPostagemReversa">
111
- <soap:operation soapAction=""/>
112
- <input>
113
- <soap:body use="literal"/>
114
- </input>
115
- <output>
116
- <soap:body use="literal"/>
117
- </output>
118
- </operation>
119
- <operation name="solicitarPostagemSimultanea">
120
- <soap:operation soapAction=""/>
121
- <input>
122
- <soap:body use="literal"/>
123
- </input>
124
- <output>
125
- <soap:body use="literal"/>
126
- </output>
127
- </operation>
128
- <operation name="cancelarPedido">
129
- <soap:operation soapAction=""/>
130
- <input>
131
- <soap:body use="literal"/>
132
- </input>
133
- <output>
134
- <soap:body use="literal"/>
135
- </output>
136
- </operation>
137
- <operation name="acompanharPedido">
138
- <soap:operation soapAction=""/>
139
- <input>
140
- <soap:body use="literal"/>
141
- </input>
142
- <output>
143
- <soap:body use="literal"/>
144
- </output>
145
- </operation>
146
- <operation name="validarPostagemSimultanea">
147
- <soap:operation soapAction=""/>
148
- <input>
149
- <soap:body use="literal"/>
150
- </input>
151
- <output>
152
- <soap:body use="literal"/>
153
- </output>
154
- </operation>
155
- <operation name="validarPostagemReversa">
156
- <soap:operation soapAction=""/>
157
- <input>
158
- <soap:body use="literal"/>
159
- </input>
160
- <output>
161
- <soap:body use="literal"/>
162
- </output>
163
- </operation>
164
- <operation name="calcularDigitoVerificador">
165
- <soap:operation soapAction=""/>
166
- <input>
167
- <soap:body use="literal"/>
168
- </input>
169
- <output>
170
- <soap:body use="literal"/>
171
- </output>
172
- </operation>
173
- <operation name="solicitarRange">
174
- <soap:operation soapAction=""/>
175
- <input>
176
- <soap:body use="literal"/>
177
- </input>
178
- <output>
179
- <soap:body use="literal"/>
180
- </output>
181
- </operation>
182
- </binding>
183
- <service name="WebServiceScol">
184
- <port name="WebServiceScolPort" binding="tns:WebServiceScolPortBinding">
185
- <soap:address location="http://webservicescolhomologacao.correios.com.br:80/ScolWeb/WebServiceScol"/>
186
- </port>
187
- </service>
188
- </definitions>
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>