1
2
3
4
5
6
7
8 package org.sirius.server.win32lib.controls.listbox;
9
10 public class ListBoxSvcPortStub extends org.apache.axis.client.Stub implements
11 org.sirius.server.win32lib.controls.listbox.IListBoxContract {
12 private final java.util.Vector cachedSerClasses = new java.util.Vector();
13 private final java.util.Vector cachedSerQNames = new java.util.Vector();
14 private final java.util.Vector cachedSerFactories = new java.util.Vector();
15 private final java.util.Vector cachedDeserFactories = new java.util.Vector();
16
17 static org.apache.axis.description.OperationDesc[] _operations;
18
19 static {
20 _operations = new org.apache.axis.description.OperationDesc[13];
21 _initOperationDesc1();
22 _initOperationDesc2();
23 }
24
25 private static void _initOperationDesc1() {
26 org.apache.axis.description.OperationDesc oper;
27 org.apache.axis.description.ParameterDesc param;
28 oper = new org.apache.axis.description.OperationDesc();
29 oper.setName("AddSelectionByIndex");
30 param = new org.apache.axis.description.ParameterDesc(
31 new javax.xml.namespace.QName(
32 "http://listbox.controls.win32lib.server.sirius.org/",
33 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
34 new javax.xml.namespace.QName(
35 "http://www.w3.org/2001/XMLSchema", "int"),
36 java.lang.Integer.class, false, false);
37 param.setOmittable(true);
38 oper.addParameter(param);
39 param = new org.apache.axis.description.ParameterDesc(
40 new javax.xml.namespace.QName(
41 "http://listbox.controls.win32lib.server.sirius.org/",
42 "index"), org.apache.axis.description.ParameterDesc.IN,
43 new javax.xml.namespace.QName(
44 "http://www.w3.org/2001/XMLSchema", "int"),
45 java.lang.Integer.class, false, false);
46 param.setOmittable(true);
47 oper.addParameter(param);
48 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
49 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
50 oper.setUse(org.apache.axis.constants.Use.LITERAL);
51 _operations[0] = oper;
52
53 oper = new org.apache.axis.description.OperationDesc();
54 oper.setName("AddSelectionByName");
55 param = new org.apache.axis.description.ParameterDesc(
56 new javax.xml.namespace.QName(
57 "http://listbox.controls.win32lib.server.sirius.org/",
58 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
59 new javax.xml.namespace.QName(
60 "http://www.w3.org/2001/XMLSchema", "int"),
61 java.lang.Integer.class, false, false);
62 param.setOmittable(true);
63 oper.addParameter(param);
64 param = new org.apache.axis.description.ParameterDesc(
65 new javax.xml.namespace.QName(
66 "http://listbox.controls.win32lib.server.sirius.org/",
67 "item"), org.apache.axis.description.ParameterDesc.IN,
68 new javax.xml.namespace.QName(
69 "http://www.w3.org/2001/XMLSchema", "string"),
70 java.lang.String.class, false, false);
71 param.setOmittable(true);
72 param.setNillable(true);
73 oper.addParameter(param);
74 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
75 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
76 oper.setUse(org.apache.axis.constants.Use.LITERAL);
77 _operations[1] = oper;
78
79 oper = new org.apache.axis.description.OperationDesc();
80 oper.setName("DeselectAll");
81 param = new org.apache.axis.description.ParameterDesc(
82 new javax.xml.namespace.QName(
83 "http://listbox.controls.win32lib.server.sirius.org/",
84 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
85 new javax.xml.namespace.QName(
86 "http://www.w3.org/2001/XMLSchema", "int"),
87 java.lang.Integer.class, false, false);
88 param.setOmittable(true);
89 oper.addParameter(param);
90 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
91 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
92 oper.setUse(org.apache.axis.constants.Use.LITERAL);
93 _operations[2] = oper;
94
95 oper = new org.apache.axis.description.OperationDesc();
96 oper.setName("GetItemNames");
97 param = new org.apache.axis.description.ParameterDesc(
98 new javax.xml.namespace.QName(
99 "http://listbox.controls.win32lib.server.sirius.org/",
100 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
101 new javax.xml.namespace.QName(
102 "http://www.w3.org/2001/XMLSchema", "int"),
103 java.lang.Integer.class, false, false);
104 param.setOmittable(true);
105 oper.addParameter(param);
106 oper.setReturnType(new javax.xml.namespace.QName(
107 "http://schemas.microsoft.com/2003/10/Serialization/Arrays",
108 "ArrayOfstring"));
109 oper.setReturnClass(java.lang.String[].class);
110 oper.setReturnQName(new javax.xml.namespace.QName(
111 "http://listbox.controls.win32lib.server.sirius.org/",
112 "GetItemNamesResult"));
113 param = oper.getReturnParamDesc();
114 param.setItemQName(new javax.xml.namespace.QName(
115 "http://schemas.microsoft.com/2003/10/Serialization/Arrays",
116 "string"));
117 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
118 oper.setUse(org.apache.axis.constants.Use.LITERAL);
119 _operations[3] = oper;
120
121 oper = new org.apache.axis.description.OperationDesc();
122 oper.setName("GetItemsCount");
123 param = new org.apache.axis.description.ParameterDesc(
124 new javax.xml.namespace.QName(
125 "http://listbox.controls.win32lib.server.sirius.org/",
126 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
127 new javax.xml.namespace.QName(
128 "http://www.w3.org/2001/XMLSchema", "int"),
129 java.lang.Integer.class, false, false);
130 param.setOmittable(true);
131 oper.addParameter(param);
132 oper.setReturnType(new javax.xml.namespace.QName(
133 "http://www.w3.org/2001/XMLSchema", "int"));
134 oper.setReturnClass(java.lang.Integer.class);
135 oper.setReturnQName(new javax.xml.namespace.QName(
136 "http://listbox.controls.win32lib.server.sirius.org/",
137 "GetItemsCountResult"));
138 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
139 oper.setUse(org.apache.axis.constants.Use.LITERAL);
140 _operations[4] = oper;
141
142 oper = new org.apache.axis.description.OperationDesc();
143 oper.setName("GetSelectedIndex");
144 param = new org.apache.axis.description.ParameterDesc(
145 new javax.xml.namespace.QName(
146 "http://listbox.controls.win32lib.server.sirius.org/",
147 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
148 new javax.xml.namespace.QName(
149 "http://www.w3.org/2001/XMLSchema", "int"),
150 java.lang.Integer.class, false, false);
151 param.setOmittable(true);
152 oper.addParameter(param);
153 oper.setReturnType(new javax.xml.namespace.QName(
154 "http://www.w3.org/2001/XMLSchema", "int"));
155 oper.setReturnClass(java.lang.Integer.class);
156 oper.setReturnQName(new javax.xml.namespace.QName(
157 "http://listbox.controls.win32lib.server.sirius.org/",
158 "GetSelectedIndexResult"));
159 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
160 oper.setUse(org.apache.axis.constants.Use.LITERAL);
161 _operations[5] = oper;
162
163 oper = new org.apache.axis.description.OperationDesc();
164 oper.setName("GetSelectedItem");
165 param = new org.apache.axis.description.ParameterDesc(
166 new javax.xml.namespace.QName(
167 "http://listbox.controls.win32lib.server.sirius.org/",
168 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
169 new javax.xml.namespace.QName(
170 "http://www.w3.org/2001/XMLSchema", "int"),
171 java.lang.Integer.class, false, false);
172 param.setOmittable(true);
173 oper.addParameter(param);
174 oper.setReturnType(new javax.xml.namespace.QName(
175 "http://www.w3.org/2001/XMLSchema", "string"));
176 oper.setReturnClass(java.lang.String.class);
177 oper.setReturnQName(new javax.xml.namespace.QName(
178 "http://listbox.controls.win32lib.server.sirius.org/",
179 "GetSelectedItemResult"));
180 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
181 oper.setUse(org.apache.axis.constants.Use.LITERAL);
182 _operations[6] = oper;
183
184 oper = new org.apache.axis.description.OperationDesc();
185 oper.setName("GetSelectedItems");
186 param = new org.apache.axis.description.ParameterDesc(
187 new javax.xml.namespace.QName(
188 "http://listbox.controls.win32lib.server.sirius.org/",
189 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
190 new javax.xml.namespace.QName(
191 "http://www.w3.org/2001/XMLSchema", "int"),
192 java.lang.Integer.class, false, false);
193 param.setOmittable(true);
194 oper.addParameter(param);
195 oper.setReturnType(new javax.xml.namespace.QName(
196 "http://schemas.microsoft.com/2003/10/Serialization/Arrays",
197 "ArrayOfstring"));
198 oper.setReturnClass(java.lang.String[].class);
199 oper.setReturnQName(new javax.xml.namespace.QName(
200 "http://listbox.controls.win32lib.server.sirius.org/",
201 "GetSelectedItemsResult"));
202 param = oper.getReturnParamDesc();
203 param.setItemQName(new javax.xml.namespace.QName(
204 "http://schemas.microsoft.com/2003/10/Serialization/Arrays",
205 "string"));
206 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
207 oper.setUse(org.apache.axis.constants.Use.LITERAL);
208 _operations[7] = oper;
209
210 oper = new org.apache.axis.description.OperationDesc();
211 oper.setName("RemoveSelectionByIndex");
212 param = new org.apache.axis.description.ParameterDesc(
213 new javax.xml.namespace.QName(
214 "http://listbox.controls.win32lib.server.sirius.org/",
215 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
216 new javax.xml.namespace.QName(
217 "http://www.w3.org/2001/XMLSchema", "int"),
218 java.lang.Integer.class, false, false);
219 param.setOmittable(true);
220 oper.addParameter(param);
221 param = new org.apache.axis.description.ParameterDesc(
222 new javax.xml.namespace.QName(
223 "http://listbox.controls.win32lib.server.sirius.org/",
224 "index"), org.apache.axis.description.ParameterDesc.IN,
225 new javax.xml.namespace.QName(
226 "http://www.w3.org/2001/XMLSchema", "int"),
227 java.lang.Integer.class, false, false);
228 param.setOmittable(true);
229 oper.addParameter(param);
230 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
231 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
232 oper.setUse(org.apache.axis.constants.Use.LITERAL);
233 _operations[8] = oper;
234
235 oper = new org.apache.axis.description.OperationDesc();
236 oper.setName("RemoveSelectionByName");
237 param = new org.apache.axis.description.ParameterDesc(
238 new javax.xml.namespace.QName(
239 "http://listbox.controls.win32lib.server.sirius.org/",
240 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
241 new javax.xml.namespace.QName(
242 "http://www.w3.org/2001/XMLSchema", "int"),
243 java.lang.Integer.class, false, false);
244 param.setOmittable(true);
245 oper.addParameter(param);
246 param = new org.apache.axis.description.ParameterDesc(
247 new javax.xml.namespace.QName(
248 "http://listbox.controls.win32lib.server.sirius.org/",
249 "item"), org.apache.axis.description.ParameterDesc.IN,
250 new javax.xml.namespace.QName(
251 "http://www.w3.org/2001/XMLSchema", "string"),
252 java.lang.String.class, false, false);
253 param.setOmittable(true);
254 param.setNillable(true);
255 oper.addParameter(param);
256 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
257 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
258 oper.setUse(org.apache.axis.constants.Use.LITERAL);
259 _operations[9] = oper;
260
261 }
262
263 private static void _initOperationDesc2() {
264 org.apache.axis.description.OperationDesc oper;
265 org.apache.axis.description.ParameterDesc param;
266 oper = new org.apache.axis.description.OperationDesc();
267 oper.setName("SelectByIndex");
268 param = new org.apache.axis.description.ParameterDesc(
269 new javax.xml.namespace.QName(
270 "http://listbox.controls.win32lib.server.sirius.org/",
271 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
272 new javax.xml.namespace.QName(
273 "http://www.w3.org/2001/XMLSchema", "int"),
274 java.lang.Integer.class, false, false);
275 param.setOmittable(true);
276 oper.addParameter(param);
277 param = new org.apache.axis.description.ParameterDesc(
278 new javax.xml.namespace.QName(
279 "http://listbox.controls.win32lib.server.sirius.org/",
280 "index"), org.apache.axis.description.ParameterDesc.IN,
281 new javax.xml.namespace.QName(
282 "http://www.w3.org/2001/XMLSchema", "int"),
283 java.lang.Integer.class, false, false);
284 param.setOmittable(true);
285 oper.addParameter(param);
286 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
287 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
288 oper.setUse(org.apache.axis.constants.Use.LITERAL);
289 _operations[10] = oper;
290
291 oper = new org.apache.axis.description.OperationDesc();
292 oper.setName("SelectByName");
293 param = new org.apache.axis.description.ParameterDesc(
294 new javax.xml.namespace.QName(
295 "http://listbox.controls.win32lib.server.sirius.org/",
296 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
297 new javax.xml.namespace.QName(
298 "http://www.w3.org/2001/XMLSchema", "int"),
299 java.lang.Integer.class, false, false);
300 param.setOmittable(true);
301 oper.addParameter(param);
302 param = new org.apache.axis.description.ParameterDesc(
303 new javax.xml.namespace.QName(
304 "http://listbox.controls.win32lib.server.sirius.org/",
305 "item"), org.apache.axis.description.ParameterDesc.IN,
306 new javax.xml.namespace.QName(
307 "http://www.w3.org/2001/XMLSchema", "string"),
308 java.lang.String.class, false, false);
309 param.setOmittable(true);
310 param.setNillable(true);
311 oper.addParameter(param);
312 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
313 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
314 oper.setUse(org.apache.axis.constants.Use.LITERAL);
315 _operations[11] = oper;
316
317 oper = new org.apache.axis.description.OperationDesc();
318 oper.setName("SelectAll");
319 param = new org.apache.axis.description.ParameterDesc(
320 new javax.xml.namespace.QName(
321 "http://listbox.controls.win32lib.server.sirius.org/",
322 "hwnd"), org.apache.axis.description.ParameterDesc.IN,
323 new javax.xml.namespace.QName(
324 "http://www.w3.org/2001/XMLSchema", "int"),
325 java.lang.Integer.class, false, false);
326 param.setOmittable(true);
327 oper.addParameter(param);
328 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
329 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
330 oper.setUse(org.apache.axis.constants.Use.LITERAL);
331 _operations[12] = oper;
332
333 }
334
335 public ListBoxSvcPortStub() throws org.apache.axis.AxisFault {
336 this(null);
337 }
338
339 public ListBoxSvcPortStub(final java.net.URL endpointURL,
340 final javax.xml.rpc.Service service)
341 throws org.apache.axis.AxisFault {
342 this(service);
343 super.cachedEndpoint = endpointURL;
344 }
345
346 public ListBoxSvcPortStub(final javax.xml.rpc.Service service)
347 throws org.apache.axis.AxisFault {
348 if (service == null) {
349 super.service = new org.apache.axis.client.Service();
350 } else {
351 super.service = service;
352 }
353 ((org.apache.axis.client.Service) super.service)
354 .setTypeMappingVersion("1.2");
355 java.lang.Class cls;
356 javax.xml.namespace.QName qName;
357 javax.xml.namespace.QName qName2;
358 java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
359 java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
360 java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
361 java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
362 java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
363 java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
364 java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
365 java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
366 java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
367 java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
368 qName = new javax.xml.namespace.QName(
369 "http://schemas.microsoft.com/2003/10/Serialization/Arrays",
370 "ArrayOfstring");
371 cachedSerQNames.add(qName);
372 cls = java.lang.String[].class;
373 cachedSerClasses.add(cls);
374 qName = new javax.xml.namespace.QName(
375 "http://www.w3.org/2001/XMLSchema", "string");
376 qName2 = new javax.xml.namespace.QName(
377 "http://schemas.microsoft.com/2003/10/Serialization/Arrays",
378 "string");
379 cachedSerFactories
380 .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
381 qName, qName2));
382 cachedDeserFactories
383 .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
384
385 }
386
387 @Override
388 public void addSelectionByIndex(final java.lang.Integer hwnd,
389 final java.lang.Integer index) throws java.rmi.RemoteException {
390 if (super.cachedEndpoint == null) {
391 throw new org.apache.axis.NoEndPointException();
392 }
393 org.apache.axis.client.Call _call = createCall();
394 _call.setOperation(_operations[0]);
395 _call.setUseSOAPAction(true);
396 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/AddSelectionByIndex");
397 _call.setEncodingStyle(null);
398 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
399 Boolean.FALSE);
400 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
401 Boolean.FALSE);
402 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
403 _call.setOperationName(new javax.xml.namespace.QName(
404 "http://listbox.controls.win32lib.server.sirius.org/",
405 "AddSelectionByIndex"));
406
407 setRequestHeaders(_call);
408 setAttachments(_call);
409 try {
410 java.lang.Object _resp = _call.invoke(new java.lang.Object[] {
411 hwnd, index });
412
413 if (_resp instanceof java.rmi.RemoteException) {
414 throw (java.rmi.RemoteException) _resp;
415 }
416 extractAttachments(_call);
417 } catch (org.apache.axis.AxisFault axisFaultException) {
418 throw axisFaultException;
419 }
420 }
421
422 @Override
423 public void addSelectionByName(final java.lang.Integer hwnd,
424 final java.lang.String item) throws java.rmi.RemoteException {
425 if (super.cachedEndpoint == null) {
426 throw new org.apache.axis.NoEndPointException();
427 }
428 org.apache.axis.client.Call _call = createCall();
429 _call.setOperation(_operations[1]);
430 _call.setUseSOAPAction(true);
431 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/AddSelectionByName");
432 _call.setEncodingStyle(null);
433 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
434 Boolean.FALSE);
435 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
436 Boolean.FALSE);
437 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
438 _call.setOperationName(new javax.xml.namespace.QName(
439 "http://listbox.controls.win32lib.server.sirius.org/",
440 "AddSelectionByName"));
441
442 setRequestHeaders(_call);
443 setAttachments(_call);
444 try {
445 java.lang.Object _resp = _call.invoke(new java.lang.Object[] {
446 hwnd, item });
447
448 if (_resp instanceof java.rmi.RemoteException) {
449 throw (java.rmi.RemoteException) _resp;
450 }
451 extractAttachments(_call);
452 } catch (org.apache.axis.AxisFault axisFaultException) {
453 throw axisFaultException;
454 }
455 }
456
457 protected org.apache.axis.client.Call createCall()
458 throws java.rmi.RemoteException {
459 try {
460 org.apache.axis.client.Call _call = super._createCall();
461 if (super.maintainSessionSet) {
462 _call.setMaintainSession(super.maintainSession);
463 }
464 if (super.cachedUsername != null) {
465 _call.setUsername(super.cachedUsername);
466 }
467 if (super.cachedPassword != null) {
468 _call.setPassword(super.cachedPassword);
469 }
470 if (super.cachedEndpoint != null) {
471 _call.setTargetEndpointAddress(super.cachedEndpoint);
472 }
473 if (super.cachedTimeout != null) {
474 _call.setTimeout(super.cachedTimeout);
475 }
476 if (super.cachedPortName != null) {
477 _call.setPortName(super.cachedPortName);
478 }
479 java.util.Enumeration keys = super.cachedProperties.keys();
480 while (keys.hasMoreElements()) {
481 java.lang.String key = (java.lang.String) keys.nextElement();
482 _call.setProperty(key, super.cachedProperties.get(key));
483 }
484
485
486
487
488
489 synchronized (this) {
490 if (firstCall()) {
491
492 _call.setEncodingStyle(null);
493 for (int i = 0; i < cachedSerFactories.size(); ++i) {
494 java.lang.Class cls = (java.lang.Class) cachedSerClasses
495 .get(i);
496 javax.xml.namespace.QName qName = (javax.xml.namespace.QName) cachedSerQNames
497 .get(i);
498 java.lang.Object x = cachedSerFactories.get(i);
499 if (x instanceof Class) {
500 java.lang.Class sf = (java.lang.Class) cachedSerFactories
501 .get(i);
502 java.lang.Class df = (java.lang.Class) cachedDeserFactories
503 .get(i);
504 _call.registerTypeMapping(cls, qName, sf, df, false);
505 } else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
506 org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) cachedSerFactories
507 .get(i);
508 org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) cachedDeserFactories
509 .get(i);
510 _call.registerTypeMapping(cls, qName, sf, df, false);
511 }
512 }
513 }
514 }
515 return _call;
516 } catch (java.lang.Throwable _t) {
517 throw new org.apache.axis.AxisFault(
518 "Failure trying to get the Call object", _t);
519 }
520 }
521
522 @Override
523 public void deselectAll(final java.lang.Integer hwnd)
524 throws java.rmi.RemoteException {
525 if (super.cachedEndpoint == null) {
526 throw new org.apache.axis.NoEndPointException();
527 }
528 org.apache.axis.client.Call _call = createCall();
529 _call.setOperation(_operations[2]);
530 _call.setUseSOAPAction(true);
531 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/DeselectAll");
532 _call.setEncodingStyle(null);
533 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
534 Boolean.FALSE);
535 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
536 Boolean.FALSE);
537 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
538 _call.setOperationName(new javax.xml.namespace.QName(
539 "http://listbox.controls.win32lib.server.sirius.org/",
540 "DeselectAll"));
541
542 setRequestHeaders(_call);
543 setAttachments(_call);
544 try {
545 java.lang.Object _resp = _call
546 .invoke(new java.lang.Object[] { hwnd });
547
548 if (_resp instanceof java.rmi.RemoteException) {
549 throw (java.rmi.RemoteException) _resp;
550 }
551 extractAttachments(_call);
552 } catch (org.apache.axis.AxisFault axisFaultException) {
553 throw axisFaultException;
554 }
555 }
556
557 @Override
558 public java.lang.String[] getItemNames(final java.lang.Integer hwnd)
559 throws java.rmi.RemoteException {
560 if (super.cachedEndpoint == null) {
561 throw new org.apache.axis.NoEndPointException();
562 }
563 org.apache.axis.client.Call _call = createCall();
564 _call.setOperation(_operations[3]);
565 _call.setUseSOAPAction(true);
566 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/GetItemNames");
567 _call.setEncodingStyle(null);
568 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
569 Boolean.FALSE);
570 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
571 Boolean.FALSE);
572 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
573 _call.setOperationName(new javax.xml.namespace.QName(
574 "http://listbox.controls.win32lib.server.sirius.org/",
575 "GetItemNames"));
576
577 setRequestHeaders(_call);
578 setAttachments(_call);
579 try {
580 java.lang.Object _resp = _call
581 .invoke(new java.lang.Object[] { hwnd });
582
583 if (_resp instanceof java.rmi.RemoteException) {
584 throw (java.rmi.RemoteException) _resp;
585 } else {
586 extractAttachments(_call);
587 try {
588 return (java.lang.String[]) _resp;
589 } catch (java.lang.Exception _exception) {
590 return (java.lang.String[]) org.apache.axis.utils.JavaUtils
591 .convert(_resp, java.lang.String[].class);
592 }
593 }
594 } catch (org.apache.axis.AxisFault axisFaultException) {
595 throw axisFaultException;
596 }
597 }
598
599 @Override
600 public java.lang.Integer getItemsCount(final java.lang.Integer hwnd)
601 throws java.rmi.RemoteException {
602 if (super.cachedEndpoint == null) {
603 throw new org.apache.axis.NoEndPointException();
604 }
605 org.apache.axis.client.Call _call = createCall();
606 _call.setOperation(_operations[4]);
607 _call.setUseSOAPAction(true);
608 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/GetItemsCount");
609 _call.setEncodingStyle(null);
610 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
611 Boolean.FALSE);
612 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
613 Boolean.FALSE);
614 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
615 _call.setOperationName(new javax.xml.namespace.QName(
616 "http://listbox.controls.win32lib.server.sirius.org/",
617 "GetItemsCount"));
618
619 setRequestHeaders(_call);
620 setAttachments(_call);
621 try {
622 java.lang.Object _resp = _call
623 .invoke(new java.lang.Object[] { hwnd });
624
625 if (_resp instanceof java.rmi.RemoteException) {
626 throw (java.rmi.RemoteException) _resp;
627 } else {
628 extractAttachments(_call);
629 try {
630 return (java.lang.Integer) _resp;
631 } catch (java.lang.Exception _exception) {
632 return (java.lang.Integer) org.apache.axis.utils.JavaUtils
633 .convert(_resp, java.lang.Integer.class);
634 }
635 }
636 } catch (org.apache.axis.AxisFault axisFaultException) {
637 throw axisFaultException;
638 }
639 }
640
641 @Override
642 public java.lang.Integer getSelectedIndex(final java.lang.Integer hwnd)
643 throws java.rmi.RemoteException {
644 if (super.cachedEndpoint == null) {
645 throw new org.apache.axis.NoEndPointException();
646 }
647 org.apache.axis.client.Call _call = createCall();
648 _call.setOperation(_operations[5]);
649 _call.setUseSOAPAction(true);
650 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/GetSelectedIndex");
651 _call.setEncodingStyle(null);
652 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
653 Boolean.FALSE);
654 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
655 Boolean.FALSE);
656 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
657 _call.setOperationName(new javax.xml.namespace.QName(
658 "http://listbox.controls.win32lib.server.sirius.org/",
659 "GetSelectedIndex"));
660
661 setRequestHeaders(_call);
662 setAttachments(_call);
663 try {
664 java.lang.Object _resp = _call
665 .invoke(new java.lang.Object[] { hwnd });
666
667 if (_resp instanceof java.rmi.RemoteException) {
668 throw (java.rmi.RemoteException) _resp;
669 } else {
670 extractAttachments(_call);
671 try {
672 return (java.lang.Integer) _resp;
673 } catch (java.lang.Exception _exception) {
674 return (java.lang.Integer) org.apache.axis.utils.JavaUtils
675 .convert(_resp, java.lang.Integer.class);
676 }
677 }
678 } catch (org.apache.axis.AxisFault axisFaultException) {
679 throw axisFaultException;
680 }
681 }
682
683 @Override
684 public java.lang.String getSelectedItem(final java.lang.Integer hwnd)
685 throws java.rmi.RemoteException {
686 if (super.cachedEndpoint == null) {
687 throw new org.apache.axis.NoEndPointException();
688 }
689 org.apache.axis.client.Call _call = createCall();
690 _call.setOperation(_operations[6]);
691 _call.setUseSOAPAction(true);
692 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/GetSelectedItem");
693 _call.setEncodingStyle(null);
694 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
695 Boolean.FALSE);
696 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
697 Boolean.FALSE);
698 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
699 _call.setOperationName(new javax.xml.namespace.QName(
700 "http://listbox.controls.win32lib.server.sirius.org/",
701 "GetSelectedItem"));
702
703 setRequestHeaders(_call);
704 setAttachments(_call);
705 try {
706 java.lang.Object _resp = _call
707 .invoke(new java.lang.Object[] { hwnd });
708
709 if (_resp instanceof java.rmi.RemoteException) {
710 throw (java.rmi.RemoteException) _resp;
711 } else {
712 extractAttachments(_call);
713 try {
714 return (java.lang.String) _resp;
715 } catch (java.lang.Exception _exception) {
716 return (java.lang.String) org.apache.axis.utils.JavaUtils
717 .convert(_resp, java.lang.String.class);
718 }
719 }
720 } catch (org.apache.axis.AxisFault axisFaultException) {
721 throw axisFaultException;
722 }
723 }
724
725 @Override
726 public java.lang.String[] getSelectedItems(final java.lang.Integer hwnd)
727 throws java.rmi.RemoteException {
728 if (super.cachedEndpoint == null) {
729 throw new org.apache.axis.NoEndPointException();
730 }
731 org.apache.axis.client.Call _call = createCall();
732 _call.setOperation(_operations[7]);
733 _call.setUseSOAPAction(true);
734 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/GetSelectedItems");
735 _call.setEncodingStyle(null);
736 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
737 Boolean.FALSE);
738 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
739 Boolean.FALSE);
740 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
741 _call.setOperationName(new javax.xml.namespace.QName(
742 "http://listbox.controls.win32lib.server.sirius.org/",
743 "GetSelectedItems"));
744
745 setRequestHeaders(_call);
746 setAttachments(_call);
747 try {
748 java.lang.Object _resp = _call
749 .invoke(new java.lang.Object[] { hwnd });
750
751 if (_resp instanceof java.rmi.RemoteException) {
752 throw (java.rmi.RemoteException) _resp;
753 } else {
754 extractAttachments(_call);
755 try {
756 return (java.lang.String[]) _resp;
757 } catch (java.lang.Exception _exception) {
758 return (java.lang.String[]) org.apache.axis.utils.JavaUtils
759 .convert(_resp, java.lang.String[].class);
760 }
761 }
762 } catch (org.apache.axis.AxisFault axisFaultException) {
763 throw axisFaultException;
764 }
765 }
766
767 @Override
768 public void removeSelectionByIndex(final java.lang.Integer hwnd,
769 final java.lang.Integer index) throws java.rmi.RemoteException {
770 if (super.cachedEndpoint == null) {
771 throw new org.apache.axis.NoEndPointException();
772 }
773 org.apache.axis.client.Call _call = createCall();
774 _call.setOperation(_operations[8]);
775 _call.setUseSOAPAction(true);
776 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/RemoveSelectionByIndex");
777 _call.setEncodingStyle(null);
778 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
779 Boolean.FALSE);
780 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
781 Boolean.FALSE);
782 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
783 _call.setOperationName(new javax.xml.namespace.QName(
784 "http://listbox.controls.win32lib.server.sirius.org/",
785 "RemoveSelectionByIndex"));
786
787 setRequestHeaders(_call);
788 setAttachments(_call);
789 try {
790 java.lang.Object _resp = _call.invoke(new java.lang.Object[] {
791 hwnd, index });
792
793 if (_resp instanceof java.rmi.RemoteException) {
794 throw (java.rmi.RemoteException) _resp;
795 }
796 extractAttachments(_call);
797 } catch (org.apache.axis.AxisFault axisFaultException) {
798 throw axisFaultException;
799 }
800 }
801
802 @Override
803 public void removeSelectionByName(final java.lang.Integer hwnd,
804 final java.lang.String item) throws java.rmi.RemoteException {
805 if (super.cachedEndpoint == null) {
806 throw new org.apache.axis.NoEndPointException();
807 }
808 org.apache.axis.client.Call _call = createCall();
809 _call.setOperation(_operations[9]);
810 _call.setUseSOAPAction(true);
811 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/RemoveSelectionByName");
812 _call.setEncodingStyle(null);
813 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
814 Boolean.FALSE);
815 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
816 Boolean.FALSE);
817 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
818 _call.setOperationName(new javax.xml.namespace.QName(
819 "http://listbox.controls.win32lib.server.sirius.org/",
820 "RemoveSelectionByName"));
821
822 setRequestHeaders(_call);
823 setAttachments(_call);
824 try {
825 java.lang.Object _resp = _call.invoke(new java.lang.Object[] {
826 hwnd, item });
827
828 if (_resp instanceof java.rmi.RemoteException) {
829 throw (java.rmi.RemoteException) _resp;
830 }
831 extractAttachments(_call);
832 } catch (org.apache.axis.AxisFault axisFaultException) {
833 throw axisFaultException;
834 }
835 }
836
837 @Override
838 public void selectAll(final java.lang.Integer hwnd)
839 throws java.rmi.RemoteException {
840 if (super.cachedEndpoint == null) {
841 throw new org.apache.axis.NoEndPointException();
842 }
843 org.apache.axis.client.Call _call = createCall();
844 _call.setOperation(_operations[12]);
845 _call.setUseSOAPAction(true);
846 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/SelectAll");
847 _call.setEncodingStyle(null);
848 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
849 Boolean.FALSE);
850 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
851 Boolean.FALSE);
852 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
853 _call.setOperationName(new javax.xml.namespace.QName(
854 "http://listbox.controls.win32lib.server.sirius.org/",
855 "SelectAll"));
856
857 setRequestHeaders(_call);
858 setAttachments(_call);
859 try {
860 java.lang.Object _resp = _call
861 .invoke(new java.lang.Object[] { hwnd });
862
863 if (_resp instanceof java.rmi.RemoteException) {
864 throw (java.rmi.RemoteException) _resp;
865 }
866 extractAttachments(_call);
867 } catch (org.apache.axis.AxisFault axisFaultException) {
868 throw axisFaultException;
869 }
870 }
871
872 @Override
873 public void selectByIndex(final java.lang.Integer hwnd,
874 final java.lang.Integer index) throws java.rmi.RemoteException {
875 if (super.cachedEndpoint == null) {
876 throw new org.apache.axis.NoEndPointException();
877 }
878 org.apache.axis.client.Call _call = createCall();
879 _call.setOperation(_operations[10]);
880 _call.setUseSOAPAction(true);
881 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/SelectByIndex");
882 _call.setEncodingStyle(null);
883 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
884 Boolean.FALSE);
885 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
886 Boolean.FALSE);
887 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
888 _call.setOperationName(new javax.xml.namespace.QName(
889 "http://listbox.controls.win32lib.server.sirius.org/",
890 "SelectByIndex"));
891
892 setRequestHeaders(_call);
893 setAttachments(_call);
894 try {
895 java.lang.Object _resp = _call.invoke(new java.lang.Object[] {
896 hwnd, index });
897
898 if (_resp instanceof java.rmi.RemoteException) {
899 throw (java.rmi.RemoteException) _resp;
900 }
901 extractAttachments(_call);
902 } catch (org.apache.axis.AxisFault axisFaultException) {
903 throw axisFaultException;
904 }
905 }
906
907 @Override
908 public void selectByName(final java.lang.Integer hwnd,
909 final java.lang.String item) throws java.rmi.RemoteException {
910 if (super.cachedEndpoint == null) {
911 throw new org.apache.axis.NoEndPointException();
912 }
913 org.apache.axis.client.Call _call = createCall();
914 _call.setOperation(_operations[11]);
915 _call.setUseSOAPAction(true);
916 _call.setSOAPActionURI("http://listbox.controls.win32lib.server.sirius.org/IListBoxContract/SelectByName");
917 _call.setEncodingStyle(null);
918 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
919 Boolean.FALSE);
920 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
921 Boolean.FALSE);
922 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
923 _call.setOperationName(new javax.xml.namespace.QName(
924 "http://listbox.controls.win32lib.server.sirius.org/",
925 "SelectByName"));
926
927 setRequestHeaders(_call);
928 setAttachments(_call);
929 try {
930 java.lang.Object _resp = _call.invoke(new java.lang.Object[] {
931 hwnd, item });
932
933 if (_resp instanceof java.rmi.RemoteException) {
934 throw (java.rmi.RemoteException) _resp;
935 }
936 extractAttachments(_call);
937 } catch (org.apache.axis.AxisFault axisFaultException) {
938 throw axisFaultException;
939 }
940 }
941
942 }