sirius-client-web 2013.4.1.0 → 2013.4.30.0

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.
@@ -1,4 +1,5 @@
1
- require 'WebCoreService.rb'
1
+ # encoding: UTF-8
2
+ require 'sirius/web/core/WebCoreService.rb'
2
3
  require 'soap/mapping'
3
4
  module Sirius
4
5
  module Client
@@ -1,223 +1,291 @@
1
+ # encoding: UTF-8
1
2
  require 'xsd/qname'
2
3
 
3
- module Sirius; module Client; module Win32; module Core; module Select
4
+ module Sirius; module Client; module Web; module Core; module Select
4
5
 
5
6
  # {http:web.server.sirius.org/}deselectByVisibleText
6
7
  # arg0 - SOAP::SOAPString
7
8
  # arg1 - SOAP::SOAPString
8
9
  # arg2 - SOAP::SOAPString
9
- # arg3 - SOAP::SOAPString
10
10
  class DeselectByVisibleText
11
- attr_accessor :arg0
12
- attr_accessor :arg1
13
- attr_accessor :arg2
11
+ # arg3 - SOAP::SOAPString
12
+ class DeselectByVisibleText
13
+
14
+ attr_accessor :arg0
15
+ attr_accessor :arg1
16
+ attr_accessor :arg2
14
17
  attr_accessor :arg3
15
- def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil) @arg0 = arg0
18
+
19
+ def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil)
20
+ @arg0 = arg0
16
21
  @arg1 = arg1
17
22
  @arg2 = arg2
18
- @arg3 = arg3
19
- end
23
+ @arg3 = arg3
24
+
25
+ end
20
26
  end
21
- # {http:web.server.sirius.org/}deselectByVisibleTextResponse
22
- class DeselectByVisibleTextResponse
23
27
  def initialize
24
- end
28
+
29
+ # {http:web.server.sirius.org/}deselectByVisibleTextResponse
30
+ class DeselectByVisibleTextResponse
31
+ def initialize
32
+ end
25
33
  end
34
+
26
35
  # {http:web.server.sirius.org/}selectByValue
27
36
  # arg0 - SOAP::SOAPString
28
37
  # arg1 - SOAP::SOAPString
29
38
  # arg2 - SOAP::SOAPString
30
- # arg3 - SOAP::SOAPString
31
- class SelectByValue
32
- attr_accessor :arg0
33
- attr_accessor :arg1
34
- attr_accessor :arg2
39
+ # arg3 - SOAP::SOAPString
40
+ class SelectByValue
41
+
42
+ attr_accessor :arg0
43
+ attr_accessor :arg1
44
+ attr_accessor :arg2
35
45
  attr_accessor :arg3
36
- def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil) @arg0 = arg0
46
+ def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil)
47
+ @arg0 = arg0
37
48
  @arg1 = arg1
38
49
  @arg2 = arg2
39
- @arg3 = arg3
40
- end
50
+ @arg3 = arg3
51
+
52
+ end
41
53
  end
42
- # {http:web.server.sirius.org/}selectByValueResponse
43
- class SelectByValueResponse
44
54
  def initialize
45
- end
55
+
56
+ # {http:web.server.sirius.org/}selectByValueResponse
57
+ class SelectByValueResponse
58
+ def initialize
59
+ end
46
60
  end
61
+
47
62
  # {http:web.server.sirius.org/}selectByVisibleText
48
63
  # arg0 - SOAP::SOAPString
49
64
  # arg1 - SOAP::SOAPString
50
65
  # arg2 - SOAP::SOAPString
51
- # arg3 - SOAP::SOAPString
52
- class SelectByVisibleText
53
- attr_accessor :arg0
54
- attr_accessor :arg1
55
- attr_accessor :arg2
66
+ # arg3 - SOAP::SOAPString
67
+ class SelectByVisibleText
68
+
69
+ attr_accessor :arg0
70
+ attr_accessor :arg1
71
+ attr_accessor :arg2
56
72
  attr_accessor :arg3
57
- def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil) @arg0 = arg0
73
+ def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil)
74
+ @arg0 = arg0
58
75
  @arg1 = arg1
59
76
  @arg2 = arg2
60
- @arg3 = arg3
61
- end
77
+ @arg3 = arg3
78
+
79
+ end
62
80
  end
