nbrb-api 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bbf033f8b9d3956faff0ad0d7b7f032c1b00dfca
4
+ data.tar.gz: 821376f6e69539084db943117d73b3300dfd9ebd
5
+ SHA512:
6
+ metadata.gz: 8ec766f7139e04a4333df8568edafb270d08e7c882ca72b5d379efd0653e01975ee247baa50a6e78eb4488c6dcce336fa4da506a25d07d4120a148f33f799e36
7
+ data.tar.gz: 625153734db314d1e51362f06c7ca3b1273a2d4ae3ec55bbd6cd352ff15197c15b10d39436fdef65ab997ae5bb197a4b1864f52e4b735ae8cfa923b0e204f6ca
data/.gitignore ADDED
@@ -0,0 +1,19 @@
1
+ .gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ .idea
19
+ *.gem
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in nbrb-api.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Pavel Shutin
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # Nbrb::Api
2
+
3
+ The gem is not complete! Only daily exchange rates methods are available
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'nbrb-api'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install nbrb-api
18
+
19
+ ## Usage
20
+
21
+ ```ruby
22
+ Nbrb::Api.daily_rates
23
+ # =>
24
+ {
25
+ "USD"=> {
26
+ :cur_quot_name=>"1 доллар США",
27
+ :cur_scale=>"1",
28
+ :cur_official_rate=>"17683.00",
29
+ :cur_code=>"840",
30
+ :cur_abbreviation=>"USD"
31
+ },
32
+ "DKK"=> {
33
+ :cur_quot_name=>"1 датская крона",
34
+ :cur_scale=>"1",
35
+ :cur_official_rate=>"2641.72",
36
+ :cur_code=>"208",
37
+ :cur_abbreviation=>"DKK"
38
+ },
39
+ ...
40
+ }
41
+ ```
42
+
43
+ ## Contributing
44
+
45
+ 1. Fork it
46
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
47
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
48
+ 4. Push to the branch (`git push origin my-new-feature`)
49
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/lib/nbrb-api.rb ADDED
@@ -0,0 +1,21 @@
1
+ require "nbrb-api/version"
2
+ require "nbrb-api/currencies"
3
+ require "nbrb-api/exceptions"
4
+ require 'savon'
5
+
6
+ module Nbrb
7
+ module Api
8
+ WSDL = "http://www.nbrb.by/Services/ExRates.asmx?WSDL".freeze
9
+ extend Currencies
10
+
11
+ def self.call(operation, params = {})
12
+ client.call(operation, params)
13
+ rescue Savon::UnknownOperationError => e
14
+ raise Nbrb::Api::OperationNotFound, "NBRB operation #{operation} was not found"
15
+ end
16
+
17
+ def self.client
18
+ @client ||= Savon.client(wsdl: WSDL, log: false)
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,27 @@
1
+ module Nbrb
2
+ module Api
3
+ module Currencies
4
+ def daily_rates(date = Date.today)
5
+ response = call(:ex_rates_daily, message: {on_date: date.to_date})
6
+ rates = response.find(*%w{Body ExRatesDailyResponse ExRatesDailyResult diffgram new_data_set daily_ex_rates_on_date})
7
+
8
+ if rates.nil?
9
+ raise Nbrb::Api::GeneralError, "No exchange rates found for operation #{:ex_rates_daily}"
10
+ end
11
+
12
+ result = {}
13
+ [rates].flatten.each do |rate|
14
+ result[rate[:cur_abbreviation]] = cleanup_rate_row(rate)
15
+ end
16
+ result
17
+ end
18
+
19
+ def cleanup_rate_row(row)
20
+ row.each do |key, value|
21
+ row.delete(key) if key.to_s[0] == '@'
22
+ end
23
+ row
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,6 @@
1
+ module Nbrb
2
+ module Api
3
+ class GeneralError < StandardError; end
4
+ class OperationNotFound < GeneralError; end
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module Nbrb
2
+ module Api
3
+ VERSION = "0.0.2"
4
+ end
5
+ end
data/nbrb-api.gemspec ADDED
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'nbrb-api/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "nbrb-api"
8
+ gem.version = Nbrb::Api::VERSION
9
+ gem.authors = ["Pavel Shutin"]
10
+ gem.email = ["publicshady@gmail.com"]
11
+ gem.description = %q{This gem provides convenient way to interact with web API of National Bank of the Republic Belarus. }
12
+ gem.summary = %q{Ruby wrapper for National Bank of the Republic Belarus web service API}
13
+ gem.homepage = ""
14
+
15
+ gem.add_dependency 'savon'
16
+
17
+ gem.add_development_dependency 'rspec', '>= 2.14.1'
18
+ gem.add_development_dependency 'webmock'
19
+ gem.add_development_dependency 'pry'
20
+
21
+ gem.files = `git ls-files`.split($/)
22
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
23
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
24
+ gem.require_paths = ["lib"]
25
+ end
@@ -0,0 +1,46 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
5
+ <soap:Body>
6
+ <ExRatesDailyResponse xmlns="http://www.nbrb.by/">
7
+ <ExRatesDailyResult>
8
+ <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema"
9
+ xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
10
+ xmlns:msprop="urn:schemas-microsoft-com:xml-msprop">
11
+ <xs:element name="NewDataSet" msdata:IsDataSet="true"
12
+ msdata:UseCurrentLocale="true" msprop:onDate="08/03/2013 00:00:00">
13
+ <xs:complexType>
14
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
15
+ <xs:element name="DailyExRatesOnDate">
16
+ <xs:complexType>
17
+ <xs:sequence>
18
+ <xs:element name="Cur_QuotName" type="xs:string" minOccurs="0"/>
19
+ <xs:element name="Cur_Scale" type="xs:int" minOccurs="0"/>
20
+ <xs:element name="Cur_OfficialRate" type="xs:decimal"
21
+ minOccurs="0"/>
22
+ <xs:element name="Cur_Code" type="xs:string" minOccurs="0"/>
23
+ <xs:element name="Cur_Abbreviation" type="xs:string" minOccurs="0"/>
24
+ </xs:sequence>
25
+ </xs:complexType>
26
+ </xs:element>
27
+ </xs:choice>
28
+ </xs:complexType>
29
+ </xs:element>
30
+ </xs:schema>
31
+ <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
32
+ xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
33
+ <NewDataSet xmlns="">
34
+ <DailyExRatesOnDate diffgr:id="DailyExRatesOnDate1" msdata:rowOrder="0">
35
+ <Cur_QuotName>1 австралийский доллар</Cur_QuotName>
36
+ <Cur_Scale>10</Cur_Scale>
37
+ <Cur_OfficialRate>42.42</Cur_OfficialRate>
38
+ <Cur_Code>036</Cur_Code>
39
+ <Cur_Abbreviation>AUD</Cur_Abbreviation>
40
+ </DailyExRatesOnDate>
41
+ </NewDataSet>
42
+ </diffgr:diffgram>
43
+ </ExRatesDailyResult>
44
+ </ExRatesDailyResponse>
45
+ </soap:Body>
46
+ </soap:Envelope>
@@ -0,0 +1,46 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
5
+ <soap:Body>
6
+ <ExRatesDailyResponse xmlns="http://www.nbrb.by/">
7
+ <ExRatesDailyResult>
8
+ <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema"
9
+ xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
10
+ xmlns:msprop="urn:schemas-microsoft-com:xml-msprop">
11
+ <xs:element name="NewDataSet" msdata:IsDataSet="true"
12
+ msdata:UseCurrentLocale="true" msprop:onDate="08/03/2013 00:00:00">
13
+ <xs:complexType>
14
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
15
+ <xs:element name="DailyExRatesOnDate">
16
+ <xs:complexType>
17
+ <xs:sequence>
18
+ <xs:element name="Cur_QuotName" type="xs:string" minOccurs="0"/>
19
+ <xs:element name="Cur_Scale" type="xs:int" minOccurs="0"/>
20
+ <xs:element name="Cur_OfficialRate" type="xs:decimal"
21
+ minOccurs="0"/>
22
+ <xs:element name="Cur_Code" type="xs:string" minOccurs="0"/>
23
+ <xs:element name="Cur_Abbreviation" type="xs:string" minOccurs="0"/>
24
+ </xs:sequence>
25
+ </xs:complexType>
26
+ </xs:element>
27
+ </xs:choice>
28
+ </xs:complexType>
29
+ </xs:element>
30
+ </xs:schema>
31
+ <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
32
+ xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
33
+ <NewDataSet xmlns="">
34
+ <DailyExRatesOnDate diffgr:id="DailyExRatesOnDate1" msdata:rowOrder="0">
35
+ <Cur_QuotName>1 австралийский доллар</Cur_QuotName>
36
+ <Cur_Scale>1</Cur_Scale>
37
+ <Cur_OfficialRate>42.42</Cur_OfficialRate>
38
+ <Cur_Code>036</Cur_Code>
39
+ <Cur_Abbreviation>AUD</Cur_Abbreviation>
40
+ </DailyExRatesOnDate>
41
+ </NewDataSet>
42
+ </diffgr:diffgram>
43
+ </ExRatesDailyResult>
44
+ </ExRatesDailyResponse>
45
+ </soap:Body>
46
+ </soap:Envelope>
@@ -0,0 +1,929 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema"
3
+ xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
4
+ xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
5
+ xmlns:tns="http://www.nbrb.by/"
6
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
7
+ xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
8
+ xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
9
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
10
+ targetNamespace="http://www.nbrb.by/"
11
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
12
+ <wsdl:types>
13
+ <s:schema elementFormDefault="qualified" targetNamespace="http://www.nbrb.by/">
14
+ <s:element name="TestCall">
15
+ <s:complexType/>
16
+ </s:element>
17
+ <s:element name="TestCallResponse">
18
+ <s:complexType/>
19
+ </s:element>
20
+ <s:element name="CurrenciesRefDaily">
21
+ <s:complexType/>
22
+ </s:element>
23
+ <s:element name="CurrenciesRefDailyResponse">
24
+ <s:complexType>
25
+ <s:sequence>
26
+ <s:element minOccurs="0" maxOccurs="1" name="CurrenciesRefDailyResult">
27
+ <s:complexType>
28
+ <s:sequence>
29
+ <s:element ref="s:schema"/>
30
+ <s:any/>
31
+ </s:sequence>
32
+ </s:complexType>
33
+ </s:element>
34
+ </s:sequence>
35
+ </s:complexType>
36
+ </s:element>
37
+ <s:element name="CurrenciesRefMonthly">
38
+ <s:complexType/>
39
+ </s:element>
40
+ <s:element name="CurrenciesRefMonthlyResponse">
41
+ <s:complexType>
42
+ <s:sequence>
43
+ <s:element minOccurs="0" maxOccurs="1" name="CurrenciesRefMonthlyResult">
44
+ <s:complexType>
45
+ <s:sequence>
46
+ <s:element ref="s:schema"/>
47
+ <s:any/>
48
+ </s:sequence>
49
+ </s:complexType>
50
+ </s:element>
51
+ </s:sequence>
52
+ </s:complexType>
53
+ </s:element>
54
+ <s:element name="StartDate">
55
+ <s:complexType>
56
+ <s:sequence>
57
+ <s:element minOccurs="1" maxOccurs="1" name="Periodicity" type="s:int"/>
58
+ </s:sequence>
59
+ </s:complexType>
60
+ </s:element>
61
+ <s:element name="StartDateResponse">
62
+ <s:complexType>
63
+ <s:sequence>
64
+ <s:element minOccurs="1" maxOccurs="1" name="StartDateResult"
65
+ type="s:dateTime"/>
66
+ </s:sequence>
67
+ </s:complexType>
68
+ </s:element>
69
+ <s:element name="LastDailyExRatesDate">
70
+ <s:complexType/>
71
+ </s:element>
72
+ <s:element name="LastDailyExRatesDateResponse">
73
+ <s:complexType>
74
+ <s:sequence>
75
+ <s:element minOccurs="1" maxOccurs="1" name="LastDailyExRatesDateResult"
76
+ type="s:dateTime"/>
77
+ </s:sequence>
78
+ </s:complexType>
79
+ </s:element>
80
+ <s:element name="LastMonthlyExRatesDate">
81
+ <s:complexType/>
82
+ </s:element>
83
+ <s:element name="LastMonthlyExRatesDateResponse">
84
+ <s:complexType>
85
+ <s:sequence>
86
+ <s:element minOccurs="1" maxOccurs="1" name="LastMonthlyExRatesDateResult"
87
+ type="s:dateTime"/>
88
+ </s:sequence>
89
+ </s:complexType>
90
+ </s:element>
91
+ <s:element name="ExRatesDaily">
92
+ <s:complexType>
93
+ <s:sequence>
94
+ <s:element minOccurs="1" maxOccurs="1" name="onDate" type="s:dateTime"/>
95
+ </s:sequence>
96
+ </s:complexType>
97
+ </s:element>
98
+ <s:element name="ExRatesDailyResponse">
99
+ <s:complexType>
100
+ <s:sequence>
101
+ <s:element minOccurs="0" maxOccurs="1" name="ExRatesDailyResult">
102
+ <s:complexType>
103
+ <s:sequence>
104
+ <s:element ref="s:schema"/>
105
+ <s:any/>
106
+ </s:sequence>
107
+ </s:complexType>
108
+ </s:element>
109
+ </s:sequence>
110
+ </s:complexType>
111
+ </s:element>
112
+ <s:element name="ExRatesMonthly">
113
+ <s:complexType>
114
+ <s:sequence>
115
+ <s:element minOccurs="1" maxOccurs="1" name="onDate" type="s:dateTime"/>
116
+ </s:sequence>
117
+ </s:complexType>
118
+ </s:element>
119
+ <s:element name="ExRatesMonthlyResponse">
120
+ <s:complexType>
121
+ <s:sequence>
122
+ <s:element minOccurs="0" maxOccurs="1" name="ExRatesMonthlyResult">
123
+ <s:complexType>
124
+ <s:sequence>
125
+ <s:element ref="s:schema"/>
126
+ <s:any/>
127
+ </s:sequence>
128
+ </s:complexType>
129
+ </s:element>
130
+ </s:sequence>
131
+ </s:complexType>
132
+ </s:element>
133
+ <s:element name="ExRatesDyn">
134
+ <s:complexType>
135
+ <s:sequence>
136
+ <s:element minOccurs="1" maxOccurs="1" name="curId" type="s:int"/>
137
+ <s:element minOccurs="1" maxOccurs="1" name="fromDate" type="s:dateTime"/>
138
+ <s:element minOccurs="1" maxOccurs="1" name="toDate" type="s:dateTime"/>
139
+ </s:sequence>
140
+ </s:complexType>
141
+ </s:element>
142
+ <s:element name="ExRatesDynResponse">
143
+ <s:complexType>
144
+ <s:sequence>
145
+ <s:element minOccurs="0" maxOccurs="1" name="ExRatesDynResult">
146
+ <s:complexType>
147
+ <s:sequence>
148
+ <s:element ref="s:schema"/>
149
+ <s:any/>
150
+ </s:sequence>
151
+ </s:complexType>
152
+ </s:element>
153
+ </s:sequence>
154
+ </s:complexType>
155
+ </s:element>
156
+ <s:element name="CurrenciesRef">
157
+ <s:complexType>
158
+ <s:sequence>
159
+ <s:element minOccurs="1" maxOccurs="1" name="Periodicity" type="s:int"/>
160
+ </s:sequence>
161
+ </s:complexType>
162
+ </s:element>
163
+ <s:element name="CurrenciesRefResponse">
164
+ <s:complexType>
165
+ <s:sequence>
166
+ <s:element minOccurs="0" maxOccurs="1" name="CurrenciesRefResult">
167
+ <s:complexType>
168
+ <s:sequence>
169
+ <s:element ref="s:schema"/>
170
+ <s:any/>
171
+ </s:sequence>
172
+ </s:complexType>
173
+ </s:element>
174
+ </s:sequence>
175
+ </s:complexType>
176
+ </s:element>
177
+ <s:element name="MetalsLastDate">
178
+ <s:complexType/>
179
+ </s:element>
180
+ <s:element name="MetalsLastDateResponse">
181
+ <s:complexType>
182
+ <s:sequence>
183
+ <s:element minOccurs="1" maxOccurs="1" name="MetalsLastDateResult"
184
+ type="s:dateTime"/>
185
+ </s:sequence>
186
+ </s:complexType>
187
+ </s:element>
188
+ <s:element name="MetalsRef">
189
+ <s:complexType/>
190
+ </s:element>
191
+ <s:element name="MetalsRefResponse">
192
+ <s:complexType>
193
+ <s:sequence>
194
+ <s:element minOccurs="0" maxOccurs="1" name="MetalsRefResult">
195
+ <s:complexType>
196
+ <s:sequence>
197
+ <s:element ref="s:schema"/>
198
+ <s:any/>
199
+ </s:sequence>
200
+ </s:complexType>
201
+ </s:element>
202
+ </s:sequence>
203
+ </s:complexType>
204
+ </s:element>
205
+ <s:element name="MetalsPrices">
206
+ <s:complexType>
207
+ <s:sequence>
208
+ <s:element minOccurs="1" maxOccurs="1" name="MetalId" type="s:int"/>
209
+ <s:element minOccurs="1" maxOccurs="1" name="fromDate" type="s:dateTime"/>
210
+ <s:element minOccurs="1" maxOccurs="1" name="toDate" type="s:dateTime"/>
211
+ </s:sequence>
212
+ </s:complexType>
213
+ </s:element>
214
+ <s:element name="MetalsPricesResponse">
215
+ <s:complexType>
216
+ <s:sequence>
217
+ <s:element minOccurs="0" maxOccurs="1" name="MetalsPricesResult">
218
+ <s:complexType>
219
+ <s:sequence>
220
+ <s:element ref="s:schema"/>
221
+ <s:any/>
222
+ </s:sequence>
223
+ </s:complexType>
224
+ </s:element>
225
+ </s:sequence>
226
+ </s:complexType>
227
+ </s:element>
228
+ <s:element name="IngotsPrices">
229
+ <s:complexType>
230
+ <s:sequence>
231
+ <s:element minOccurs="1" maxOccurs="1" name="onDate" type="s:dateTime"/>
232
+ </s:sequence>
233
+ </s:complexType>
234
+ </s:element>
235
+ <s:element name="IngotsPricesResponse">
236
+ <s:complexType>
237
+ <s:sequence>
238
+ <s:element minOccurs="0" maxOccurs="1" name="IngotsPricesResult">
239
+ <s:complexType>
240
+ <s:sequence>
241
+ <s:element ref="s:schema"/>
242
+ <s:any/>
243
+ </s:sequence>
244
+ </s:complexType>
245
+ </s:element>
246
+ </s:sequence>
247
+ </s:complexType>
248
+ </s:element>
249
+ <s:element name="IngotsLastDate">
250
+ <s:complexType/>
251
+ </s:element>
252
+ <s:element name="IngotsLastDateResponse">
253
+ <s:complexType>
254
+ <s:sequence>
255
+ <s:element minOccurs="1" maxOccurs="1" name="IngotsLastDateResult"
256
+ type="s:dateTime"/>
257
+ </s:sequence>
258
+ </s:complexType>
259
+ </s:element>
260
+ <s:element name="StockAddRates">
261
+ <s:complexType>
262
+ <s:sequence>
263
+ <s:element minOccurs="1" maxOccurs="1" name="onDate" type="s:dateTime"/>
264
+ </s:sequence>
265
+ </s:complexType>
266
+ </s:element>
267
+ <s:element name="StockAddRatesResponse">
268
+ <s:complexType>
269
+ <s:sequence>
270
+ <s:element minOccurs="0" maxOccurs="1" name="StockAddRatesResult">
271
+ <s:complexType>
272
+ <s:sequence>
273
+ <s:element ref="s:schema"/>
274
+ <s:any/>
275
+ </s:sequence>
276
+ </s:complexType>
277
+ </s:element>
278
+ </s:sequence>
279
+ </s:complexType>
280
+ </s:element>
281
+ <s:element name="StockAddRatesLastDate">
282
+ <s:complexType/>
283
+ </s:element>
284
+ <s:element name="StockAddRatesLastDateResponse">
285
+ <s:complexType>
286
+ <s:sequence>
287
+ <s:element minOccurs="1" maxOccurs="1" name="StockAddRatesLastDateResult"
288
+ type="s:dateTime"/>
289
+ </s:sequence>
290
+ </s:complexType>
291
+ </s:element>
292
+ <s:element name="RefRateOnDate">
293
+ <s:complexType>
294
+ <s:sequence>
295
+ <s:element minOccurs="1" maxOccurs="1" name="onDate" type="s:dateTime"/>
296
+ </s:sequence>
297
+ </s:complexType>
298
+ </s:element>
299
+ <s:element name="RefRateOnDateResponse">
300
+ <s:complexType>
301
+ <s:sequence>
302
+ <s:element minOccurs="0" maxOccurs="1" name="RefRateOnDateResult">
303
+ <s:complexType>
304
+ <s:sequence>
305
+ <s:element ref="s:schema"/>
306
+ <s:any/>
307
+ </s:sequence>
308
+ </s:complexType>
309
+ </s:element>
310
+ </s:sequence>
311
+ </s:complexType>
312
+ </s:element>
313
+ <s:element name="RefRateDyn">
314
+ <s:complexType/>
315
+ </s:element>
316
+ <s:element name="RefRateDynResponse">
317
+ <s:complexType>
318
+ <s:sequence>
319
+ <s:element minOccurs="0" maxOccurs="1" name="RefRateDynResult">
320
+ <s:complexType>
321
+ <s:sequence>
322
+ <s:element ref="s:schema"/>
323
+ <s:any/>
324
+ </s:sequence>
325
+ </s:complexType>
326
+ </s:element>
327
+ </s:sequence>
328
+ </s:complexType>
329
+ </s:element>
330
+ </s:schema>
331
+ </wsdl:types>
332
+ <wsdl:message name="CurrenciesRefDailySoapIn">
333
+ <wsdl:part name="parameters" element="tns:CurrenciesRefDaily"/>
334
+ </wsdl:message>
335
+ <wsdl:message name="CurrenciesRefDailySoapOut">
336
+ <wsdl:part name="parameters" element="tns:CurrenciesRefDailyResponse"/>
337
+ </wsdl:message>
338
+ <wsdl:message name="CurrenciesRefMonthlySoapIn">
339
+ <wsdl:part name="parameters" element="tns:CurrenciesRefMonthly"/>
340
+ </wsdl:message>
341
+ <wsdl:message name="CurrenciesRefMonthlySoapOut">
342
+ <wsdl:part name="parameters" element="tns:CurrenciesRefMonthlyResponse"/>
343
+ </wsdl:message>
344
+ <wsdl:message name="StartDateSoapIn">
345
+ <wsdl:part name="parameters" element="tns:StartDate"/>
346
+ </wsdl:message>
347
+ <wsdl:message name="StartDateSoapOut">
348
+ <wsdl:part name="parameters" element="tns:StartDateResponse"/>
349
+ </wsdl:message>
350
+ <wsdl:message name="LastDailyExRatesDateSoapIn">
351
+ <wsdl:part name="parameters" element="tns:LastDailyExRatesDate"/>
352
+ </wsdl:message>
353
+ <wsdl:message name="LastDailyExRatesDateSoapOut">
354
+ <wsdl:part name="parameters" element="tns:LastDailyExRatesDateResponse"/>
355
+ </wsdl:message>
356
+ <wsdl:message name="LastMonthlyExRatesDateSoapIn">
357
+ <wsdl:part name="parameters" element="tns:LastMonthlyExRatesDate"/>
358
+ </wsdl:message>
359
+ <wsdl:message name="LastMonthlyExRatesDateSoapOut">
360
+ <wsdl:part name="parameters" element="tns:LastMonthlyExRatesDateResponse"/>
361
+ </wsdl:message>
362
+ <wsdl:message name="ExRatesDailySoapIn">
363
+ <wsdl:part name="parameters" element="tns:ExRatesDaily"/>
364
+ </wsdl:message>
365
+ <wsdl:message name="ExRatesDailySoapOut">
366
+ <wsdl:part name="parameters" element="tns:ExRatesDailyResponse"/>
367
+ </wsdl:message>
368
+ <wsdl:message name="ExRatesMonthlySoapIn">
369
+ <wsdl:part name="parameters" element="tns:ExRatesMonthly"/>
370
+ </wsdl:message>
371
+ <wsdl:message name="ExRatesMonthlySoapOut">
372
+ <wsdl:part name="parameters" element="tns:ExRatesMonthlyResponse"/>
373
+ </wsdl:message>
374
+ <wsdl:message name="ExRatesDynSoapIn">
375
+ <wsdl:part name="parameters" element="tns:ExRatesDyn"/>
376
+ </wsdl:message>
377
+ <wsdl:message name="ExRatesDynSoapOut">
378
+ <wsdl:part name="parameters" element="tns:ExRatesDynResponse"/>
379
+ </wsdl:message>
380
+ <wsdl:message name="CurrenciesRefSoapIn">
381
+ <wsdl:part name="parameters" element="tns:CurrenciesRef"/>
382
+ </wsdl:message>
383
+ <wsdl:message name="CurrenciesRefSoapOut">
384
+ <wsdl:part name="parameters" element="tns:CurrenciesRefResponse"/>
385
+ </wsdl:message>
386
+ <wsdl:message name="MetalsLastDateSoapIn">
387
+ <wsdl:part name="parameters" element="tns:MetalsLastDate"/>
388
+ </wsdl:message>
389
+ <wsdl:message name="MetalsLastDateSoapOut">
390
+ <wsdl:part name="parameters" element="tns:MetalsLastDateResponse"/>
391
+ </wsdl:message>
392
+ <wsdl:message name="MetalsRefSoapIn">
393
+ <wsdl:part name="parameters" element="tns:MetalsRef"/>
394
+ </wsdl:message>
395
+ <wsdl:message name="MetalsRefSoapOut">
396
+ <wsdl:part name="parameters" element="tns:MetalsRefResponse"/>
397
+ </wsdl:message>
398
+ <wsdl:message name="MetalsPricesSoapIn">
399
+ <wsdl:part name="parameters" element="tns:MetalsPrices"/>
400
+ </wsdl:message>
401
+ <wsdl:message name="MetalsPricesSoapOut">
402
+ <wsdl:part name="parameters" element="tns:MetalsPricesResponse"/>
403
+ </wsdl:message>
404
+ <wsdl:message name="IngotsPricesSoapIn">
405
+ <wsdl:part name="parameters" element="tns:IngotsPrices"/>
406
+ </wsdl:message>
407
+ <wsdl:message name="IngotsPricesSoapOut">
408
+ <wsdl:part name="parameters" element="tns:IngotsPricesResponse"/>
409
+ </wsdl:message>
410
+ <wsdl:message name="IngotsLastDateSoapIn">
411
+ <wsdl:part name="parameters" element="tns:IngotsLastDate"/>
412
+ </wsdl:message>
413
+ <wsdl:message name="IngotsLastDateSoapOut">
414
+ <wsdl:part name="parameters" element="tns:IngotsLastDateResponse"/>
415
+ </wsdl:message>
416
+ <wsdl:message name="StockAddRatesSoapIn">
417
+ <wsdl:part name="parameters" element="tns:StockAddRates"/>
418
+ </wsdl:message>
419
+ <wsdl:message name="StockAddRatesSoapOut">
420
+ <wsdl:part name="parameters" element="tns:StockAddRatesResponse"/>
421
+ </wsdl:message>
422
+ <wsdl:message name="StockAddRatesLastDateSoapIn">
423
+ <wsdl:part name="parameters" element="tns:StockAddRatesLastDate"/>
424
+ </wsdl:message>
425
+ <wsdl:message name="StockAddRatesLastDateSoapOut">
426
+ <wsdl:part name="parameters" element="tns:StockAddRatesLastDateResponse"/>
427
+ </wsdl:message>
428
+ <wsdl:message name="RefRateOnDateSoapIn">
429
+ <wsdl:part name="parameters" element="tns:RefRateOnDate"/>
430
+ </wsdl:message>
431
+ <wsdl:message name="RefRateOnDateSoapOut">
432
+ <wsdl:part name="parameters" element="tns:RefRateOnDateResponse"/>
433
+ </wsdl:message>
434
+ <wsdl:message name="RefRateDynSoapIn">
435
+ <wsdl:part name="parameters" element="tns:RefRateDyn"/>
436
+ </wsdl:message>
437
+ <wsdl:message name="RefRateDynSoapOut">
438
+ <wsdl:part name="parameters" element="tns:RefRateDynResponse"/>
439
+ </wsdl:message>
440
+ <wsdl:portType name="ExRatesSoap">
441
+ <wsdl:operation name="CurrenciesRefDaily">
442
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;span
443
+ style="color:red"&gt;Устаревший метод. Будет поддерживаться до конца 2011 года&lt;/span&gt;</wsdl:documentation>
444
+ <wsdl:input message="tns:CurrenciesRefDailySoapIn"/>
445
+ <wsdl:output message="tns:CurrenciesRefDailySoapOut"/>
446
+ </wsdl:operation>
447
+ <wsdl:operation name="CurrenciesRefMonthly">
448
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;span
449
+ style="color:red"&gt;Устаревший метод. Будет поддерживаться до конца 2011 года&lt;/span&gt;</wsdl:documentation>
450
+ <wsdl:input message="tns:CurrenciesRefMonthlySoapIn"/>
451
+ <wsdl:output message="tns:CurrenciesRefMonthlySoapOut"/>
452
+ </wsdl:operation>
453
+ <wsdl:operation name="StartDate">
454
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Начальная дата
455
+ установления Национальным банком Республики Беларусь официального курса
456
+ белорусского рубля по отношению к иностранным валютам
457
+ </wsdl:documentation>
458
+ <wsdl:input message="tns:StartDateSoapIn"/>
459
+ <wsdl:output message="tns:StartDateSoapOut"/>
460
+ </wsdl:operation>
461
+ <wsdl:operation name="LastDailyExRatesDate">
462
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Последняя дата
463
+ установления Национальным банком Республики Беларусь официального курса
464
+ белорусского рубля по отношению к иностранным валютам на ежедневной основе
465
+ </wsdl:documentation>
466
+ <wsdl:input message="tns:LastDailyExRatesDateSoapIn"/>
467
+ <wsdl:output message="tns:LastDailyExRatesDateSoapOut"/>
468
+ </wsdl:operation>
469
+ <wsdl:operation name="LastMonthlyExRatesDate">
470
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Последняя дата
471
+ установления Национальным банком Республики Беларусь официального курса
472
+ белорусского рубля по отношению к иностранным валютам на ежемесячной основе
473
+ </wsdl:documentation>
474
+ <wsdl:input message="tns:LastMonthlyExRatesDateSoapIn"/>
475
+ <wsdl:output message="tns:LastMonthlyExRatesDateSoapOut"/>
476
+ </wsdl:operation>
477
+ <wsdl:operation name="ExRatesDaily">
478
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Официальный курс
479
+ белорусского рубля по отношению к иностранным валютам, устанавливаемый
480
+ Национальным банком Республики Беларусь ежедневно, а также до 17.02.1997 г.
481
+ </wsdl:documentation>
482
+ <wsdl:input message="tns:ExRatesDailySoapIn"/>
483
+ <wsdl:output message="tns:ExRatesDailySoapOut"/>
484
+ </wsdl:operation>
485
+ <wsdl:operation name="ExRatesMonthly">
486
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Официальный курс
487
+ белорусского рубля по отношению к иностранным валютам, устанавливаемый
488
+ Национальным банком Республики Беларусь ежемесячно
489
+ </wsdl:documentation>
490
+ <wsdl:input message="tns:ExRatesMonthlySoapIn"/>
491
+ <wsdl:output message="tns:ExRatesMonthlySoapOut"/>
492
+ </wsdl:operation>
493
+ <wsdl:operation name="ExRatesDyn">
494
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Динамика
495
+ официального курса белорусского рубля по отношению к заданной иностранной валюте,
496
+ устанавливаемого Национальным банком Республики Беларусь (не более чем за 365
497
+ дней)
498
+ </wsdl:documentation>
499
+ <wsdl:input message="tns:ExRatesDynSoapIn"/>
500
+ <wsdl:output message="tns:ExRatesDynSoapOut"/>
501
+ </wsdl:operation>
502
+ <wsdl:operation name="CurrenciesRef">
503
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Полный перечень
504
+ иностранных валют, к которым официальный курс белорусского рубля устанавливается
505
+ Национальным банком Республики Беларусь
506
+ </wsdl:documentation>
507
+ <wsdl:input message="tns:CurrenciesRefSoapIn"/>
508
+ <wsdl:output message="tns:CurrenciesRefSoapOut"/>
509
+ </wsdl:operation>
510
+ <wsdl:operation name="MetalsLastDate">
511
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Последняя дата
512
+ установления Национальным банком Республики Беларусь цен на драгоценные металлы в
513
+ виде банковских слитков
514
+ </wsdl:documentation>
515
+ <wsdl:input message="tns:MetalsLastDateSoapIn"/>
516
+ <wsdl:output message="tns:MetalsLastDateSoapOut"/>
517
+ </wsdl:operation>
518
+ <wsdl:operation name="MetalsRef">
519
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Перечень
520
+ драгоценных металлов, на которые Национальным банком Республики Беларусь
521
+ устанавливаются учетные цены
522
+ </wsdl:documentation>
523
+ <wsdl:input message="tns:MetalsRefSoapIn"/>
524
+ <wsdl:output message="tns:MetalsRefSoapOut"/>
525
+ </wsdl:operation>
526
+ <wsdl:operation name="MetalsPrices">
527
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Динамика учетных
528
+ цен на драгоценные металлы в виде банковских слитков, устанавливаемые Национальным
529
+ банком Республики Беларусь (не более, чем за 31 день)
530
+ </wsdl:documentation>
531
+ <wsdl:input message="tns:MetalsPricesSoapIn"/>
532
+ <wsdl:output message="tns:MetalsPricesSoapOut"/>
533
+ </wsdl:operation>
534
+ <wsdl:operation name="IngotsPrices">
535
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Цены покупки и
536
+ продажи Национальным банком Республики Беларусь драгоценных металлов в виде мерных
537
+ слитков
538
+ </wsdl:documentation>
539
+ <wsdl:input message="tns:IngotsPricesSoapIn"/>
540
+ <wsdl:output message="tns:IngotsPricesSoapOut"/>
541
+ </wsdl:operation>
542
+ <wsdl:operation name="IngotsLastDate">
543
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Последняя дата
544
+ установления Национальным банком Республики Беларусь цен покупки и продажи
545
+ драгоценных металлов в виде мерных слитков
546
+ </wsdl:documentation>
547
+ <wsdl:input message="tns:IngotsLastDateSoapIn"/>
548
+ <wsdl:output message="tns:IngotsLastDateSoapOut"/>
549
+ </wsdl:operation>
550
+ <wsdl:operation name="StockAddRates">
551
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Курс белорусского
552
+ рубля по отношению к основным иностранным валютам по итогам дополнительной
553
+ торговой сессии ОАО "Белорусская валютно-фондовая биржа"
554
+ </wsdl:documentation>
555
+ <wsdl:input message="tns:StockAddRatesSoapIn"/>
556
+ <wsdl:output message="tns:StockAddRatesSoapOut"/>
557
+ </wsdl:operation>
558
+ <wsdl:operation name="StockAddRatesLastDate">
559
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Последняя дата
560
+ установления курса белорусского рубля по отношению к основным иностранным валютам
561
+ по итогам дополнительной торговой сессии ОАО "Белорусская валютно-фондовая биржа"
562
+ </wsdl:documentation>
563
+ <wsdl:input message="tns:StockAddRatesLastDateSoapIn"/>
564
+ <wsdl:output message="tns:StockAddRatesLastDateSoapOut"/>
565
+ </wsdl:operation>
566
+ <wsdl:operation name="RefRateOnDate">
567
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Ставка
568
+ рефинансирования Национального банка на дату
569
+ </wsdl:documentation>
570
+ <wsdl:input message="tns:RefRateOnDateSoapIn"/>
571
+ <wsdl:output message="tns:RefRateOnDateSoapOut"/>
572
+ </wsdl:operation>
573
+ <wsdl:operation name="RefRateDyn">
574
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Динамика ставки
575
+ рефинансирования Национального банка
576
+ </wsdl:documentation>
577
+ <wsdl:input message="tns:RefRateDynSoapIn"/>
578
+ <wsdl:output message="tns:RefRateDynSoapOut"/>
579
+ </wsdl:operation>
580
+ </wsdl:portType>
581
+ <wsdl:binding name="ExRatesSoap" type="tns:ExRatesSoap">
582
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
583
+ <wsdl:operation name="CurrenciesRefDaily">
584
+ <soap:operation soapAction="http://www.nbrb.by/CurrenciesRefDaily"
585
+ style="document"/>
586
+ <wsdl:input>
587
+ <soap:body use="literal"/>
588
+ </wsdl:input>
589
+ <wsdl:output>
590
+ <soap:body use="literal"/>
591
+ </wsdl:output>
592
+ </wsdl:operation>
593
+ <wsdl:operation name="CurrenciesRefMonthly">
594
+ <soap:operation soapAction="http://www.nbrb.by/CurrenciesRefMonthly"
595
+ style="document"/>
596
+ <wsdl:input>
597
+ <soap:body use="literal"/>
598
+ </wsdl:input>
599
+ <wsdl:output>
600
+ <soap:body use="literal"/>
601
+ </wsdl:output>
602
+ </wsdl:operation>
603
+ <wsdl:operation name="StartDate">
604
+ <soap:operation soapAction="http://www.nbrb.by/StartDate" style="document"/>
605
+ <wsdl:input>
606
+ <soap:body use="literal"/>
607
+ </wsdl:input>
608
+ <wsdl:output>
609
+ <soap:body use="literal"/>
610
+ </wsdl:output>
611
+ </wsdl:operation>
612
+ <wsdl:operation name="LastDailyExRatesDate">
613
+ <soap:operation soapAction="http://www.nbrb.by/LastDailyExRatesDate"
614
+ style="document"/>
615
+ <wsdl:input>
616
+ <soap:body use="literal"/>
617
+ </wsdl:input>
618
+ <wsdl:output>
619
+ <soap:body use="literal"/>
620
+ </wsdl:output>
621
+ </wsdl:operation>
622
+ <wsdl:operation name="LastMonthlyExRatesDate">
623
+ <soap:operation soapAction="http://www.nbrb.by/LastMonthlyExRatesDate"
624
+ style="document"/>
625
+ <wsdl:input>
626
+ <soap:body use="literal"/>
627
+ </wsdl:input>
628
+ <wsdl:output>
629
+ <soap:body use="literal"/>
630
+ </wsdl:output>
631
+ </wsdl:operation>
632
+ <wsdl:operation name="ExRatesDaily">
633
+ <soap:operation soapAction="http://www.nbrb.by/ExRatesDaily" style="document"/>
634
+ <wsdl:input>
635
+ <soap:body use="literal"/>
636
+ </wsdl:input>
637
+ <wsdl:output>
638
+ <soap:body use="literal"/>
639
+ </wsdl:output>
640
+ </wsdl:operation>
641
+ <wsdl:operation name="ExRatesMonthly">
642
+ <soap:operation soapAction="http://www.nbrb.by/ExRatesMonthly" style="document"/>
643
+ <wsdl:input>
644
+ <soap:body use="literal"/>
645
+ </wsdl:input>
646
+ <wsdl:output>
647
+ <soap:body use="literal"/>
648
+ </wsdl:output>
649
+ </wsdl:operation>
650
+ <wsdl:operation name="ExRatesDyn">
651
+ <soap:operation soapAction="http://www.nbrb.by/ExRatesDyn" style="document"/>
652
+ <wsdl:input>
653
+ <soap:body use="literal"/>
654
+ </wsdl:input>
655
+ <wsdl:output>
656
+ <soap:body use="literal"/>
657
+ </wsdl:output>
658
+ </wsdl:operation>
659
+ <wsdl:operation name="CurrenciesRef">
660
+ <soap:operation soapAction="http://www.nbrb.by/CurrenciesRef" style="document"/>
661
+ <wsdl:input>
662
+ <soap:body use="literal"/>
663
+ </wsdl:input>
664
+ <wsdl:output>
665
+ <soap:body use="literal"/>
666
+ </wsdl:output>
667
+ </wsdl:operation>
668
+ <wsdl:operation name="MetalsLastDate">
669
+ <soap:operation soapAction="http://www.nbrb.by/MetalsLastDate" style="document"/>
670
+ <wsdl:input>
671
+ <soap:body use="literal"/>
672
+ </wsdl:input>
673
+ <wsdl:output>
674
+ <soap:body use="literal"/>
675
+ </wsdl:output>
676
+ </wsdl:operation>
677
+ <wsdl:operation name="MetalsRef">
678
+ <soap:operation soapAction="http://www.nbrb.by/MetalsRef" style="document"/>
679
+ <wsdl:input>
680
+ <soap:body use="literal"/>
681
+ </wsdl:input>
682
+ <wsdl:output>
683
+ <soap:body use="literal"/>
684
+ </wsdl:output>
685
+ </wsdl:operation>
686
+ <wsdl:operation name="MetalsPrices">
687
+ <soap:operation soapAction="http://www.nbrb.by/MetalsPrices" style="document"/>
688
+ <wsdl:input>
689
+ <soap:body use="literal"/>
690
+ </wsdl:input>
691
+ <wsdl:output>
692
+ <soap:body use="literal"/>
693
+ </wsdl:output>
694
+ </wsdl:operation>
695
+ <wsdl:operation name="IngotsPrices">
696
+ <soap:operation soapAction="http://www.nbrb.by/IngotsPrices" style="document"/>
697
+ <wsdl:input>
698
+ <soap:body use="literal"/>
699
+ </wsdl:input>
700
+ <wsdl:output>
701
+ <soap:body use="literal"/>
702
+ </wsdl:output>
703
+ </wsdl:operation>
704
+ <wsdl:operation name="IngotsLastDate">
705
+ <soap:operation soapAction="http://www.nbrb.by/IngotsLastDate" style="document"/>
706
+ <wsdl:input>
707
+ <soap:body use="literal"/>
708
+ </wsdl:input>
709
+ <wsdl:output>
710
+ <soap:body use="literal"/>
711
+ </wsdl:output>
712
+ </wsdl:operation>
713
+ <wsdl:operation name="StockAddRates">
714
+ <soap:operation soapAction="http://www.nbrb.by/StockAddRates" style="document"/>
715
+ <wsdl:input>
716
+ <soap:body use="literal"/>
717
+ </wsdl:input>
718
+ <wsdl:output>
719
+ <soap:body use="literal"/>
720
+ </wsdl:output>
721
+ </wsdl:operation>
722
+ <wsdl:operation name="StockAddRatesLastDate">
723
+ <soap:operation soapAction="http://www.nbrb.by/StockAddRatesLastDate"
724
+ style="document"/>
725
+ <wsdl:input>
726
+ <soap:body use="literal"/>
727
+ </wsdl:input>
728
+ <wsdl:output>
729
+ <soap:body use="literal"/>
730
+ </wsdl:output>
731
+ </wsdl:operation>
732
+ <wsdl:operation name="RefRateOnDate">
733
+ <soap:operation soapAction="http://www.nbrb.by/RefRateOnDate" style="document"/>
734
+ <wsdl:input>
735
+ <soap:body use="literal"/>
736
+ </wsdl:input>
737
+ <wsdl:output>
738
+ <soap:body use="literal"/>
739
+ </wsdl:output>
740
+ </wsdl:operation>
741
+ <wsdl:operation name="RefRateDyn">
742
+ <soap:operation soapAction="http://www.nbrb.by/RefRateDyn" style="document"/>
743
+ <wsdl:input>
744
+ <soap:body use="literal"/>
745
+ </wsdl:input>
746
+ <wsdl:output>
747
+ <soap:body use="literal"/>
748
+ </wsdl:output>
749
+ </wsdl:operation>
750
+ </wsdl:binding>
751
+ <wsdl:binding name="ExRatesSoap12" type="tns:ExRatesSoap">
752
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
753
+ <wsdl:operation name="CurrenciesRefDaily">
754
+ <soap12:operation soapAction="http://www.nbrb.by/CurrenciesRefDaily"
755
+ style="document"/>
756
+ <wsdl:input>
757
+ <soap12:body use="literal"/>
758
+ </wsdl:input>
759
+ <wsdl:output>
760
+ <soap12:body use="literal"/>
761
+ </wsdl:output>
762
+ </wsdl:operation>
763
+ <wsdl:operation name="CurrenciesRefMonthly">
764
+ <soap12:operation soapAction="http://www.nbrb.by/CurrenciesRefMonthly"
765
+ style="document"/>
766
+ <wsdl:input>
767
+ <soap12:body use="literal"/>
768
+ </wsdl:input>
769
+ <wsdl:output>
770
+ <soap12:body use="literal"/>
771
+ </wsdl:output>
772
+ </wsdl:operation>
773
+ <wsdl:operation name="StartDate">
774
+ <soap12:operation soapAction="http://www.nbrb.by/StartDate" style="document"/>
775
+ <wsdl:input>
776
+ <soap12:body use="literal"/>
777
+ </wsdl:input>
778
+ <wsdl:output>
779
+ <soap12:body use="literal"/>
780
+ </wsdl:output>
781
+ </wsdl:operation>
782
+ <wsdl:operation name="LastDailyExRatesDate">
783
+ <soap12:operation soapAction="http://www.nbrb.by/LastDailyExRatesDate"
784
+ style="document"/>
785
+ <wsdl:input>
786
+ <soap12:body use="literal"/>
787
+ </wsdl:input>
788
+ <wsdl:output>
789
+ <soap12:body use="literal"/>
790
+ </wsdl:output>
791
+ </wsdl:operation>
792
+ <wsdl:operation name="LastMonthlyExRatesDate">
793
+ <soap12:operation soapAction="http://www.nbrb.by/LastMonthlyExRatesDate"
794
+ style="document"/>
795
+ <wsdl:input>
796
+ <soap12:body use="literal"/>
797
+ </wsdl:input>
798
+ <wsdl:output>
799
+ <soap12:body use="literal"/>
800
+ </wsdl:output>
801
+ </wsdl:operation>
802
+ <wsdl:operation name="ExRatesDaily">
803
+ <soap12:operation soapAction="http://www.nbrb.by/ExRatesDaily" style="document"/>
804
+ <wsdl:input>
805
+ <soap12:body use="literal"/>
806
+ </wsdl:input>
807
+ <wsdl:output>
808
+ <soap12:body use="literal"/>
809
+ </wsdl:output>
810
+ </wsdl:operation>
811
+ <wsdl:operation name="ExRatesMonthly">
812
+ <soap12:operation soapAction="http://www.nbrb.by/ExRatesMonthly" style="document"/>
813
+ <wsdl:input>
814
+ <soap12:body use="literal"/>
815
+ </wsdl:input>
816
+ <wsdl:output>
817
+ <soap12:body use="literal"/>
818
+ </wsdl:output>
819
+ </wsdl:operation>
820
+ <wsdl:operation name="ExRatesDyn">
821
+ <soap12:operation soapAction="http://www.nbrb.by/ExRatesDyn" style="document"/>
822
+ <wsdl:input>
823
+ <soap12:body use="literal"/>
824
+ </wsdl:input>
825
+ <wsdl:output>
826
+ <soap12:body use="literal"/>
827
+ </wsdl:output>
828
+ </wsdl:operation>
829
+ <wsdl:operation name="CurrenciesRef">
830
+ <soap12:operation soapAction="http://www.nbrb.by/CurrenciesRef" style="document"/>
831
+ <wsdl:input>
832
+ <soap12:body use="literal"/>
833
+ </wsdl:input>
834
+ <wsdl:output>
835
+ <soap12:body use="literal"/>
836
+ </wsdl:output>
837
+ </wsdl:operation>
838
+ <wsdl:operation name="MetalsLastDate">
839
+ <soap12:operation soapAction="http://www.nbrb.by/MetalsLastDate" style="document"/>
840
+ <wsdl:input>
841
+ <soap12:body use="literal"/>
842
+ </wsdl:input>
843
+ <wsdl:output>
844
+ <soap12:body use="literal"/>
845
+ </wsdl:output>
846
+ </wsdl:operation>
847
+ <wsdl:operation name="MetalsRef">
848
+ <soap12:operation soapAction="http://www.nbrb.by/MetalsRef" style="document"/>
849
+ <wsdl:input>
850
+ <soap12:body use="literal"/>
851
+ </wsdl:input>
852
+ <wsdl:output>
853
+ <soap12:body use="literal"/>
854
+ </wsdl:output>
855
+ </wsdl:operation>
856
+ <wsdl:operation name="MetalsPrices">
857
+ <soap12:operation soapAction="http://www.nbrb.by/MetalsPrices" style="document"/>
858
+ <wsdl:input>
859
+ <soap12:body use="literal"/>
860
+ </wsdl:input>
861
+ <wsdl:output>
862
+ <soap12:body use="literal"/>
863
+ </wsdl:output>
864
+ </wsdl:operation>
865
+ <wsdl:operation name="IngotsPrices">
866
+ <soap12:operation soapAction="http://www.nbrb.by/IngotsPrices" style="document"/>
867
+ <wsdl:input>
868
+ <soap12:body use="literal"/>
869
+ </wsdl:input>
870
+ <wsdl:output>
871
+ <soap12:body use="literal"/>
872
+ </wsdl:output>
873
+ </wsdl:operation>
874
+ <wsdl:operation name="IngotsLastDate">
875
+ <soap12:operation soapAction="http://www.nbrb.by/IngotsLastDate" style="document"/>
876
+ <wsdl:input>
877
+ <soap12:body use="literal"/>
878
+ </wsdl:input>
879
+ <wsdl:output>
880
+ <soap12:body use="literal"/>
881
+ </wsdl:output>
882
+ </wsdl:operation>
883
+ <wsdl:operation name="StockAddRates">
884
+ <soap12:operation soapAction="http://www.nbrb.by/StockAddRates" style="document"/>
885
+ <wsdl:input>
886
+ <soap12:body use="literal"/>
887
+ </wsdl:input>
888
+ <wsdl:output>
889
+ <soap12:body use="literal"/>
890
+ </wsdl:output>
891
+ </wsdl:operation>
892
+ <wsdl:operation name="StockAddRatesLastDate">
893
+ <soap12:operation soapAction="http://www.nbrb.by/StockAddRatesLastDate"
894
+ style="document"/>
895
+ <wsdl:input>
896
+ <soap12:body use="literal"/>
897
+ </wsdl:input>
898
+ <wsdl:output>
899
+ <soap12:body use="literal"/>
900
+ </wsdl:output>
901
+ </wsdl:operation>
902
+ <wsdl:operation name="RefRateOnDate">
903
+ <soap12:operation soapAction="http://www.nbrb.by/RefRateOnDate" style="document"/>
904
+ <wsdl:input>
905
+ <soap12:body use="literal"/>
906
+ </wsdl:input>
907
+ <wsdl:output>
908
+ <soap12:body use="literal"/>
909
+ </wsdl:output>
910
+ </wsdl:operation>
911
+ <wsdl:operation name="RefRateDyn">
912
+ <soap12:operation soapAction="http://www.nbrb.by/RefRateDyn" style="document"/>
913
+ <wsdl:input>
914
+ <soap12:body use="literal"/>
915
+ </wsdl:input>
916
+ <wsdl:output>
917
+ <soap12:body use="literal"/>
918
+ </wsdl:output>
919
+ </wsdl:operation>
920
+ </wsdl:binding>
921
+ <wsdl:service name="ExRates">
922
+ <wsdl:port name="ExRatesSoap" binding="tns:ExRatesSoap">
923
+ <soap:address location="http://www.nbrb.by/Services/ExRates.asmx"/>
924
+ </wsdl:port>
925
+ <wsdl:port name="ExRatesSoap12" binding="tns:ExRatesSoap12">
926
+ <soap12:address location="http://www.nbrb.by/Services/ExRates.asmx"/>
927
+ </wsdl:port>
928
+ </wsdl:service>
929
+ </wsdl:definitions>