creditsafe 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +17 -17
  3. data/.gitignore +4 -3
  4. data/.rspec +1 -1
  5. data/.rubocop.yml +14 -11
  6. data/.ruby-version +1 -1
  7. data/CHANGELOG.md +57 -53
  8. data/Gemfile +5 -5
  9. data/LICENSE.txt +22 -22
  10. data/README.md +175 -175
  11. data/creditsafe.gemspec +34 -35
  12. data/data/creditsafe-live.xml +342 -342
  13. data/data/creditsafe-test.xml +342 -342
  14. data/lib/creditsafe.rb +4 -4
  15. data/lib/creditsafe/client.rb +165 -165
  16. data/lib/creditsafe/constants.rb +49 -49
  17. data/lib/creditsafe/errors.rb +17 -17
  18. data/lib/creditsafe/match_type.rb +115 -115
  19. data/lib/creditsafe/messages.rb +98 -98
  20. data/lib/creditsafe/namespace.rb +20 -20
  21. data/lib/creditsafe/request/company_report.rb +42 -42
  22. data/lib/creditsafe/request/find_company.rb +120 -120
  23. data/lib/creditsafe/version.rb +5 -5
  24. data/spec/creditsafe/client_spec.rb +431 -431
  25. data/spec/creditsafe/messages_spec.rb +76 -76
  26. data/spec/fixtures/company-report-not-found.xml +13 -13
  27. data/spec/fixtures/company-report-request.xml +1 -1
  28. data/spec/fixtures/company-report-successful.xml +582 -582
  29. data/spec/fixtures/error-fault.xml +8 -8
  30. data/spec/fixtures/error-invalid-credentials.html +31 -31
  31. data/spec/fixtures/find-companies-error-no-text.xml +11 -11
  32. data/spec/fixtures/find-companies-error.xml +11 -11
  33. data/spec/fixtures/find-companies-none-found.xml +13 -13
  34. data/spec/fixtures/find-companies-request.xml +1 -1
  35. data/spec/fixtures/find-companies-successful-multi.xml +493 -493
  36. data/spec/fixtures/find-companies-successful.xml +29 -29
  37. data/spec/spec_helper.rb +14 -14
  38. metadata +39 -40
  39. data/Gemfile.lock +0 -129