63
- # {http:web.server.sirius.org/}selectByVisibleTextResponse
64
- class SelectByVisibleTextResponse
65
81
  def initialize
66
- end
82
+
83
+ # {http:web.server.sirius.org/}selectByVisibleTextResponse
84
+ class SelectByVisibleTextResponse
85
+ def initialize
86
+ end
67
87
  end
88
+
68
89
  # {http:web.server.sirius.org/}getAllSelectedOptions
69
90
  # arg0 - SOAP::SOAPString
70
91
  # arg1 - SOAP::SOAPString
71
- # arg2 - SOAP::SOAPString
72
- class GetAllSelectedOptions
73
- attr_accessor :arg0
74
- attr_accessor :arg1
92
+ # arg2 - SOAP::SOAPString
93
+ class GetAllSelectedOptions
94
+
95
+ attr_accessor :arg0
96
+ attr_accessor :arg1
75
97
  attr_accessor :arg2
76
- def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
98
+ def initialize(arg0 = nil, arg1 = nil, arg2 = nil)
99
+ @arg0 = arg0
77
100
  @arg1 = arg1
78
- @arg2 = arg2
79
- end
101
+ @arg2 = arg2
102
+ end
80
103
  end
81
- # {http:web.server.sirius.org/}getAllSelectedOptionsResponse
82
- class GetAllSelectedOptionsResponse < ::Array
104
+
105
+ # {http:web.server.sirius.org/}getAllSelectedOptionsResponse
106
+ class GetAllSelectedOptionsResponse < ::Array
83
107
  end
108
+
84
109
  # {http:web.server.sirius.org/}deselectByIndex
85
110
  # arg0 - SOAP::SOAPString
86
111
  # arg1 - SOAP::SOAPString
87
112
  # arg2 - SOAP::SOAPString
88
- # arg3 - SOAP::SOAPInt
89
- class DeselectByIndex
90
- attr_accessor :arg0
91
- attr_accessor :arg1
92
- attr_accessor :arg2
113
+ # arg3 - SOAP::SOAPInt
114
+ class DeselectByIndex
115
+
116
+ attr_accessor :arg0
117
+ attr_accessor :arg1
118
+ attr_accessor :arg2
93
119
  attr_accessor :arg3
94
- def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil) @arg0 = arg0
120
+ def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil)
121
+ @arg0 = arg0
95
122
  @arg1 = arg1
96
123
  @arg2 = arg2
97
- @arg3 = arg3
98
- end
124
+ @arg3 = arg3
125
+ end
99
126
  end
100
- # {http:web.server.sirius.org/}deselectByIndexResponse
101
- class DeselectByIndexResponse
102
127
  def initialize
103
- end
128
+
129
+ # {http:web.server.sirius.org/}deselectByIndexResponse
130
+ class DeselectByIndexResponse
131
+ def initialize
132
+ end
104
133
  end
134
+
105
135
  # {http:web.server.sirius.org/}deselectAll
106
136
  # arg0 - SOAP::SOAPString
107
137
  # arg1 - SOAP::SOAPString
108
- # arg2 - SOAP::SOAPString
109
- class DeselectAll
110
- attr_accessor :arg0
111
- attr_accessor :arg1
138
+ # arg2 - SOAP::SOAPString
139
+ class DeselectAll
140
+
141
+ attr_accessor :arg0
142
+ attr_accessor :arg1
112
143
  attr_accessor :arg2
113
- def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
144
+ def initialize(arg0 = nil, arg1 = nil, arg2 = nil)
145
+ @arg0 = arg0
114
146
  @arg1 = arg1
115
- @arg2 = arg2
116
- end
147
+ @arg2 = arg2
148
+ end
117
149
  end
118
- # {http:web.server.sirius.org/}deselectAllResponse
119
- class DeselectAllResponse
120
150
  def initialize
121
- end
151
+
152
+ # {http:web.server.sirius.org/}deselectAllResponse
153
+ class DeselectAllResponse
154
+ def initialize
155
+ end
122
156
  end
157
+
123
158
  # {http:web.server.sirius.org/}selectByIndex
124
159
  # arg0 - SOAP::SOAPString
125
160
  # arg1 - SOAP::SOAPString
126
161
  # arg2 - SOAP::SOAPString
