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
@@ -1,4 +1,4 @@
1
- <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://webservice.scol.correios.com.br/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:solicitarPostagemReversa><cartao>0057018901</cartao><codigo_servico>41076</codigo_servico><contrato>9912208555</contrato><codAdministrativo>08082650</codAdministrativo><senha>8o8otn</senha><usuario>60618043</usuario>
1
+ <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://service.logisticareversa.correios.com.br/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:solicitarPostagemReversa><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>
@@ -63,4 +63,4 @@
63
63
  </obj_col>
64
64
  </coletas_solicitadas>
65
65
 
66
- </tns:solicitarPostagemReversa></env:Body></env:Envelope>
66
+ </tns:solicitarPostagemReversa></env:Body></env:Envelope>
@@ -1,4 +1,4 @@
1
- <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://webservice.scol.correios.com.br/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:acompanharPedido><cartao>0057018901</cartao><codigo_servico>41076</codigo_servico><contrato>9912208555</contrato><codAdministrativo>08082650</codAdministrativo><senha>8o8otn</senha><usuario>60618043</usuario>
1
+ <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://service.logisticareversa.correios.com.br/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:acompanharPedido><codAdministrativo>08082650</codAdministrativo>
2
2
  <tipoBusca>H</tipoBusca>
3
3
  <tipoSolicitacao>A</tipoSolicitacao>
4
4
  <numeroPedido>1234</numeroPedido>
data/spec/spec_helper.rb CHANGED
@@ -29,12 +29,11 @@ RSpec.configure do |config|
29
29
 
30
30
  config.before do
31
31
  CorreiosSigep.configure do |config|
32
- config.user = '60618043'
33
- config.password = '8o8otn'
34
32
  config.administrative_code = '08082650'
35
33
  config.card = '0057018901'
36
- config.contract = '9912208555'
37
34
  config.service_code = '41076'
35
+ config.user = 'user'
36
+ config.password = 'pass'
38
37
  end
39
38
  end
40
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: correios_sigep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Ribeiro
@@ -9,140 +9,154 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-25 00:00:00.000000000 Z
12
+ date: 2017-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-http-persistent
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: 2.9.4
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: 2.9.4
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rack
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.6'
35
- - - ! '>='
35
+ - - ">="
36
36
  - !ruby/object:Gem::Version
37
37
  version: 1.6.4
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - ~>
42
+ - - "~>"
43
43
  - !ruby/object:Gem::Version
44
44
  version: '1.6'
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 1.6.4
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: savon
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.0'
54
+ version: '2.11'
55
55
  type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.0'
61
+ version: '2.11'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: bundler
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.7'
69
69
  type: :development
70
70
  prerelease: false
71
71
  version_requirements: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.7'
76
+ - !ruby/object:Gem::Dependency
77
+ name: pry
78
+ requirement: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.10'
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.10'
76
90
  - !ruby/object:Gem::Dependency
77
91
  name: coveralls
78
92
  requirement: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - ! '>='
94
+ - - ">="
81
95
  - !ruby/object:Gem::Version
82
96
  version: '0'
83
97
  type: :development
84
98
  prerelease: false
85
99
  version_requirements: !ruby/object:Gem::Requirement
86
100
  requirements:
87
- - - ! '>='
101
+ - - ">="
88
102
  - !ruby/object:Gem::Version
89
103
  version: '0'
90
104
  - !ruby/object:Gem::Dependency
91
105
  name: rake
92
106
  requirement: !ruby/object:Gem::Requirement
93
107
  requirements:
94
- - - ~>
108
+ - - "~>"
95
109
  - !ruby/object:Gem::Version
96
110
  version: '10.0'
97
111
  type: :development
98
112
  prerelease: false
99
113
  version_requirements: !ruby/object:Gem::Requirement
100
114
  requirements:
101
- - - ~>
115
+ - - "~>"
102
116
  - !ruby/object:Gem::Version
103
117
  version: '10.0'
104
118
  - !ruby/object:Gem::Dependency
105
119
  name: rspec
106
120
  requirement: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - ~>
122
+ - - "~>"
109
123
  - !ruby/object:Gem::Version
110
124
  version: '3.0'
111
125
  type: :development
112
126
  prerelease: false
113
127
  version_requirements: !ruby/object:Gem::Requirement
114
128
  requirements:
115
- - - ~>
129
+ - - "~>"
116
130
  - !ruby/object:Gem::Version
117
131
  version: '3.0'
118
132
  - !ruby/object:Gem::Dependency
119
133
  name: simplecov
120
134
  requirement: !ruby/object:Gem::Requirement
121
135
  requirements:
122
- - - ~>
136
+ - - "~>"
123
137
  - !ruby/object:Gem::Version
124
138
  version: '0.9'
125
139
  type: :development
126
140
  prerelease: false
127
141
  version_requirements: !ruby/object:Gem::Requirement
128
142
  requirements:
129
- - - ~>
143
+ - - "~>"
130
144
  - !ruby/object:Gem::Version
131
145
  version: '0.9'
132
146
  - !ruby/object:Gem::Dependency
133
147
  name: webmock
134
148
  requirement: !ruby/object:Gem::Requirement
135
149
  requirements:
136
- - - ~>
150
+ - - "~>"
137
151
  - !ruby/object:Gem::Version
138
- version: '1.0'
152
+ version: '2.3'
139
153
  type: :development
140
154
  prerelease: false