@@ -1,35 +1,34 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path("lib", __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require "creditsafe/version"
6
-
7
- Gem::Specification.new do |spec|
8
- spec.name = "creditsafe"
9
- spec.version = Creditsafe::VERSION
10
- spec.authors = ["GoCardless Engineering"]
11
- spec.email = ["engineering@gocardless.com"]
12
- spec.summary = "Ruby client for the Creditsafe SOAP API"
13
- spec.homepage = "https://github.com/gocardless/creditsafe-ruby"
14
- spec.license = "MIT"
15
-
16
- spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
20
-
21
- spec.add_runtime_dependency "activesupport", ">= 4.2.0"
22
- spec.add_runtime_dependency "excon", "~> 0.45"
23
- spec.add_runtime_dependency "savon", "~> 2.8"
24
-
25
- spec.add_development_dependency "bundler", "~> 1.3"
26
- spec.add_development_dependency "compare-xml", "~> 0.5"
27
- spec.add_development_dependency "gc_ruboconfig", "~> 2.3"
28
- spec.add_development_dependency "pry", "~> 0.11"
29
- spec.add_development_dependency "rspec", "~> 3.1"
30
- spec.add_development_dependency "rspec-its", "~> 1.2"
31
- spec.add_development_dependency "rspec_junit_formatter", "~> 0.3"
32
- spec.add_development_dependency "rubocop", "~> 0.52"
33
- spec.add_development_dependency "timecop", "~> 0.8"
34
- spec.add_development_dependency "webmock", "~> 3.3"
35
- end
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path("lib", __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require "creditsafe/version"
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "creditsafe"
9
+ spec.version = Creditsafe::VERSION
10
+ spec.authors = ["GoCardless Engineering"]
11
+ spec.email = ["engineering@gocardless.com"]
12
+ spec.summary = "Ruby client for the Creditsafe SOAP API"
13
+ spec.homepage = "https://github.com/gocardless/creditsafe-ruby"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_runtime_dependency "activesupport", "~> 5.2"
21
+ spec.add_runtime_dependency "excon", "~> 0.71"
22
+ spec.add_runtime_dependency "savon", "~> 2.12"
23
+
24
+ spec.add_development_dependency "compare-xml", "~> 0.66"
25
+ spec.add_development_dependency "gc_ruboconfig", "~> 2.3.14"
26
+ spec.add_development_dependency "pry", "~> 0.12.2"
27
+ spec.add_development_dependency "rspec", "~> 3.8"
28
+ spec.add_development_dependency "rspec-its", "~> 1.3"
29
+ spec.add_development_dependency "rspec_junit_formatter", "~> 0.4.1"
30
+ spec.add_development_dependency "rubocop", "~> 0.61.1"
31
+ spec.add_development_dependency "rubocop-rspec", "~> 1.35"
32
+ spec.add_development_dependency "timecop", "~> 0.9.1"
33
+ spec.add_development_dependency "webmock", "~> 3.7.2"
34
+ end
@@ -1,342 +1,342 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <wsdl:definitions name="MainServiceBasic" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:i1="http://www.creditsafe.com/globaldata/operations/administration" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:i0="http://www.creditsafe.com/globaldata/operations" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
3
- <wsp:Policy wsu:Id="BasicHttpBinding_GlobalDataService_policy">
4
- <wsp:ExactlyOne>
5
- <wsp:All>
6
- <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
7
- <wsp:Policy>
8
- <sp:TransportToken>
9
- <wsp:Policy>
10
- <sp:HttpsToken RequireClientCertificate="false" />
11
- </wsp:Policy>
12
- </sp:TransportToken>
13
- <sp:AlgorithmSuite>
14
- <wsp:Policy>
15
- <sp:Basic256 />
16
- </wsp:Policy>
17
- </sp:AlgorithmSuite>
18
- <sp:Layout>
19
- <wsp:Policy>
20
- <sp:Strict />
21
- </wsp:Policy>
22
- </sp:Layout>
23
- </wsp:Policy>
24
- </sp:TransportBinding>
25
- </wsp:All>
26
- </wsp:ExactlyOne>
27
- </wsp:Policy>
28
- <wsp:Policy wsu:Id="BasicHttpBinding_DataInputService_policy">
29
- <wsp:ExactlyOne>
30
- <wsp:All>
31
- <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
32
- <wsp:Policy>
33
- <sp:TransportToken>
34
- <wsp:Policy>
35
- <sp:HttpsToken RequireClientCertificate="false" />
36
- </wsp:Policy>
37
- </sp:TransportToken>
38
- <sp:AlgorithmSuite>
39
- <wsp:Policy>
40
- <sp:Basic256 />
41
- </wsp:Policy>
42
- </sp:AlgorithmSuite>
43
- <sp:Layout>
44
- <wsp:Policy>
45
- <sp:Strict />
46
- </wsp:Policy>
47
- </sp:Layout>
48
- </wsp:Policy>
49
- </sp:TransportBinding>
50
- </wsp:All>
51
- </wsp:ExactlyOne>
52
- </wsp:Policy>
53
- <wsdl:import namespace="http://www.creditsafe.com/globaldata/operations" location="https://webservices.creditsafe.com/GlobalData/1.3/MainServiceBasic.svc/meta?wsdl=wsdl0" />
54
- <wsdl:import namespace="http://www.creditsafe.com/globaldata/operations/administration" location="https://webservices.creditsafe.com/GlobalData/1.3/MainServiceBasic.svc/meta?wsdl=wsdl1" />
55
- <wsdl:types />
56
- <wsdl:binding name="BasicHttpBinding_GlobalDataService" type="i0:GlobalDataService">
57
- <wsp:PolicyReference URI="#BasicHttpBinding_GlobalDataService_policy" />
58
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
59
- <wsdl:operation name="GetPortfolios">
60
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/GetPortfolios" style="document" />
61
- <wsdl:input>
62
- <soap:body use="literal" />
63
- </wsdl:input>
64
- <wsdl:output>
65
- <soap:body use="literal" />
66
- </wsdl:output>
67
- </wsdl:operation>
68
- <wsdl:operation name="ListMonitoredCompanies">
69
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/ListMonitoredCompanies" style="document" />
70
- <wsdl:input>
71
- <soap:body use="literal" />
72
- </wsdl:input>
73
- <wsdl:output>
74
- <soap:body use="literal" />
75
- </wsdl:output>
76
- </wsdl:operation>
77
- <wsdl:operation name="CreatePortfolio">
78
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/CreatePortfolio" style="document" />
79
- <wsdl:input>
80
- <soap:body use="literal" />
81
- </wsdl:input>
82
- <wsdl:output>
83
- <soap:body use="literal" />
84
- </wsdl:output>
85
- </wsdl:operation>
86
- <wsdl:operation name="RemovePortfolios">
87
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/RemovePortfolios" style="document" />
88
- <wsdl:input>
89
- <soap:body use="literal" />
90
- </wsdl:input>
91
- <wsdl:output>
92
- <soap:body use="literal" />
93
- </wsdl:output>
94
- </wsdl:operation>
95
- <wsdl:operation name="GetPortfolioSettings">
96
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/GetPortfolioSettings" style="document" />
97
- <wsdl:input>
98
- <soap:body use="literal" />
99
- </wsdl:input>
100
- <wsdl:output>
101
- <soap:body use="literal" />
102
- </wsdl:output>
103
- </wsdl:operation>
104
- <wsdl:operation name="SetPortfolioSettings">
105
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/SetPortfolioSettings" style="document" />
106
- <wsdl:input>
107
- <soap:body use="literal" />
108
- </wsdl:input>
109
- <wsdl:output>
110
- <soap:body use="literal" />
111
- </wsdl:output>
112
- </wsdl:operation>
113
- <wsdl:operation name="AddCompaniesToPortfolios">
114
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/AddCompaniesToPortfolios" style="document" />
115
- <wsdl:input>
116
- <soap:body use="literal" />
117
- </wsdl:input>
118
- <wsdl:output>
119
- <soap:body use="literal" />
120
- </wsdl:output>
121
- </wsdl:operation>
122
- <wsdl:operation name="ImportCompaniesToPortfolio">
123
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/ImportCompaniesToPortfolio" style="document" />
124
- <wsdl:input>
125
- <soap:body use="literal" />
126
- </wsdl:input>
127
- <wsdl:output>
128
- <soap:body use="literal" />
129
- </wsdl:output>
130
- </wsdl:operation>
131
- <wsdl:operation name="RemoveCompaniesFromPortfolios">
132
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/RemoveCompaniesFromPortfolios" style="document" />
133
- <wsdl:input>
134
- <soap:body use="literal" />
135
- </wsdl:input>
136
- <wsdl:output>
137
- <soap:body use="literal" />
138
- </wsdl:output>
139
- </wsdl:operation>
140
- <wsdl:operation name="ChangeCompaniesReferenceStrings">
141
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/ChangeCompaniesReferenceStrings" style="document" />
142
- <wsdl:input>
143
- <soap:body use="literal" />
144
- </wsdl:input>
145
- <wsdl:output>
146
- <soap:body use="literal" />
147
- </wsdl:output>
148
- </wsdl:operation>
149
- <wsdl:operation name="GetSupportedChangeEvents">
150
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/GetSupportedChangeEvents" style="document" />
151
- <wsdl:input>
152
- <soap:body use="literal" />
153
- </wsdl:input>
154
- <wsdl:output>
155
- <soap:body use="literal" />
156
- </wsdl:output>
157
- </wsdl:operation>
158
- <wsdl:operation name="GetMonitoringRules">
159
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/GetMonitoringRules" style="document" />
160
- <wsdl:input>
161
- <soap:body use="literal" />
162
- </wsdl:input>
163
- <wsdl:output>
164
- <soap:body use="literal" />
165
- </wsdl:output>
166
- </wsdl:operation>
167
- <wsdl:operation name="SetMonitoringRules">
168
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/SetMonitoringRules" style="document" />
169
- <wsdl:input>
170
- <soap:body use="literal" />
171
- </wsdl:input>
172
- <wsdl:output>
173
- <soap:body use="literal" />
174
- </wsdl:output>
175
- </wsdl:operation>
176
- <wsdl:operation name="SetDefaultChangesCheckPeriod">
177
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/SetDefaultChangesCheckPeriod" style="document" />
178
- <wsdl:input>
179
- <soap:body use="literal" />
180
- </wsdl:input>
181
- <wsdl:output>
182
- <soap:body use="literal" />
183
- </wsdl:output>
184
- </wsdl:operation>
185
- <wsdl:operation name="RetrieveCompanyOnlineReport">
186
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/RetrieveCompanyOnlineReport" style="document" />
187
- <wsdl:input>
188
- <soap:body use="literal" />
189
- </wsdl:input>
190
- <wsdl:output>
191
- <soap:body use="literal" />
192
- </wsdl:output>
193
- </wsdl:operation>
194
- <wsdl:operation name="TryRetrieveCompanyOnlineReport">
195
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/TryRetrieveCompanyOnlineReport" style="document" />
196
- <wsdl:input>
197
- <soap:body use="literal" />
198
- </wsdl:input>
199
- <wsdl:output>
200
- <soap:body use="literal" />
201
- </wsdl:output>
202
- </wsdl:operation>
203
- <wsdl:operation name="OrderCompanyOfflineReport">
204
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/OrderCompanyOfflineReport" style="document" />
205
- <wsdl:input>
206
- <soap:body use="literal" />
207
- </wsdl:input>
208
- <wsdl:output>
209
- <soap:body use="literal" />
210
- </wsdl:output>
211
- </wsdl:operation>
212
- <wsdl:operation name="GetReportboxContents">
213
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/GetReportboxContents" style="document" />
214
- <wsdl:input>
215
- <soap:body use="literal" />
216
- </wsdl:input>
217
- <wsdl:output>
218
- <soap:body use="literal" />
219
- </wsdl:output>
220
- </wsdl:operation>
221
- <wsdl:operation name="GetReportboxReports">
222
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/GetReportboxReports" style="document" />
223
- <wsdl:input>
224
- <soap:body use="literal" />
225
- </wsdl:input>
226
- <wsdl:output>
227
- <soap:body use="literal" />
228
- </wsdl:output>
229
- </wsdl:operation>
230
- <wsdl:operation name="RemoveReportboxReports">
231
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/RemoveReportboxReports" style="document" />
232
- <wsdl:input>
233
- <soap:body use="literal" />
234
- </wsdl:input>
235
- <wsdl:output>
236
- <soap:body use="literal" />
237
- </wsdl:output>
238
- </wsdl:operation>
239
- <wsdl:operation name="GetCountries">
240
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/DataBrowsingService/GetCountries" style="document" />
241
- <wsdl:input>
242
- <soap:body use="literal" />
243
- </wsdl:input>
244
- <wsdl:output>
245
- <soap:body use="literal" />
246
- </wsdl:output>
247
- </wsdl:operation>
248
- <wsdl:operation name="GetPossibleSearchCriteria">
249
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/DataBrowsingService/GetPossibleSearchCriteria" style="document" />
250
- <wsdl:input>
251
- <soap:body use="literal" />
252
- </wsdl:input>
253
- <wsdl:output>
254
- <soap:body use="literal" />
255
- </wsdl:output>
256
- </wsdl:operation>
257
- <wsdl:operation name="FindCompanies">
258
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/DataBrowsingService/FindCompanies" style="document" />
259
- <wsdl:input>
260
- <soap:body use="literal" />
261
- </wsdl:input>
262
- <wsdl:output>
263
- <soap:body use="literal" />
264
- </wsdl:output>
265
- </wsdl:operation>
266
- <wsdl:operation name="GetReportCustomDataSchema">
267
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/DataBrowsingService/GetReportCustomDataSchema" style="document" />
268
- <wsdl:input>
269
- <soap:body use="literal" />
270
- </wsdl:input>
271
- <wsdl:output>
272
- <soap:body use="literal" />
273
- </wsdl:output>
274
- </wsdl:operation>
275
- </wsdl:binding>
276
- <wsdl:binding name="BasicHttpBinding_DataInputService" type="i1:DataInputService">
277
- <wsp:PolicyReference URI="#BasicHttpBinding_DataInputService_policy" />
278
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
279
- <wsdl:operation name="DeliverOfflineCompanyReport">
280
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/DeliverOfflineCompanyReport" style="document" />
281
- <wsdl:input>
282
- <soap:body use="literal" />
283
- </wsdl:input>
284
- <wsdl:output>
285
- <soap:body use="literal" />
286
- </wsdl:output>
287
- </wsdl:operation>
288
- <wsdl:operation name="MarkFailedOfflineOrder">
289
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/MarkFailedOfflineOrder" style="document" />
290
- <wsdl:input>
291
- <soap:body use="literal" />
292
- </wsdl:input>
293
- <wsdl:output>
294
- <soap:body use="literal" />
295
- </wsdl:output>
296
- </wsdl:operation>
297
- <wsdl:operation name="ListOfflineOrders">
298
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/ListOfflineOrders" style="document" />
299
- <wsdl:input>
300
- <soap:body use="literal" />
301
- </wsdl:input>
302
- <wsdl:output>
303
- <soap:body use="literal" />
304
- </wsdl:output>
305
- </wsdl:operation>
306
- <wsdl:operation name="ListRealisedOrders">
307
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/ListRealisedOrders" style="document" />
308
- <wsdl:input>
309
- <soap:body use="literal" />
310
- </wsdl:input>
311
- <wsdl:output>
312
- <soap:body use="literal" />
313
- </wsdl:output>
314
- </wsdl:operation>
315
- <wsdl:operation name="GetStoredReport">
316
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/GetStoredReport" style="document" />
317
- <wsdl:input>
318
- <soap:body use="literal" />
319
- </wsdl:input>
320
- <wsdl:output>
321
- <soap:body use="literal" />
322
- </wsdl:output>
323
- </wsdl:operation>
324
- <wsdl:operation name="UpdateStoredReport">
325
- <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/UpdateStoredReport" style="document" />
326
- <wsdl:input>
327
- <soap:body use="literal" />
328
- </wsdl:input>
329
- <wsdl:output>
330
- <soap:body use="literal" />
331
- </wsdl:output>
332
- </wsdl:operation>
333
- </wsdl:binding>
334
- <wsdl:service name="MainServiceBasic">
335
- <wsdl:port name="BasicHttpBinding_GlobalDataService" binding="tns:BasicHttpBinding_GlobalDataService">
336
- <soap:address location="https://webservices.creditsafe.com/GlobalData/1.3/MainServiceBasic.svc" />
337
- </wsdl:port>
338
- <wsdl:port name="BasicHttpBinding_DataInputService" binding="tns:BasicHttpBinding_DataInputService">
339
- <soap:address location="https://webservices.creditsafe.com/GlobalData/1.3/MainServiceBasic.svc/dataInput" />
340
- </wsdl:port>
341
- </wsdl:service>
342
- </wsdl:definitions>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <wsdl:definitions name="MainServiceBasic" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:i1="http://www.creditsafe.com/globaldata/operations/administration" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:i0="http://www.creditsafe.com/globaldata/operations" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
3
+ <wsp:Policy wsu:Id="BasicHttpBinding_GlobalDataService_policy">
4
+ <wsp:ExactlyOne>
5
+ <wsp:All>
6
+ <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
7
+ <wsp:Policy>
8
+ <sp:TransportToken>
9
+ <wsp:Policy>
10
+ <sp:HttpsToken RequireClientCertificate="false" />
11
+ </wsp:Policy>
12
+ </sp:TransportToken>
13
+ <sp:AlgorithmSuite>
14
+ <wsp:Policy>
15
+ <sp:Basic256 />
16
+ </wsp:Policy>
17
+ </sp:AlgorithmSuite>
18
+ <sp:Layout>
19
+ <wsp:Policy>
20
+ <sp:Strict />
21
+ </wsp:Policy>
22
+ </sp:Layout>
23
+ </wsp:Policy>
24
+ </sp:TransportBinding>
25
+ </wsp:All>
26
+ </wsp:ExactlyOne>
27
+ </wsp:Policy>
28
+ <wsp:Policy wsu:Id="BasicHttpBinding_DataInputService_policy">
29
+ <wsp:ExactlyOne>
30
+ <wsp:All>
31
+ <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
32
+ <wsp:Policy>
33
+ <sp:TransportToken>
34
+ <wsp:Policy>
35
+ <sp:HttpsToken RequireClientCertificate="false" />
36
+ </wsp:Policy>
37
+ </sp:TransportToken>
38
+ <sp:AlgorithmSuite>
39
+ <wsp:Policy>
40
+ <sp:Basic256 />
41
+ </wsp:Policy>
42
+ </sp:AlgorithmSuite>
43
+ <sp:Layout>
44
+ <wsp:Policy>
45
+ <sp:Strict />
46
+ </wsp:Policy>
47
+ </sp:Layout>
48
+ </wsp:Policy>
49
+ </sp:TransportBinding>
50
+ </wsp:All>
51
+ </wsp:ExactlyOne>
52
+ </wsp:Policy>
53
+ <wsdl:import namespace="http://www.creditsafe.com/globaldata/operations" location="https://webservices.creditsafe.com/GlobalData/1.3/MainServiceBasic.svc/meta?wsdl=wsdl0" />
54
+ <wsdl:import namespace="http://www.creditsafe.com/globaldata/operations/administration" location="https://webservices.creditsafe.com/GlobalData/1.3/MainServiceBasic.svc/meta?wsdl=wsdl1" />
55
+ <wsdl:types />
56
+ <wsdl:binding name="BasicHttpBinding_GlobalDataService" type="i0:GlobalDataService">
57
+ <wsp:PolicyReference URI="#BasicHttpBinding_GlobalDataService_policy" />
58
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
59
+ <wsdl:operation name="GetPortfolios">
60
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/GetPortfolios" style="document" />
61
+ <wsdl:input>
62
+ <soap:body use="literal" />
63
+ </wsdl:input>
64
+ <wsdl:output>
65
+ <soap:body use="literal" />
66
+ </wsdl:output>
67
+ </wsdl:operation>
68
+ <wsdl:operation name="ListMonitoredCompanies">
69
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/ListMonitoredCompanies" style="document" />
70
+ <wsdl:input>
71
+ <soap:body use="literal" />
72
+ </wsdl:input>
73
+ <wsdl:output>
74
+ <soap:body use="literal" />
75
+ </wsdl:output>
76
+ </wsdl:operation>
77
+ <wsdl:operation name="CreatePortfolio">
78
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/CreatePortfolio" style="document" />
79
+ <wsdl:input>
80
+ <soap:body use="literal" />
81
+ </wsdl:input>
82
+ <wsdl:output>
83
+ <soap:body use="literal" />
84
+ </wsdl:output>
85
+ </wsdl:operation>
86
+ <wsdl:operation name="RemovePortfolios">
87
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/RemovePortfolios" style="document" />
88
+ <wsdl:input>
89
+ <soap:body use="literal" />
90
+ </wsdl:input>
91
+ <wsdl:output>
92
+ <soap:body use="literal" />
93
+ </wsdl:output>
94
+ </wsdl:operation>
95
+ <wsdl:operation name="GetPortfolioSettings">
96
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/GetPortfolioSettings" style="document" />
97
+ <wsdl:input>
98
+ <soap:body use="literal" />
99
+ </wsdl:input>
100
+ <wsdl:output>
101
+ <soap:body use="literal" />
102
+ </wsdl:output>
103
+ </wsdl:operation>
104
+ <wsdl:operation name="SetPortfolioSettings">
105
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/SetPortfolioSettings" style="document" />
106
+ <wsdl:input>
107
+ <soap:body use="literal" />
108
+ </wsdl:input>
109
+ <wsdl:output>
110
+ <soap:body use="literal" />
111
+ </wsdl:output>
112
+ </wsdl:operation>
113
+ <wsdl:operation name="AddCompaniesToPortfolios">
114
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/AddCompaniesToPortfolios" style="document" />
115
+ <wsdl:input>
116
+ <soap:body use="literal" />
117
+ </wsdl:input>
118
+ <wsdl:output>
119
+ <soap:body use="literal" />
120
+ </wsdl:output>
121
+ </wsdl:operation>
122
+ <wsdl:operation name="ImportCompaniesToPortfolio">
123
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/ImportCompaniesToPortfolio" style="document" />
124
+ <wsdl:input>
125
+ <soap:body use="literal" />
126
+ </wsdl:input>
127
+ <wsdl:output>
128
+ <soap:body use="literal" />
129
+ </wsdl:output>
130
+ </wsdl:operation>
131
+ <wsdl:operation name="RemoveCompaniesFromPortfolios">
132
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/RemoveCompaniesFromPortfolios" style="document" />
133
+ <wsdl:input>
134
+ <soap:body use="literal" />
135
+ </wsdl:input>
136
+ <wsdl:output>
137
+ <soap:body use="literal" />
138
+ </wsdl:output>
139
+ </wsdl:operation>
140
+ <wsdl:operation name="ChangeCompaniesReferenceStrings">
141
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/ChangeCompaniesReferenceStrings" style="document" />
142
+ <wsdl:input>
143
+ <soap:body use="literal" />
144
+ </wsdl:input>
145
+ <wsdl:output>
146
+ <soap:body use="literal" />
147
+ </wsdl:output>
148
+ </wsdl:operation>
149
+ <wsdl:operation name="GetSupportedChangeEvents">
150
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/GetSupportedChangeEvents" style="document" />
151
+ <wsdl:input>
152
+ <soap:body use="literal" />
153
+ </wsdl:input>
154
+ <wsdl:output>
155
+ <soap:body use="literal" />
156
+ </wsdl:output>
157
+ </wsdl:operation>
158
+ <wsdl:operation name="GetMonitoringRules">
159
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/GetMonitoringRules" style="document" />
160
+ <wsdl:input>
161
+ <soap:body use="literal" />
162
+ </wsdl:input>
163
+ <wsdl:output>
164
+ <soap:body use="literal" />
165
+ </wsdl:output>
166
+ </wsdl:operation>
167
+ <wsdl:operation name="SetMonitoringRules">
168
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/SetMonitoringRules" style="document" />
169
+ <wsdl:input>
170
+ <soap:body use="literal" />
171
+ </wsdl:input>
172
+ <wsdl:output>
173
+ <soap:body use="literal" />
174
+ </wsdl:output>
175
+ </wsdl:operation>
176
+ <wsdl:operation name="SetDefaultChangesCheckPeriod">
177
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyMonitoringService/SetDefaultChangesCheckPeriod" style="document" />
178
+ <wsdl:input>
179
+ <soap:body use="literal" />
180
+ </wsdl:input>
181
+ <wsdl:output>
182
+ <soap:body use="literal" />
183
+ </wsdl:output>
184
+ </wsdl:operation>
185
+ <wsdl:operation name="RetrieveCompanyOnlineReport">
186
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/RetrieveCompanyOnlineReport" style="document" />
187
+ <wsdl:input>
188
+ <soap:body use="literal" />
189
+ </wsdl:input>
190
+ <wsdl:output>
191
+ <soap:body use="literal" />
192
+ </wsdl:output>
193
+ </wsdl:operation>
194
+ <wsdl:operation name="TryRetrieveCompanyOnlineReport">
195
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/TryRetrieveCompanyOnlineReport" style="document" />
196
+ <wsdl:input>
197
+ <soap:body use="literal" />
198
+ </wsdl:input>
199
+ <wsdl:output>
200
+ <soap:body use="literal" />
201
+ </wsdl:output>
202
+ </wsdl:operation>
203
+ <wsdl:operation name="OrderCompanyOfflineReport">
204
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/OrderCompanyOfflineReport" style="document" />
205
+ <wsdl:input>
206
+ <soap:body use="literal" />
207
+ </wsdl:input>
208
+ <wsdl:output>
209
+ <soap:body use="literal" />
210
+ </wsdl:output>
211
+ </wsdl:operation>
212
+ <wsdl:operation name="GetReportboxContents">
213
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/GetReportboxContents" style="document" />
214
+ <wsdl:input>
215
+ <soap:body use="literal" />
216
+ </wsdl:input>
217
+ <wsdl:output>
218
+ <soap:body use="literal" />
219
+ </wsdl:output>
220
+ </wsdl:operation>
221
+ <wsdl:operation name="GetReportboxReports">
222
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/GetReportboxReports" style="document" />
223
+ <wsdl:input>
224
+ <soap:body use="literal" />
225
+ </wsdl:input>
226
+ <wsdl:output>
227
+ <soap:body use="literal" />
228
+ </wsdl:output>
229
+ </wsdl:operation>
230
+ <wsdl:operation name="RemoveReportboxReports">
231
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/CompanyDataAccessService/RemoveReportboxReports" style="document" />
232
+ <wsdl:input>
233
+ <soap:body use="literal" />
234
+ </wsdl:input>
235
+ <wsdl:output>
236
+ <soap:body use="literal" />
237
+ </wsdl:output>
238
+ </wsdl:operation>
239
+ <wsdl:operation name="GetCountries">
240
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/DataBrowsingService/GetCountries" style="document" />
241
+ <wsdl:input>
242
+ <soap:body use="literal" />
243
+ </wsdl:input>
244
+ <wsdl:output>
245
+ <soap:body use="literal" />
246
+ </wsdl:output>
247
+ </wsdl:operation>
248
+ <wsdl:operation name="GetPossibleSearchCriteria">
249
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/DataBrowsingService/GetPossibleSearchCriteria" style="document" />
250
+ <wsdl:input>
251
+ <soap:body use="literal" />
252
+ </wsdl:input>
253
+ <wsdl:output>
254
+ <soap:body use="literal" />
255
+ </wsdl:output>
256
+ </wsdl:operation>
257
+ <wsdl:operation name="FindCompanies">
258
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/DataBrowsingService/FindCompanies" style="document" />
259
+ <wsdl:input>
260
+ <soap:body use="literal" />
261
+ </wsdl:input>
262
+ <wsdl:output>
263
+ <soap:body use="literal" />
264
+ </wsdl:output>
265
+ </wsdl:operation>
266
+ <wsdl:operation name="GetReportCustomDataSchema">
267
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/DataBrowsingService/GetReportCustomDataSchema" style="document" />
268
+ <wsdl:input>
269
+ <soap:body use="literal" />
270
+ </wsdl:input>
271
+ <wsdl:output>
272
+ <soap:body use="literal" />
273
+ </wsdl:output>
274
+ </wsdl:operation>
275
+ </wsdl:binding>
276
+ <wsdl:binding name="BasicHttpBinding_DataInputService" type="i1:DataInputService">
277
+ <wsp:PolicyReference URI="#BasicHttpBinding_DataInputService_policy" />
278
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
279
+ <wsdl:operation name="DeliverOfflineCompanyReport">
280
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/DeliverOfflineCompanyReport" style="document" />
281
+ <wsdl:input>
282
+ <soap:body use="literal" />
283
+ </wsdl:input>
284
+ <wsdl:output>
285
+ <soap:body use="literal" />
286
+ </wsdl:output>
287
+ </wsdl:operation>
288
+ <wsdl:operation name="MarkFailedOfflineOrder">
289
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/MarkFailedOfflineOrder" style="document" />
290
+ <wsdl:input>
291
+ <soap:body use="literal" />
292
+ </wsdl:input>
293
+ <wsdl:output>
294
+ <soap:body use="literal" />
295
+ </wsdl:output>
296
+ </wsdl:operation>
297
+ <wsdl:operation name="ListOfflineOrders">
298
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/ListOfflineOrders" style="document" />
299
+ <wsdl:input>
300
+ <soap:body use="literal" />
301
+ </wsdl:input>
302
+ <wsdl:output>
303
+ <soap:body use="literal" />
304
+ </wsdl:output>
305
+ </wsdl:operation>
306
+ <wsdl:operation name="ListRealisedOrders">
307
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/ListRealisedOrders" style="document" />
308
+ <wsdl:input>
309
+ <soap:body use="literal" />
310
+ </wsdl:input>
311
+ <wsdl:output>
312
+ <soap:body use="literal" />
313
+ </wsdl:output>
314
+ </wsdl:operation>
315
+ <wsdl:operation name="GetStoredReport">
316
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/GetStoredReport" style="document" />
317
+ <wsdl:input>
318
+ <soap:body use="literal" />
319
+ </wsdl:input>
320
+ <wsdl:output>
321
+ <soap:body use="literal" />
322
+ </wsdl:output>
323
+ </wsdl:operation>
324
+ <wsdl:operation name="UpdateStoredReport">
325
+ <soap:operation soapAction="http://www.creditsafe.com/globaldata/operations/administration/DataInputService/UpdateStoredReport" style="document" />
326
+ <wsdl:input>
327
+ <soap:body use="literal" />
328
+ </wsdl:input>
329
+ <wsdl:output>
330
+ <soap:body use="literal" />
331
+ </wsdl:output>
332
+ </wsdl:operation>
333
+ </wsdl:binding>
334
+ <wsdl:service name="MainServiceBasic">
335
+ <wsdl:port name="BasicHttpBinding_GlobalDataService" binding="tns:BasicHttpBinding_GlobalDataService">
336
+ <soap:address location="https://webservices.creditsafe.com/GlobalData/1.3/MainServiceBasic.svc" />
337
+ </wsdl:port>
338
+ <wsdl:port name="BasicHttpBinding_DataInputService" binding="tns:BasicHttpBinding_DataInputService">
339
+ <soap:address location="https://webservices.creditsafe.com/GlobalData/1.3/MainServiceBasic.svc/dataInput" />
340
+ </wsdl:port>
341
+ </wsdl:service>
342
+ </wsdl:definitions>