127
- # arg3 - SOAP::SOAPInt
128
- class SelectByIndex
129
- attr_accessor :arg0
130
- attr_accessor :arg1
131
- attr_accessor :arg2
162
+ # arg3 - SOAP::SOAPInt
163
+ class SelectByIndex
164
+
165
+ attr_accessor :arg0
166
+ attr_accessor :arg1
167
+ attr_accessor :arg2
132
168
  attr_accessor :arg3
133
- def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil) @arg0 = arg0
169
+ def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil)
170
+ @arg0 = arg0
134
171
  @arg1 = arg1
135
172
  @arg2 = arg2
136
- @arg3 = arg3
137
- end
173
+ @arg3 = arg3
174
+ end
138
175
  end
139
- # {http:web.server.sirius.org/}selectByIndexResponse
140
- class SelectByIndexResponse
141
176
  def initialize
142
- end
177
+
178
+ # {http:web.server.sirius.org/}selectByIndexResponse
179
+ class SelectByIndexResponse
180
+ def initialize
181
+ end
143
182
  end
183
+
144
184
  # {http:web.server.sirius.org/}getAllOptions
145
185
  # arg0 - SOAP::SOAPString
146
186
  # arg1 - SOAP::SOAPString
147
- # arg2 - SOAP::SOAPString
148
- class GetAllOptions
149
- attr_accessor :arg0
150
- attr_accessor :arg1
187
+ # arg2 - SOAP::SOAPString
188
+ class GetAllOptions
189
+
190
+ attr_accessor :arg0
191
+ attr_accessor :arg1
151
192
  attr_accessor :arg2
152
- def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
193
+ def initialize(arg0 = nil, arg1 = nil, arg2 = nil)
194
+ @arg0 = arg0
153
195
  @arg1 = arg1
154
- @arg2 = arg2
155
- end
196
+ @arg2 = arg2
197
+ end
156
198
  end
157
- # {http:web.server.sirius.org/}getAllOptionsResponse
158
- class GetAllOptionsResponse < ::Array
199
+
200
+ # {http:web.server.sirius.org/}getAllOptionsResponse
201
+ class GetAllOptionsResponse < ::Array
159
202
  end
203
+
160
204
  # {http:web.server.sirius.org/}getFirstSelectedOption
161
205
  # arg0 - SOAP::SOAPString
162
206
  # arg1 - SOAP::SOAPString
163
- # arg2 - SOAP::SOAPString
164
- class GetFirstSelectedOption
165
- attr_accessor :arg0
166
- attr_accessor :arg1
207
+ # arg2 - SOAP::SOAPString
208
+ class GetFirstSelectedOption
209
+
210
+ attr_accessor :arg0
211
+ attr_accessor :arg1
167
212
  attr_accessor :arg2
168
- def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
213
+ def initialize(arg0 = nil, arg1 = nil, arg2 = nil)
214
+ @arg0 = arg0
169
215
  @arg1 = arg1
170
- @arg2 = arg2
171
- end
216
+ @arg2 = arg2
217
+ end
172
218
  end
219
+
173
220
  # {http:web.server.sirius.org/}getFirstSelectedOptionResponse
174
- # m_return - SOAP::SOAPString
175
- class GetFirstSelectedOptionResponse
176
221
  def m_return
177
- @v_return
178
222
  end
223
+ # m_return - SOAP::SOAPString
224
+ class GetFirstSelectedOptionResponse
225
+ def m_return
226
+ @v_return
227
+ end
179
228
 
180
- def m_return=(value) @v_return = value
229
+ def m_return=(value)
230
+ @v_return = value
181
231
  end
182
232
 
183
- def initialize(v_return = nil) @v_return = v_return
184
- end
233
+ def initialize(v_return = nil)
234
+ @v_return = v_return
235
+ end
185
236
  end
237
+
186
238
  # {http:web.server.sirius.org/}isMultiple
187
239
  # arg0 - SOAP::SOAPString
188
240
  # arg1 - SOAP::SOAPString
189
- # arg2 - SOAP::SOAPString
190
- class IsMultiple
191
- attr_accessor :arg0
192
- attr_accessor :arg1
241
+ # arg2 - SOAP::SOAPString
242
+ class IsMultiple
243
+
244
+ attr_accessor :arg0
245
+ attr_accessor :arg1
193
246
  attr_accessor :arg2
194
- def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
247
+ def initialize(arg0 = nil, arg1 = nil, arg2 = nil)
248
+ @arg0 = arg0
195
249
  @arg1 = arg1