141
155
  version_requirements: !ruby/object:Gem::Requirement
142
156
  requirements:
143
- - - ~>
157
+ - - "~>"
144
158
  - !ruby/object:Gem::Version
145
- version: '1.0'
159
+ version: '2.3'
146
160
  description: An integration with Correios SIGEP WEB system (http://www.correios.com.br/para-sua-empresa/encomendas/sigep-web)
147
161
  email:
148
162
  - duduribeiro.gba@gmail.com
@@ -153,12 +167,12 @@ executables:
153
167
  extensions: []
154
168
  extra_rdoc_files: []
155
169
  files:
156
- - .gitignore
157
- - .rspec
158
- - .rubocop.yml
159
- - .ruby-gemset
160
- - .ruby-version
161
- - .travis.yml
170
+ - ".gitignore"
171
+ - ".rspec"
172
+ - ".rubocop.yml"
173
+ - ".ruby-gemset"
174
+ - ".ruby-version"
175
+ - ".travis.yml"
162
176
  - Gemfile
163
177
  - LICENSE.txt
164
178
  - README.md
@@ -170,7 +184,6 @@ files:
170
184
  - lib/correios_sigep/builders/object.rb
171
185
  - lib/correios_sigep/builders/person.rb
172
186
  - lib/correios_sigep/builders/product.rb
173
- - lib/correios_sigep/builders/xml/authentication.rb
174
187
  - lib/correios_sigep/builders/xml/collect.rb
175
188
  - lib/correios_sigep/builders/xml/collect_objects.rb
176
189
  - lib/correios_sigep/builders/xml/product.rb
@@ -241,7 +254,6 @@ files:
241
254
  - spec/fixtures/correios/request_sro/response_success.xml
242
255
  - spec/fixtures/correios/request_sro/response_unknown_error.xml
243
256
  - spec/fixtures/correios/wsdl.xml
244
- - spec/fixtures/correios/wsdl_test.xml
245
257
  - spec/fixtures/requests/collect_number_request.xml
246
258
  - spec/fixtures/requests/sro_request.xml
247
259
  - spec/spec_helper.rb
@@ -257,12 +269,12 @@ require_paths:
257
269
  - lib
258
270
  required_ruby_version: !ruby/object:Gem::Requirement
259
271
  requirements:
260
- - - ! '>='
272
+ - - ">="
261
273
  - !ruby/object:Gem::Version
262
274
  version: '0'
263
275
  required_rubygems_version: !ruby/object:Gem::Requirement
264
276
  requirements:
265
- - - ! '>='
277
+ - - ">="
266
278
  - !ruby/object:Gem::Version
267
279
  version: '0'
268
280
  requirements: []
@@ -305,7 +317,6 @@ test_files:
305
317
  - spec/fixtures/correios/request_sro/response_success.xml
306
318
  - spec/fixtures/correios/request_sro/response_unknown_error.xml
307
319
  - spec/fixtures/correios/wsdl.xml
308
- - spec/fixtures/correios/wsdl_test.xml
309
320
  - spec/fixtures/requests/collect_number_request.xml
310
321
  - spec/fixtures/requests/sro_request.xml
311
322
  - spec/spec_helper.rb
@@ -1,37 +0,0 @@
1
- module CorreiosSigep
2
- module Builders
3
- module XML
4
- class Authentication
5
- def initialize(builder, administrative_fields)
6
- @builder = builder
7
- @config = CorreiosSigep.configuration
8
- @administrative_fields = administrative_fields
9
- end
10
-
11
- def build_xml!
12
- add_node "usuario", @config.user
13
- add_node "senha", @config.password
14
- add_node "codAdministrativo", @administrative_fields.administrative_code
15
- add_node "contrato", @administrative_fields.contract
16
- add_node "codigo_servico", @administrative_fields.service_code
17
- add_node "cartao", @administrative_fields.card
18
- end
19
-
20
- private
21
-
22
- def add_node(node_name, node_content)
23
- @builder.root.children.first.add_previous_sibling(
24
- create_node(node_name, node_content)
25
- )
26
- end
27
-
28
- def create_node(node_name, node_content)
29
- node = Nokogiri::XML::Node.new(node_name, @builder)
30
- node.content = node_content
31
- node
32
- end
33
-
34
- end
35
- end
36
- end
37
- end
@@ -1,616 +0,0 @@
1
- <?xml version='1.0' encoding='UTF-8'?><wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://webservice.scol.correios.com.br/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" name="WebServiceScol" targetNamespace="http://webservice.scol.correios.com.br/">
2
- <wsdl:types>
3
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://webservice.scol.correios.com.br/" elementFormDefault="unqualified" targetNamespace="http://webservice.scol.correios.com.br/" version="1.0">
4
-
5
- <xs:element name="acompanharPedido" type="tns:acompanharPedido"/>
6
-
7
- <xs:element name="acompanharPedidoResponse" type="tns:acompanharPedidoResponse"/>
8
-
9
- <xs:element name="calcularDigitoVerificador" type="tns:calcularDigitoVerificador"/>
10
-
11
- <xs:element name="calcularDigitoVerificadorResponse" type="tns:calcularDigitoVerificadorResponse"/>
12
-
13
- <xs:element name="cancelarPedido" type="tns:cancelarPedido"/>
14
-
15
- <xs:element name="cancelarPedidoResponse" type="tns:cancelarPedidoResponse"/>
16
-
17
- <xs:element name="solicitarPostagem" type="tns:solicitarPostagem"/>
18
-
19
- <xs:element name="solicitarPostagemResponse" type="tns:solicitarPostagemResponse"/>
20
-
21
- <xs:element name="solicitarPostagemReversa" type="tns:solicitarPostagemReversa"/>
22
-
23
- <xs:element name="solicitarPostagemReversaResponse" type="tns:solicitarPostagemReversaResponse"/>
24
-
25
- <xs:element name="solicitarPostagemSimultanea" type="tns:solicitarPostagemSimultanea"/>
26
-
27
- <xs:element name="solicitarPostagemSimultaneaResponse" type="tns:solicitarPostagemSimultaneaResponse"/>
28
-
29
- <xs:element name="solicitarRange" type="tns:solicitarRange"/>
30
-
31
- <xs:element name="solicitarRangeResponse" type="tns:solicitarRangeResponse"/>
32
-
33
- <xs:element name="validarPostagemReversa" type="tns:validarPostagemReversa"/>
34
-
35
- <xs:element name="validarPostagemReversaResponse" type="tns:validarPostagemReversaResponse"/>
36
-
37
- <xs:element name="validarPostagemSimultanea" type="tns:validarPostagemSimultanea"/>
38
-
39
- <xs:element name="validarPostagemSimultaneaResponse" type="tns:validarPostagemSimultaneaResponse"/>
40
-
41
- <xs:complexType name="validarPostagemSimultanea">
42
- <xs:sequence>
43
- <xs:element minOccurs="0" name="usuario" type="xs:string"/>
44
- <xs:element minOccurs="0" name="senha" type="xs:string"/>
45
- <xs:element minOccurs="0" name="codAdministrativo" type="xs:int"/>
46
- <xs:element minOccurs="0" name="codigo_servico" type="xs:int"/>
47
- <xs:element minOccurs="0" name="cep_destinatario" type="xs:string"/>
48
- <xs:element minOccurs="0" name="coleta" type="tns:coletaSimultaneaTO"/>
49
- </xs:sequence>
50
- </xs:complexType>
51
-
52
- <xs:complexType name="coletaSimultaneaTO">
53
- <xs:complexContent>
54
- <xs:extension base="tns:coletaTO">
55
- <xs:sequence>
56
- <xs:element minOccurs="0" name="obs" type="xs:string"/>
57
- <xs:element minOccurs="0" name="obj" type="xs:string"/>
58
- </xs:sequence>
59
- </xs:extension>
60
- </xs:complexContent>
61
- </xs:complexType>
62
-
63
- <xs:complexType name="coletaTO">
64
- <xs:sequence>
65
- <xs:element minOccurs="0" name="tipo" type="xs:string"/>
66
- <xs:element minOccurs="0" name="id_cliente" type="xs:string"/>
67
- <xs:element minOccurs="0" name="valor_declarado" type="xs:string"/>
68
- <xs:element minOccurs="0" name="descricao" type="xs:string"/>
69
- <xs:element minOccurs="0" name="cklist" type="xs:string"/>
70
- <xs:element minOccurs="0" name="remetente" type="tns:remetenteTO"/>
71
- <xs:element maxOccurs="unbounded" minOccurs="0" name="produto" nillable="true" type="tns:produtoTO"/>
72
- </xs:sequence>
73
- </xs:complexType>
74
-
75
- <xs:complexType name="remetenteTO">
76
- <xs:complexContent>
77
- <xs:extension base="tns:pessoaTO">
78
- <xs:sequence>
79
- <xs:element minOccurs="0" name="identificacao" type="xs:string"/>
80
- <xs:element minOccurs="0" name="ddd_celular" type="xs:string"/>
81
- <xs:element minOccurs="0" name="celular" type="xs:string"/>
82
- <xs:element minOccurs="0" name="sms" type="xs:string"/>
83
- </xs:sequence>
84
- </xs:extension>
85
- </xs:complexContent>
86
- </xs:complexType>
87
-
88
- <xs:complexType name="pessoaTO">
89
- <xs:sequence>
90
- <xs:element minOccurs="0" name="nome" type="xs:string"/>
91
- <xs:element minOccurs="0" name="logradouro" type="xs:string"/>
92
- <xs:element minOccurs="0" name="numero" type="xs:string"/>
93
- <xs:element minOccurs="0" name="complemento" type="xs:string"/>
94
- <xs:element minOccurs="0" name="bairro" type="xs:string"/>
95
- <xs:element minOccurs="0" name="referencia" type="xs:string"/>
96
- <xs:element minOccurs="0" name="cidade" type="xs:string"/>
97
- <xs:element minOccurs="0" name="uf" type="xs:string"/>
98
- <xs:element minOccurs="0" name="cep" type="xs:string"/>
99
- <xs:element minOccurs="0" name="ddd" type="xs:string"/>
100
- <xs:element minOccurs="0" name="telefone" type="xs:string"/>
101
- <xs:element minOccurs="0" name="email" type="xs:string"/>
102
- </xs:sequence>
103
- </xs:complexType>
104
-
105
- <xs:complexType name="produtoTO">
106
- <xs:sequence>
107
- <xs:element minOccurs="0" name="codigo" type="xs:string"/>
108
- <xs:element minOccurs="0" name="tipo" type="xs:string"/>
109
- <xs:element minOccurs="0" name="qtd" type="xs:string"/>
110
- </xs:sequence>
111
- </xs:complexType>
112
-
113
- <xs:complexType name="validarPostagemSimultaneaResponse">
114
- <xs:sequence>
115
- <xs:element minOccurs="0" name="return" type="tns:retornoValidacaoTO"/>
116
- </xs:sequence>
117
- </xs:complexType>
118
-
119
- <xs:complexType name="retornoValidacaoTO">
120
- <xs:sequence>
121
- <xs:element minOccurs="0" name="cod_erro" type="xs:long"/>
122
- <xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
123
- </xs:sequence>
124
- </xs:complexType>
125
-
126
- <xs:complexType name="solicitarPostagem">
127
- <xs:sequence>
128
- <xs:element minOccurs="0" name="usuario" type="xs:string"/>
129
- <xs:element minOccurs="0" name="senha" type="xs:string"/>
130
- <xs:element minOccurs="0" name="codAdministrativo" type="xs:int"/>
131
- <xs:element minOccurs="0" name="xml" type="xs:string"/>
132
- </xs:sequence>
133
- </xs:complexType>
134
-
135
- <xs:complexType name="solicitarPostagemResponse">
136
- <xs:sequence>
137
- <xs:element minOccurs="0" name="return" type="xs:string"/>
138
- </xs:sequence>
139
- </xs:complexType>
140
-
141
- <xs:complexType name="calcularDigitoVerificador">
142
- <xs:sequence>
143
- <xs:element minOccurs="0" name="usuario" type="xs:string"/>
144
- <xs:element minOccurs="0" name="senha" type="xs:string"/>
145
- <xs:element minOccurs="0" name="codAdministrativo" type="xs:int"/>
146
- <xs:element minOccurs="0" name="numero" type="xs:int"/>
147
- </xs:sequence>
148
- </xs:complexType>
149
-
150
- <xs:complexType name="calcularDigitoVerificadorResponse">
151
- <xs:sequence>
152
- <xs:element minOccurs="0" name="return" type="tns:retornoDigitoVerificadorTO"/>
153
- </xs:sequence>
154
- </xs:complexType>
155
-
156
- <xs:complexType name="retornoDigitoVerificadorTO">
157
- <xs:sequence>
158
- <xs:element minOccurs="0" name="data" type="xs:string"/>
159
- <xs:element minOccurs="0" name="hora" type="xs:string"/>
160
- <xs:element minOccurs="0" name="cod_erro" type="xs:string"/>
161
- <xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
162
- <xs:element minOccurs="0" name="digito" type="xs:int"/>
163
- <xs:element minOccurs="0" name="numero" type="xs:int"/>
164
- </xs:sequence>
165
- </xs:complexType>
166
-
167
- <xs:complexType name="solicitarPostagemReversa">
168
- <xs:sequence>
169
- <xs:element minOccurs="0" name="usuario" type="xs:string"/>
170
- <xs:element minOccurs="0" name="senha" type="xs:string"/>
171
- <xs:element minOccurs="0" name="codAdministrativo" type="xs:int"/>
172
- <xs:element minOccurs="0" name="contrato" type="xs:string"/>
173
- <xs:element minOccurs="0" name="codigo_servico" type="xs:int"/>
174
- <xs:element minOccurs="0" name="cartao" type="xs:string"/>
175
- <xs:element minOccurs="0" name="destinatario" type="tns:pessoaTO"/>
176
- <xs:element maxOccurs="unbounded" minOccurs="0" name="coletas_solicitadas" type="tns:coletaReversaTO"/>
177
- </xs:sequence>
178
- </xs:complexType>
179
-
180
- <xs:complexType name="coletaReversaTO">
181
- <xs:complexContent>
182
- <xs:extension base="tns:coletaTO">
183
- <xs:sequence>
184
- <xs:element minOccurs="0" name="numero" type="xs:int"/>
185
- <xs:element minOccurs="0" name="ag" type="xs:string"/>
186
- <xs:element minOccurs="0" name="cartao" type="xs:string"/>
187
- <xs:element minOccurs="0" name="servico_adicional" type="xs:string"/>
188
- <xs:element minOccurs="0" name="ar" type="xs:int"/>
189
- <xs:element maxOccurs="unbounded" minOccurs="0" name="obj_col" nillable="true" type="tns:objetoTO"/>
190
- </xs:sequence>
191
- </xs:extension>
192
- </xs:complexContent>
193
- </xs:complexType>
194
-
195
- <xs:complexType name="objetoTO">
196
- <xs:sequence>
197
- <xs:element minOccurs="0" name="item" type="xs:string"/>
198
- <xs:element minOccurs="0" name="desc" type="xs:string"/>
199
- <xs:element minOccurs="0" name="entrega" type="xs:string"/>
200
- <xs:element minOccurs="0" name="num" type="xs:string"/>
201
- <xs:element minOccurs="0" name="id" type="xs:string"/>
202
- </xs:sequence>
203
- </xs:complexType>
204
-
205
- <xs:complexType name="solicitarPostagemReversaResponse">
206
- <xs:sequence>
207
- <xs:element minOccurs="0" name="return" type="tns:retornoPostagemTO"/>
208
- </xs:sequence>
209
- </xs:complexType>
210
-
211
- <xs:complexType name="retornoPostagemTO">
212
- <xs:sequence>
213
- <xs:element minOccurs="0" name="status_processamento" type="xs:string"/>
214
- <xs:element minOccurs="0" name="data_processamento" type="xs:string"/>
215
- <xs:element minOccurs="0" name="hora_processamento" type="xs:string"/>
216
- <xs:element minOccurs="0" name="cod_erro" type="xs:string"/>
217
- <xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
218
- <xs:element maxOccurs="unbounded" minOccurs="0" name="resultado_solicitacao" nillable="true" type="tns:resultadoSolicitacaoTO"/>
219
- </xs:sequence>
220
- </xs:complexType>
221
-
222
- <xs:complexType name="resultadoSolicitacaoTO">
223
- <xs:sequence>
224
- <xs:element minOccurs="0" name="tipo" type="xs:string"/>
225
- <xs:element minOccurs="0" name="id_cliente" type="xs:string"/>
226
- <xs:element minOccurs="0" name="numero_coleta" type="xs:string"/>
227
- <xs:element minOccurs="0" name="numero_etiqueta" type="xs:string"/>
228
- <xs:element minOccurs="0" name="id_obj" type="xs:string"/>
229
- <xs:element minOccurs="0" name="status_objeto" type="xs:string"/>
230
- <xs:element minOccurs="0" name="prazo" type="xs:string"/>
231
- <xs:element minOccurs="0" name="data_solicitacao" type="xs:string"/>
232
- <xs:element minOccurs="0" name="hora_solicitacao" type="xs:string"/>
233
- <xs:element name="codigo_erro" type="xs:long"/>
234
- <xs:element minOccurs="0" name="descricao_erro" type="xs:string"/>
235
- </xs:sequence>
236
- </xs:complexType>
237
-
238
- <xs:complexType name="solicitarRange">
239
- <xs:sequence>
240
- <xs:element minOccurs="0" name="usuario" type="xs:string"/>
241
- <xs:element minOccurs="0" name="senha" type="xs:string"/>
242
- <xs:element minOccurs="0" name="codAdministrativo" type="xs:int"/>
243
- <xs:element minOccurs="0" name="contrato" type="xs:string"/>
244
- <xs:element minOccurs="0" name="tipo" type="xs:string"/>
245
- <xs:element minOccurs="0" name="servico" type="xs:string"/>
246
- <xs:element minOccurs="0" name="quantidade" type="xs:int"/>
247
- </xs:sequence>
248
- </xs:complexType>
249
-
250
- <xs:complexType name="solicitarRangeResponse">
251
- <xs:sequence>
252
- <xs:element minOccurs="0" name="return" type="tns:retornoFaixaNumericaTO"/>
253
- </xs:sequence>
254
- </xs:complexType>
255
-
256
- <xs:complexType name="retornoFaixaNumericaTO">
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
-
267
- <xs:complexType name="solicitarPostagemSimultanea">
268
- <xs:sequence>
269
- <xs:element minOccurs="0" name="usuario" type="xs:string"/>
270
- <xs:element minOccurs="0" name="senha" type="xs:string"/>
271
- <xs:element minOccurs="0" name="codAdministrativo" type="xs:int"/>
272
- <xs:element minOccurs="0" name="contrato" type="xs:string"/>
273
- <xs:element minOccurs="0" name="codigo_servico" type="xs:int"/>
274
- <xs:element minOccurs="0" name="cartao" type="xs:string"/>
275
- <xs:element minOccurs="0" name="destinatario" type="tns:pessoaTO"/>
276
- <xs:element maxOccurs="unbounded" minOccurs="0" name="coletas_solicitadas" type="tns:coletaSimultaneaTO"/>
277
- </xs:sequence>
278
- </xs:complexType>
279
-
280
- <xs:complexType name="solicitarPostagemSimultaneaResponse">
281
- <xs:sequence>
282
- <xs:element minOccurs="0" name="return" type="tns:retornoPostagemTO"/>
283
- </xs:sequence>
284
- </xs:complexType>
285
-
286
- <xs:complexType name="acompanharPedido">
287
- <xs:sequence>
288
- <xs:element minOccurs="0" name="usuario" type="xs:string"/>
289
- <xs:element minOccurs="0" name="senha" type="xs:string"/>
290
- <xs:element minOccurs="0" name="codAdministrativo" type="xs:int"/>
291
- <xs:element minOccurs="0" name="tipoBusca" type="xs:string"/>
292
- <xs:element minOccurs="0" name="tipoSolicitacao" type="xs:string"/>
293
- <xs:element maxOccurs="unbounded" minOccurs="0" name="numeroPedido" type="xs:string"/>
294
- </xs:sequence>
295
- </xs:complexType>
296
-
297
- <xs:complexType name="acompanharPedidoResponse">
298
- <xs:sequence>
299
- <xs:element minOccurs="0" name="return" type="tns:retornoAcompanhamentoTO"/>
300
- </xs:sequence>
301
- </xs:complexType>
302
-
303
- <xs:complexType name="retornoAcompanhamentoTO">
304
- <xs:sequence>
305
- <xs:element minOccurs="0" name="codigo_administrativo" type="xs:string"/>
306
- <xs:element minOccurs="0" name="tipo_solicitacao" type="xs:string"/>
307
- <xs:element maxOccurs="unbounded" minOccurs="0" name="coleta" nillable="true" type="tns:coletasSolicitadasTO"/>
308
- <xs:element minOccurs="0" name="data" type="xs:string"/>
309
- <xs:element minOccurs="0" name="hora" type="xs:string"/>
310
- <xs:element minOccurs="0" name="cod_erro" type="xs:string"/>
311
- <xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
312
- </xs:sequence>
313
- </xs:complexType>
314
-
315
- <xs:complexType name="coletasSolicitadasTO">
316
- <xs:sequence>
317
- <xs:element minOccurs="0" name="numero_pedido" type="xs:int"/>
318
- <xs:element minOccurs="0" name="controle_cliente" type="xs:string"/>
319
- <xs:element maxOccurs="unbounded" minOccurs="0" name="historico" nillable="true" type="tns:historicoColetaTO"/>
320
- <xs:element maxOccurs="unbounded" minOccurs="0" name="objeto" nillable="true" type="tns:objetoPostalTO"/>
321
- </xs:sequence>
322
- </xs:complexType>
323
-
324
- <xs:complexType name="historicoColetaTO">
325
- <xs:sequence>
326
- <xs:element minOccurs="0" name="status" type="xs:int"/>
327
- <xs:element minOccurs="0" name="descricao_status" type="xs:string"/>
328
- <xs:element minOccurs="0" name="data_atualizacao" type="xs:string"/>
329
- <xs:element minOccurs="0" name="hora_atualizacao" type="xs:string"/>
330
- <xs:element minOccurs="0" name="observacao" type="xs:string"/>
331
- </xs:sequence>
332
- </xs:complexType>
333
-
334
- <xs:complexType name="objetoPostalTO">
335
- <xs:sequence>
336
- <xs:element minOccurs="0" name="numero_etiqueta" type="xs:string"/>
337
- <xs:element minOccurs="0" name="controle_objeto_cliente" type="xs:string"/>
338
- <xs:element minOccurs="0" name="ultimo_status" type="xs:string"/>
339
- <xs:element minOccurs="0" name="descricao_status" type="xs:string"/>
340
- <xs:element minOccurs="0" name="data_ultima_atualizacao" type="xs:string"/>
341
- <xs:element minOccurs="0" name="hora_ultima_atualizacao" type="xs:string"/>
342
- </xs:sequence>
343
- </xs:complexType>
344
-
345
- <xs:complexType name="validarPostagemReversa">
346
- <xs:sequence>
347
- <xs:element minOccurs="0" name="usuario" type="xs:string"/>
348
- <xs:element minOccurs="0" name="senha" type="xs:string"/>
349
- <xs:element minOccurs="0" name="codAdministrativo" type="xs:int"/>
350
- <xs:element minOccurs="0" name="codigo_servico" type="xs:int"/>
351
- <xs:element minOccurs="0" name="cep_destinatario" type="xs:string"/>
352
- <xs:element minOccurs="0" name="coleta" type="tns:coletaReversaTO"/>
353
- </xs:sequence>
354
- </xs:complexType>
355
-
356
- <xs:complexType name="validarPostagemReversaResponse">
357
- <xs:sequence>
358
- <xs:element minOccurs="0" name="return" type="tns:retornoValidacaoTO"/>
359
- </xs:sequence>
360
- </xs:complexType>
361
-
362
- <xs:complexType name="cancelarPedido">
363
- <xs:sequence>
364
- <xs:element minOccurs="0" name="usuario" type="xs:string"/>
365
- <xs:element minOccurs="0" name="senha" type="xs:string"/>
366
- <xs:element minOccurs="0" name="codAdministrativo" type="xs:int"/>
367
- <xs:element minOccurs="0" name="numeroPedido" type="xs:string"/>
368
- <xs:element minOccurs="0" name="tipo" type="xs:string"/>
369
- </xs:sequence>
370
- </xs:complexType>
371
-
372
- <xs:complexType name="cancelarPedidoResponse">
373
- <xs:sequence>
374
- <xs:element minOccurs="0" name="return" type="tns:retornoCancelamentoTO"/>
375
- </xs:sequence>
376
- </xs:complexType>
377
-
378
- <xs:complexType name="retornoCancelamentoTO">
379
- <xs:sequence>
380
- <xs:element minOccurs="0" name="codigo_administrativo" type="xs:string"/>
381
- <xs:element minOccurs="0" name="objeto_postal" type="tns:objetoSimplificadoTO"/>
382
- <xs:element minOccurs="0" name="data" type="xs:string"/>
383
- <xs:element minOccurs="0" name="hora" type="xs:string"/>
384
- <xs:element minOccurs="0" name="cod_erro" type="xs:string"/>
385
- <xs:element minOccurs="0" name="msg_erro" type="xs:string"/>
386
- </xs:sequence>
387
- </xs:complexType>
388
-
389
- <xs:complexType name="objetoSimplificadoTO">
390
- <xs:sequence>
391
- <xs:element minOccurs="0" name="numero_pedido" type="xs:int"/>
392
- <xs:element minOccurs="0" name="status_pedido" type="xs:string"/>
393
- <xs:element minOccurs="0" name="datahora_cancelamento" type="xs:string"/>
394
- </xs:sequence>
395
- </xs:complexType>
396
-
397
- </xs:schema>
398
- </wsdl:types>
399
- <wsdl:message name="solicitarRangeResponse">
400
- <wsdl:part element="tns:solicitarRangeResponse" name="parameters">
401
- </wsdl:part>
402
- </wsdl:message>
403
- <wsdl:message name="solicitarPostagemResponse">
404
- <wsdl:part element="tns:solicitarPostagemResponse" name="parameters">
405
- </wsdl:part>
406
- </wsdl:message>
407
- <wsdl:message name="acompanharPedidoResponse">
408
- <wsdl:part element="tns:acompanharPedidoResponse" name="parameters">
409
- </wsdl:part>
410
- </wsdl:message>
411
- <wsdl:message name="solicitarPostagemReversa">
412
- <wsdl:part element="tns:solicitarPostagemReversa" name="parameters">
413
- </wsdl:part>
414
- </wsdl:message>
415
- <wsdl:message name="solicitarPostagemSimultanea">
416
- <wsdl:part element="tns:solicitarPostagemSimultanea" name="parameters">
417
- </wsdl:part>
418
- </wsdl:message>
419
- <wsdl:message name="calcularDigitoVerificador">
420
- <wsdl:part element="tns:calcularDigitoVerificador" name="parameters">
421
- </wsdl:part>
422
- </wsdl:message>
423
- <wsdl:message name="solicitarRange">
424
- <wsdl:part element="tns:solicitarRange" name="parameters">
425
- </wsdl:part>
426
- </wsdl:message>
427
- <wsdl:message name="validarPostagemReversaResponse">
428
- <wsdl:part element="tns:validarPostagemReversaResponse" name="parameters">
429
- </wsdl:part>
430
- </wsdl:message>
431
- <wsdl:message name="cancelarPedido">
432
- <wsdl:part element="tns:cancelarPedido" name="parameters">
433
- </wsdl:part>
434
- </wsdl:message>
435
- <wsdl:message name="solicitarPostagemSimultaneaResponse">
436
- <wsdl:part element="tns:solicitarPostagemSimultaneaResponse" name="parameters">
437
- </wsdl:part>
438
- </wsdl:message>
439
- <wsdl:message name="acompanharPedido">
440
- <wsdl:part element="tns:acompanharPedido" name="parameters">
441
- </wsdl:part>
442
- </wsdl:message>
443
- <wsdl:message name="validarPostagemSimultaneaResponse">
444
- <wsdl:part element="tns:validarPostagemSimultaneaResponse" name="parameters">
445
- </wsdl:part>
446
- </wsdl:message>
447
- <wsdl:message name="solicitarPostagem">
448
- <wsdl:part element="tns:solicitarPostagem" name="parameters">
449
- </wsdl:part>
450
- </wsdl:message>
451
- <wsdl:message name="validarPostagemSimultanea">
452
- <wsdl:part element="tns:validarPostagemSimultanea" name="parameters">
453
- </wsdl:part>
454
- </wsdl:message>
455
- <wsdl:message name="validarPostagemReversa">
456
- <wsdl:part element="tns:validarPostagemReversa" name="parameters">
457
- </wsdl:part>
458
- </wsdl:message>
459
- <wsdl:message name="calcularDigitoVerificadorResponse">
460
- <wsdl:part element="tns:calcularDigitoVerificadorResponse" name="parameters">
461
- </wsdl:part>
462
- </wsdl:message>
463
- <wsdl:message name="cancelarPedidoResponse">
464
- <wsdl:part element="tns:cancelarPedidoResponse" name="parameters">
465
- </wsdl:part>
466
- </wsdl:message>
467
- <wsdl:message name="solicitarPostagemReversaResponse">
468
- <wsdl:part element="tns:solicitarPostagemReversaResponse" name="parameters">
469
- </wsdl:part>
470
- </wsdl:message>
471
- <wsdl:portType name="WebServiceScol">
472
- <wsdl:operation name="validarPostagemSimultanea">
473
- <wsdl:input message="tns:validarPostagemSimultanea" name="validarPostagemSimultanea">
474
- </wsdl:input>
475
- <wsdl:output message="tns:validarPostagemSimultaneaResponse" name="validarPostagemSimultaneaResponse">
476
- </wsdl:output>
477
- </wsdl:operation>
478
- <wsdl:operation name="solicitarPostagem">
479
- <wsdl:input message="tns:solicitarPostagem" name="solicitarPostagem">
480
- </wsdl:input>
481
- <wsdl:output message="tns:solicitarPostagemResponse" name="solicitarPostagemResponse">
482
- </wsdl:output>
483
- </wsdl:operation>
484
- <wsdl:operation name="calcularDigitoVerificador">
485
- <wsdl:input message="tns:calcularDigitoVerificador" name="calcularDigitoVerificador">
486
- </wsdl:input>
487
- <wsdl:output message="tns:calcularDigitoVerificadorResponse" name="calcularDigitoVerificadorResponse">
488
- </wsdl:output>
489
- </wsdl:operation>
490
- <wsdl:operation name="solicitarPostagemReversa">
491
- <wsdl:input message="tns:solicitarPostagemReversa" name="solicitarPostagemReversa">
492
- </wsdl:input>
493
- <wsdl:output message="tns:solicitarPostagemReversaResponse" name="solicitarPostagemReversaResponse">
494
- </wsdl:output>
495
- </wsdl:operation>
496
- <wsdl:operation name="solicitarRange">
497
- <wsdl:input message="tns:solicitarRange" name="solicitarRange">
498
- </wsdl:input>
499
- <wsdl:output message="tns:solicitarRangeResponse" name="solicitarRangeResponse">
500
- </wsdl:output>
501
- </wsdl:operation>
502
- <wsdl:operation name="solicitarPostagemSimultanea">
503
- <wsdl:input message="tns:solicitarPostagemSimultanea" name="solicitarPostagemSimultanea">
504
- </wsdl:input>
505
- <wsdl:output message="tns:solicitarPostagemSimultaneaResponse" name="solicitarPostagemSimultaneaResponse">
506
- </wsdl:output>
507
- </wsdl:operation>
508
- <wsdl:operation name="acompanharPedido">
509
- <wsdl:input message="tns:acompanharPedido" name="acompanharPedido">
510
- </wsdl:input>
511
- <wsdl:output message="tns:acompanharPedidoResponse" name="acompanharPedidoResponse">
512
- </wsdl:output>
513
- </wsdl:operation>
514
- <wsdl:operation name="validarPostagemReversa">
515
- <wsdl:input message="tns:validarPostagemReversa" name="validarPostagemReversa">
516
- </wsdl:input>
517
- <wsdl:output message="tns:validarPostagemReversaResponse" name="validarPostagemReversaResponse">
518
- </wsdl:output>
519
- </wsdl:operation>
520
- <wsdl:operation name="cancelarPedido">
521
- <wsdl:input message="tns:cancelarPedido" name="cancelarPedido">
522
- </wsdl:input>
523
- <wsdl:output message="tns:cancelarPedidoResponse" name="cancelarPedidoResponse">
524
- </wsdl:output>
525
- </wsdl:operation>
526
- </wsdl:portType>
527
- <wsdl:binding name="WebServiceScolSoapBinding" type="tns:WebServiceScol">
528
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
529
- <wsdl:operation name="calcularDigitoVerificador">
530
- <soap:operation soapAction="" style="document"/>
531
- <wsdl:input name="calcularDigitoVerificador">
532
- <soap:body use="literal"/>
533
- </wsdl:input>
534
- <wsdl:output name="calcularDigitoVerificadorResponse">
535
- <soap:body use="literal"/>
536
- </wsdl:output>
537
- </wsdl:operation>
538
- <wsdl:operation name="solicitarPostagem">
539
- <soap:operation soapAction="" style="document"/>
540
- <wsdl:input name="solicitarPostagem">
541
- <soap:body use="literal"/>
542
- </wsdl:input>
543
- <wsdl:output name="solicitarPostagemResponse">
544
- <soap:body use="literal"/>
545
- </wsdl:output>
546
- </wsdl:operation>
547
- <wsdl:operation name="validarPostagemSimultanea">
548
- <soap:operation soapAction="" style="document"/>
549
- <wsdl:input name="validarPostagemSimultanea">
550
- <soap:body use="literal"/>
551
- </wsdl:input>
552
- <wsdl:output name="validarPostagemSimultaneaResponse">
553
- <soap:body use="literal"/>
554
- </wsdl:output>
555
- </wsdl:operation>
556
- <wsdl:operation name="solicitarPostagemReversa">
557
- <soap:operation soapAction="" style="document"/>
558
- <wsdl:input name="solicitarPostagemReversa">
559
- <soap:body use="literal"/>
560
- </wsdl:input>
561
- <wsdl:output name="solicitarPostagemReversaResponse">
562
- <soap:body use="literal"/>
563
- </wsdl:output>
564
- </wsdl:operation>
565
- <wsdl:operation name="solicitarRange">
566
- <soap:operation soapAction="" style="document"/>
567
- <wsdl:input name="solicitarRange">
568
- <soap:body use="literal"/>
569
- </wsdl:input>
570
- <wsdl:output name="solicitarRangeResponse">
571
- <soap:body use="literal"/>
572
- </wsdl:output>
573
- </wsdl:operation>
574
- <wsdl:operation name="solicitarPostagemSimultanea">
575
- <soap:operation soapAction="" style="document"/>
576
- <wsdl:input name="solicitarPostagemSimultanea">
577
- <soap:body use="literal"/>
578
- </wsdl:input>
579
- <wsdl:output name="solicitarPostagemSimultaneaResponse">
580
- <soap:body use="literal"/>
581
- </wsdl:output>
582
- </wsdl:operation>
583
- <wsdl:operation name="acompanharPedido">
584
- <soap:operation soapAction="" style="document"/>
585
- <wsdl:input name="acompanharPedido">
586
- <soap:body use="literal"/>
587
- </wsdl:input>
588
- <wsdl:output name="acompanharPedidoResponse">
589
- <soap:body use="literal"/>
590
- </wsdl:output>
591
- </wsdl:operation>
592
- <wsdl:operation name="validarPostagemReversa">
593
- <soap:operation soapAction="" style="document"/>
594
- <wsdl:input name="validarPostagemReversa">
595
- <soap:body use="literal"/>
596
- </wsdl:input>
597
- <wsdl:output name="validarPostagemReversaResponse">
598
- <soap:body use="literal"/>
599
- </wsdl:output>
600
- </wsdl:operation>
601
- <wsdl:operation name="cancelarPedido">
602
- <soap:operation soapAction="" style="document"/>
603
- <wsdl:input name="cancelarPedido">
604
- <soap:body use="literal"/>
605
- </wsdl:input>
606
- <wsdl:output name="cancelarPedidoResponse">
607
- <soap:body use="literal"/>
608
- </wsdl:output>
609
- </wsdl:operation>
610
- </wsdl:binding>
611
- <wsdl:service name="WebServiceScol">
612
- <wsdl:port binding="tns:WebServiceScolSoapBinding" name="WebServiceScolPort">
613
- <soap:address location="http://webservicescolhomologacao.correios.com.br/ScolWeb/WebServiceScol"/>
614
- </wsdl:port>
615
- </wsdl:service>
616
- </wsdl:definitions>