196
- @arg2 = arg2
197
- end
250
+ @arg2 = arg2
251
+
252
+ end
198
253
  end
254
+
199
255
  # {http:web.server.sirius.org/}isMultipleResponse
200
- # m_return - SOAP::SOAPBoolean
201
- class IsMultipleResponse
202
256
  def m_return
257
+ # m_return - SOAP::SOAPBoolean
258
+ class IsMultipleResponse
259
+ def m_return
203
260
  @v_return
204
261
  end
205
262
 
206
- def m_return=(value) @v_return = value
263
+ def m_return=(value)
264
+ @v_return = value
207
265
  end
208
266
 
209
- def initialize(v_return = nil) @v_return = v_return
210
- end
267
+ def initialize(v_return = nil)
268
+ @v_return = v_return
269
+
270
+ end
211
271
  end
272
+
212
273
  # {http:web.server.sirius.org/}deselectByValue
213
274
  # arg0 - SOAP::SOAPString
214
275
  # arg1 - SOAP::SOAPString
215
276
  # arg2 - SOAP::SOAPString
216
- # arg3 - SOAP::SOAPString
217
- class DeselectByValue
218
- attr_accessor :arg0
219
- attr_accessor :arg1
220
- attr_accessor :arg2
277
+ # arg3 - SOAP::SOAPString
278
+ class DeselectByValue
279
+
280
+ attr_accessor :arg0
281
+ attr_accessor :arg1
282
+ attr_accessor :arg2
221
283
  attr_accessor :arg3
222
- def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil) @arg0 = arg0
284
+ def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil)
285
+ @arg0 = arg0
223
286
  @arg1 = arg1
224
287
  @arg2 = arg2
225
- @arg3 = arg3
226
- end
288
+ @arg3 = arg3
289
+
290
+ end
227
291
  end
228
- # {http:web.server.sirius.org/}deselectByValueResponse
229
- class DeselectByValueResponse
230
292
  def initialize
231
- end
293
+
294
+ # {http:web.server.sirius.org/}deselectByValueResponse
295
+ class DeselectByValueResponse
296
+ def initialize
297
+
298
+ end
299
+
232
300
  end
233
301
 
234
- end; end; end; end; end
302
+ end; end; end; end; end;
@@ -1,8 +1,8 @@
1
- #!/usr/bin/env ruby
2
- require 'WebSelectServiceDriver.rb'
1
+ # encoding: UTF-8
2
+ require 'sirius/web/core/select/WebSelectServiceDriver.rb'
3
3
 
4
4
 
5
- Sirius::Client::Win32::Core::Select
5
+ Sirius::Client::Web::Core::Select
6
6
 
7
7
  endpoint_url = ARGV.shift
8
8
  obj = WebSelect.new(endpoint_url)
@@ -145,4 +145,4 @@ puts obj.deselectByVisibleText(parameters)
145
145
 
146
146
 
147
147
 
148
- Sirius::Client::Win32::Core::Select
148
+ Sirius::Client::Web::Core::Select
@@ -1,128 +1,127 @@
1
- require 'WebSelectService.rb'
2
- require 'WebSelectServiceMappingRegistry.rb'
1
+ # encoding: UTF-8
2
+ require 'sirius/web/core/select/WebSelectServiceMappingRegistry.rb'
3
3
  require 'soap/rpc/driver'
4
4
 
5
- module Sirius::Client::Win32::Core::Select
6
-
7
-
8
- class WebSelect < ::SOAP::RPC::Driver DefaultEndpointUrl = "http:localhost:21212/web/select"
9
- Methods = [
10
- [ "",
5
+ module Sirius::Client::Web::Core::Select
6
+ class WebSelect < ::SOAP::RPC::Driver
7
+ DefaultEndpointUrl = "http://localhost:21212/web/select"
8
+ Methods = [
9
+ [ "",
11
10
  "deselectAll",
12
- [ [:in, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "deselectAll"]],
13
- [:out, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "deselectAllResponse"]] ],
11
+ [ [SOAP::RPC::SOAPMethod::IN, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "deselectAll"]],
12
+ [SOAP::RPC::SOAPMethod::OUT, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "deselectAllResponse"]] ],
14
13
  { :request_style => :document, :request_use => :literal,
15
- :response_style => :document, :response_use => :literal,
16
- :faults => {} }
17
- ],
18
- [ "",
14
+ :response_style => :document, :response_use => :literal,
15
+ :faults => {} }
16
+ ],
17
+ [ "",
19
18
  "isMultiple",
20
- [ [:in, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "isMultiple"]],
21
- [:out, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "isMultipleResponse"]] ],
19
+ [ [SOAP::RPC::SOAPMethod::IN, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "isMultiple"]],
20
+ [SOAP::RPC::SOAPMethod::OUT, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "isMultipleResponse"]] ],
22
21
  { :request_style => :document, :request_use => :literal,
23
- :response_style => :document, :response_use => :literal,
24
- :faults => {} }
25
- ],
26
- [ "",
22
+ :response_style => :document, :response_use => :literal,
23
+ :faults => {} }
24
+ ],
25
+ [ "",
27
26
  "deselectByIndex",
28
- [ [:in, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "deselectByIndex"]],
29
- [:out, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "deselectByIndexResponse"]] ],
27
+ [ [SOAP::RPC::SOAPMethod::IN, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "deselectByIndex"]],
28
+ [SOAP::RPC::SOAPMethod::OUT, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "deselectByIndexResponse"]] ],
30
29
  { :request_style => :document, :request_use => :literal,
31
- :response_style => :document, :response_use => :literal,
32
- :faults => {} }
33
- ],
34
- [ "",
30
+ :response_style => :document, :response_use => :literal,
31
+ :faults => {} }
32
+ ],
33
+ [ "",
35
34
  "deselectByValue",
36
- [ [:in, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "deselectByValue"]],
37
- [:out, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "deselectByValueResponse"]] ],
35
+ [ [SOAP::RPC::SOAPMethod::IN, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "deselectByValue"]],
36
+ [SOAP::RPC::SOAPMethod::OUT, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "deselectByValueResponse"]] ],
38
37
  { :request_style => :document, :request_use => :literal,
39
- :response_style => :document, :response_use => :literal,
40
- :faults => {} }
41
- ],
42
- [ "",
38
+ :response_style => :document, :response_use => :literal,
39
+ :faults => {} }
40
+ ],
41
+ [ "",
43
42
  "getAllOptions",
44
- [ [:in, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "getAllOptions"]],
45
- [:out, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "getAllOptionsResponse"]] ],
43
+ [ [SOAP::RPC::SOAPMethod::IN, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "getAllOptions"]],
44
+ [SOAP::RPC::SOAPMethod::OUT, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "getAllOptionsResponse"]] ],
46
45
  { :request_style => :document, :request_use => :literal,
47
- :response_style => :document, :response_use => :literal,
48
- :faults => {} }
49
- ],
50
- [ "",
46
+ :response_style => :document, :response_use => :literal,
47
+ :faults => {} }
48
+ ],
49
+ [ "",
51
50
  "selectByIndex",
52
- [ [:in, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "selectByIndex"]],
53
- [:out, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "selectByIndexResponse"]] ],
51
+ [ [SOAP::RPC::SOAPMethod::IN, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "selectByIndex"]],
52
+ [SOAP::RPC::SOAPMethod::OUT, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "selectByIndexResponse"]] ],
54
53
  { :request_style => :document, :request_use => :literal,
55
- :response_style => :document, :response_use => :literal,
56
- :faults => {} }
57
- ],
58
- [ "",
54
+ :response_style => :document, :response_use => :literal,
55
+ :faults => {} }
56
+ ],
57
+ [ "",
59
58
  "selectByValue",
60
- [ [:in, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "selectByValue"]],
61
- [:out, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "selectByValueResponse"]] ],
59
+ [ [SOAP::RPC::SOAPMethod::IN, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "selectByValue"]],
60
+ [SOAP::RPC::SOAPMethod::OUT, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "selectByValueResponse"]] ],
62
61
  { :request_style => :document, :request_use => :literal,
63
- :response_style => :document, :response_use => :literal,
64
- :faults => {} }
65
- ],
66
- [ "",
62
+ :response_style => :document, :response_use => :literal,
63
+ :faults => {} }
64
+ ],
65
+ [ "",
67
66
  "selectByVisibleText",
68
- [ [:in, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "selectByVisibleText"]],
69
- [:out, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "selectByVisibleTextResponse"]] ],
67
+ [ [SOAP::RPC::SOAPMethod::IN, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "selectByVisibleText"]],
68
+ [SOAP::RPC::SOAPMethod::OUT, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "selectByVisibleTextResponse"]] ],
70
69
  { :request_style => :document, :request_use => :literal,
71
- :response_style => :document, :response_use => :literal,
72
- :faults => {} }
73
- ],
74
- [ "",
70
+ :response_style => :document, :response_use => :literal,
71
+ :faults => {} }
72
+ ],
73
+ [ "",
75
74
  "getAllSelectedOptions",
76
- [ [:in, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "getAllSelectedOptions"]],
77
- [:out, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "getAllSelectedOptionsResponse"]] ],
75
+ [ [SOAP::RPC::SOAPMethod::IN, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "getAllSelectedOptions"]],
76
+ [SOAP::RPC::SOAPMethod::OUT, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "getAllSelectedOptionsResponse"]] ],
78
77
  { :request_style => :document, :request_use => :literal,
79
- :response_style => :document, :response_use => :literal,
80
- :faults => {} }
81
- ],
82
- [ "",
78
+ :response_style => :document, :response_use => :literal,
79
+ :faults => {} }
80
+ ],
81
+ [ "",
83
82
  "getFirstSelectedOption",
84
- [ [:in, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "getFirstSelectedOption"]],
85
- [:out, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "getFirstSelectedOptionResponse"]] ],
83
+ [ [SOAP::RPC::SOAPMethod::IN, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "getFirstSelectedOption"]],
84
+ [SOAP::RPC::SOAPMethod::OUT, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "getFirstSelectedOptionResponse"]] ],
86
85
  { :request_style => :document, :request_use => :literal,
87
- :response_style => :document, :response_use => :literal,
88
- :faults => {} }
89
- ],
90
- [ "",
86
+ :response_style => :document, :response_use => :literal,
87
+ :faults => {} }
88
+ ],
89
+ [ "",
91
90
  "deselectByVisibleText",
92
- [ [:in, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "deselectByVisibleText"]],
93
- [:out, "parameters", ["::SOAP::SOAPElement", "http:web.server.sirius.org/", "deselectByVisibleTextResponse"]] ],
91
+ [ [SOAP::RPC::SOAPMethod::IN, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "deselectByVisibleText"]],
92
+ [SOAP::RPC::SOAPMethod::OUT, "parameters", ["::SOAP::SOAPElement", "http://web.server.sirius.org/", "deselectByVisibleTextResponse"]] ],
94
93
  { :request_style => :document, :request_use => :literal,
95
- :response_style => :document, :response_use => :literal,
96
- :faults => {} }
94
+ :response_style => :document, :response_use => :literal,
95
+ :faults => {} }
96
+ ]
97
97
  ]
98
- ]
99
98
 
100
99
  def initialize(endpoint_url = nil) endpoint_url ||= DefaultEndpointUrl
101
- super(endpoint_url, nil)
102
- self.mapping_registry = WebSelectServiceMappingRegistry::EncodedRegistry
103
- self.literal_mapping_registry = WebSelectServiceMappingRegistry::LiteralRegistry
104
- init_methods
105
- end
106
- private
100
+ super(endpoint_url, nil)
101
+ self.mapping_registry = WebSelectServiceMappingRegistry::EncodedRegistry
102
+ self.literal_mapping_registry = WebSelectServiceMappingRegistry::LiteralRegistry
103
+ init_methods
104
+ end
105
+ private
107
106
 
108
- def init_methods
107
+ def init_methods
109
108
  Methods.each do |definitions|
110
- opt = definitions.last
111
- if opt[:request_style] == :document
112
- add_document_operation(*definitions)
113
- else
114
- add_rpc_operation(*definitions)
115
- qname = definitions[0]
116
- name = definitions[2]
117
- if qname.name != name and qname.name.capitalize == name.capitalize
118
- ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
119
- __send__(name, *arg)
120
- end
121
- end
122
- end
109
+ opt = definitions.last
110
+ if opt[:request_style] == :document
111
+ add_document_operation(*definitions)
112
+ else
113
+ add_rpc_operation(*definitions)
114
+ qname = definitions[0]
115
+ name = definitions[2]
116
+ if qname.name != name and qname.name.capitalize == name.capitalize
117
+ ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
118
+ __send__(name, *arg)
123
119
  end
120
+ end
121
+ end
122
+ end
124
123
 
125
- end
126
- end
124
+ end
125
+ end
127
126
 
128
127
  end