1
2
3
4
5
6
7
8 package org.sirius.server.win32lib.controls.spin;
9
10 public class SpinSvcPortStub extends org.apache.axis.client.Stub implements org.sirius.server.win32lib.controls.spin.ISpinContract {
11 private java.util.Vector cachedSerClasses = new java.util.Vector();
12 private java.util.Vector cachedSerQNames = new java.util.Vector();
13 private java.util.Vector cachedSerFactories = new java.util.Vector();
14 private java.util.Vector cachedDeserFactories = new java.util.Vector();
15
16 static org.apache.axis.description.OperationDesc [] _operations;
17
18 static {
19 _operations = new org.apache.axis.description.OperationDesc[8];
20 _initOperationDesc1();
21 }
22
23 private static void _initOperationDesc1(){
24 org.apache.axis.description.OperationDesc oper;
25 org.apache.axis.description.ParameterDesc param;
26 oper = new org.apache.axis.description.OperationDesc();
27 oper.setName("GetLowerBound");
28 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "hwnd"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), java.lang.Integer.class, false, false);
29 param.setOmittable(true);
30 oper.addParameter(param);
31 oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
32 oper.setReturnClass(java.lang.Double.class);
33 oper.setReturnQName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetLowerBoundResult"));
34 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
35 oper.setUse(org.apache.axis.constants.Use.LITERAL);
36 _operations[0] = oper;
37
38 oper = new org.apache.axis.description.OperationDesc();
39 oper.setName("GetPosition");
40 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "hwnd"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), java.lang.Integer.class, false, false);
41 param.setOmittable(true);
42 oper.addParameter(param);
43 oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
44 oper.setReturnClass(java.lang.Double.class);
45 oper.setReturnQName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetPositionResult"));
46 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
47 oper.setUse(org.apache.axis.constants.Use.LITERAL);
48 _operations[1] = oper;
49
50 oper = new org.apache.axis.description.OperationDesc();
51 oper.setName("GetValue");
52 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "hwnd"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), java.lang.Integer.class, false, false);
53 param.setOmittable(true);
54 oper.addParameter(param);
55 oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
56 oper.setReturnClass(java.lang.Double.class);
57 oper.setReturnQName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetValueResult"));
58 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
59 oper.setUse(org.apache.axis.constants.Use.LITERAL);
60 _operations[2] = oper;
61
62 oper = new org.apache.axis.description.OperationDesc();
63 oper.setName("GetUpperBound");
64 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "hwnd"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), java.lang.Integer.class, false, false);
65 param.setOmittable(true);
66 oper.addParameter(param);
67 oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
68 oper.setReturnClass(java.lang.Double.class);
69 oper.setReturnQName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetUpperBoundResult"));
70 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
71 oper.setUse(org.apache.axis.constants.Use.LITERAL);
72 _operations[3] = oper;
73
74 oper = new org.apache.axis.description.OperationDesc();
75 oper.setName("SetPosition");
76 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "hwnd"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), java.lang.Integer.class, false, false);
77 param.setOmittable(true);
78 oper.addParameter(param);
79 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "pos"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"), java.lang.Double.class, false, false);
80 param.setOmittable(true);
81 oper.addParameter(param);
82 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
83 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
84 oper.setUse(org.apache.axis.constants.Use.LITERAL);
85 _operations[4] = oper;
86
87 oper = new org.apache.axis.description.OperationDesc();
88 oper.setName("SetValue");
89 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "hwnd"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), java.lang.Integer.class, false, false);
90 param.setOmittable(true);
91 oper.addParameter(param);
92 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "pos"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"), java.lang.Double.class, false, false);
93 param.setOmittable(true);
94 oper.addParameter(param);
95 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
96 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
97 oper.setUse(org.apache.axis.constants.Use.LITERAL);
98 _operations[5] = oper;
99
100 oper = new org.apache.axis.description.OperationDesc();
101 oper.setName("GetSmallStep");
102 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "hwnd"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), java.lang.Integer.class, false, false);
103 param.setOmittable(true);
104 oper.addParameter(param);
105 oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
106 oper.setReturnClass(java.lang.Double.class);
107 oper.setReturnQName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetSmallStepResult"));
108 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
109 oper.setUse(org.apache.axis.constants.Use.LITERAL);
110 _operations[6] = oper;
111
112 oper = new org.apache.axis.description.OperationDesc();
113 oper.setName("GetLargeStep");
114 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "hwnd"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), java.lang.Integer.class, false, false);
115 param.setOmittable(true);
116 oper.addParameter(param);
117 oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
118 oper.setReturnClass(java.lang.Double.class);
119 oper.setReturnQName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetLargeStepResult"));
120 oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
121 oper.setUse(org.apache.axis.constants.Use.LITERAL);
122 _operations[7] = oper;
123
124 }
125
126 public SpinSvcPortStub() throws org.apache.axis.AxisFault {
127 this(null);
128 }
129
130 public SpinSvcPortStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
131 this(service);
132 super.cachedEndpoint = endpointURL;
133 }
134
135 public SpinSvcPortStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
136 if (service == null) {
137 super.service = new org.apache.axis.client.Service();
138 } else {
139 super.service = service;
140 }
141 ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
142 }
143
144 protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
145 try {
146 org.apache.axis.client.Call _call = super._createCall();
147 if (super.maintainSessionSet) {
148 _call.setMaintainSession(super.maintainSession);
149 }
150 if (super.cachedUsername != null) {
151 _call.setUsername(super.cachedUsername);
152 }
153 if (super.cachedPassword != null) {
154 _call.setPassword(super.cachedPassword);
155 }
156 if (super.cachedEndpoint != null) {
157 _call.setTargetEndpointAddress(super.cachedEndpoint);
158 }
159 if (super.cachedTimeout != null) {
160 _call.setTimeout(super.cachedTimeout);
161 }
162 if (super.cachedPortName != null) {
163 _call.setPortName(super.cachedPortName);
164 }
165 java.util.Enumeration keys = super.cachedProperties.keys();
166 while (keys.hasMoreElements()) {
167 java.lang.String key = (java.lang.String) keys.nextElement();
168 _call.setProperty(key, super.cachedProperties.get(key));
169 }
170 return _call;
171 }
172 catch (java.lang.Throwable _t) {
173 throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
174 }
175 }
176
177 public java.lang.Double getLowerBound(java.lang.Integer hwnd) throws java.rmi.RemoteException {
178 if (super.cachedEndpoint == null) {
179 throw new org.apache.axis.NoEndPointException();
180 }
181 org.apache.axis.client.Call _call = createCall();
182 _call.setOperation(_operations[0]);
183 _call.setUseSOAPAction(true);
184 _call.setSOAPActionURI("http://spin.controls.win32lib.server.sirius.org/ISpinContract/GetLowerBound");
185 _call.setEncodingStyle(null);
186 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
187 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
188 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
189 _call.setOperationName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetLowerBound"));
190
191 setRequestHeaders(_call);
192 setAttachments(_call);
193 try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {hwnd});
194
195 if (_resp instanceof java.rmi.RemoteException) {
196 throw (java.rmi.RemoteException)_resp;
197 }
198 else {
199 extractAttachments(_call);
200 try {
201 return (java.lang.Double) _resp;
202 } catch (java.lang.Exception _exception) {
203 return (java.lang.Double) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.Double.class);
204 }
205 }
206 } catch (org.apache.axis.AxisFault axisFaultException) {
207 throw axisFaultException;
208 }
209 }
210
211 public java.lang.Double getPosition(java.lang.Integer hwnd) throws java.rmi.RemoteException {
212 if (super.cachedEndpoint == null) {
213 throw new org.apache.axis.NoEndPointException();
214 }
215 org.apache.axis.client.Call _call = createCall();
216 _call.setOperation(_operations[1]);
217 _call.setUseSOAPAction(true);
218 _call.setSOAPActionURI("http://spin.controls.win32lib.server.sirius.org/ISpinContract/GetPosition");
219 _call.setEncodingStyle(null);
220 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
221 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
222 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
223 _call.setOperationName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetPosition"));
224
225 setRequestHeaders(_call);
226 setAttachments(_call);
227 try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {hwnd});
228
229 if (_resp instanceof java.rmi.RemoteException) {
230 throw (java.rmi.RemoteException)_resp;
231 }
232 else {
233 extractAttachments(_call);
234 try {
235 return (java.lang.Double) _resp;
236 } catch (java.lang.Exception _exception) {
237 return (java.lang.Double) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.Double.class);
238 }
239 }
240 } catch (org.apache.axis.AxisFault axisFaultException) {
241 throw axisFaultException;
242 }
243 }
244
245 public java.lang.Double getValue(java.lang.Integer hwnd) throws java.rmi.RemoteException {
246 if (super.cachedEndpoint == null) {
247 throw new org.apache.axis.NoEndPointException();
248 }
249 org.apache.axis.client.Call _call = createCall();
250 _call.setOperation(_operations[2]);
251 _call.setUseSOAPAction(true);
252 _call.setSOAPActionURI("http://spin.controls.win32lib.server.sirius.org/ISpinContract/GetValue");
253 _call.setEncodingStyle(null);
254 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
255 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
256 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
257 _call.setOperationName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetValue"));
258
259 setRequestHeaders(_call);
260 setAttachments(_call);
261 try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {hwnd});
262
263 if (_resp instanceof java.rmi.RemoteException) {
264 throw (java.rmi.RemoteException)_resp;
265 }
266 else {
267 extractAttachments(_call);
268 try {
269 return (java.lang.Double) _resp;
270 } catch (java.lang.Exception _exception) {
271 return (java.lang.Double) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.Double.class);
272 }
273 }
274 } catch (org.apache.axis.AxisFault axisFaultException) {
275 throw axisFaultException;
276 }
277 }
278
279 public java.lang.Double getUpperBound(java.lang.Integer hwnd) throws java.rmi.RemoteException {
280 if (super.cachedEndpoint == null) {
281 throw new org.apache.axis.NoEndPointException();
282 }
283 org.apache.axis.client.Call _call = createCall();
284 _call.setOperation(_operations[3]);
285 _call.setUseSOAPAction(true);
286 _call.setSOAPActionURI("http://spin.controls.win32lib.server.sirius.org/ISpinContract/GetUpperBound");
287 _call.setEncodingStyle(null);
288 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
289 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
290 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
291 _call.setOperationName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetUpperBound"));
292
293 setRequestHeaders(_call);
294 setAttachments(_call);
295 try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {hwnd});
296
297 if (_resp instanceof java.rmi.RemoteException) {
298 throw (java.rmi.RemoteException)_resp;
299 }
300 else {
301 extractAttachments(_call);
302 try {
303 return (java.lang.Double) _resp;
304 } catch (java.lang.Exception _exception) {
305 return (java.lang.Double) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.Double.class);
306 }
307 }
308 } catch (org.apache.axis.AxisFault axisFaultException) {
309 throw axisFaultException;
310 }
311 }
312
313 public void setPosition(java.lang.Integer hwnd, java.lang.Double pos) throws java.rmi.RemoteException {
314 if (super.cachedEndpoint == null) {
315 throw new org.apache.axis.NoEndPointException();
316 }
317 org.apache.axis.client.Call _call = createCall();
318 _call.setOperation(_operations[4]);
319 _call.setUseSOAPAction(true);
320 _call.setSOAPActionURI("http://spin.controls.win32lib.server.sirius.org/ISpinContract/SetPosition");
321 _call.setEncodingStyle(null);
322 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
323 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
324 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
325 _call.setOperationName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "SetPosition"));
326
327 setRequestHeaders(_call);
328 setAttachments(_call);
329 try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {hwnd, pos});
330
331 if (_resp instanceof java.rmi.RemoteException) {
332 throw (java.rmi.RemoteException)_resp;
333 }
334 extractAttachments(_call);
335 } catch (org.apache.axis.AxisFault axisFaultException) {
336 throw axisFaultException;
337 }
338 }
339
340 public void setValue(java.lang.Integer hwnd, java.lang.Double pos) throws java.rmi.RemoteException {
341 if (super.cachedEndpoint == null) {
342 throw new org.apache.axis.NoEndPointException();
343 }
344 org.apache.axis.client.Call _call = createCall();
345 _call.setOperation(_operations[5]);
346 _call.setUseSOAPAction(true);
347 _call.setSOAPActionURI("http://spin.controls.win32lib.server.sirius.org/ISpinContract/SetValue");
348 _call.setEncodingStyle(null);
349 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
350 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
351 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
352 _call.setOperationName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "SetValue"));
353
354 setRequestHeaders(_call);
355 setAttachments(_call);
356 try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {hwnd, pos});
357
358 if (_resp instanceof java.rmi.RemoteException) {
359 throw (java.rmi.RemoteException)_resp;
360 }
361 extractAttachments(_call);
362 } catch (org.apache.axis.AxisFault axisFaultException) {
363 throw axisFaultException;
364 }
365 }
366
367 public java.lang.Double getSmallStep(java.lang.Integer hwnd) throws java.rmi.RemoteException {
368 if (super.cachedEndpoint == null) {
369 throw new org.apache.axis.NoEndPointException();
370 }
371 org.apache.axis.client.Call _call = createCall();
372 _call.setOperation(_operations[6]);
373 _call.setUseSOAPAction(true);
374 _call.setSOAPActionURI("http://spin.controls.win32lib.server.sirius.org/ISpinContract/GetSmallStep");
375 _call.setEncodingStyle(null);
376 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
377 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
378 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
379 _call.setOperationName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetSmallStep"));
380
381 setRequestHeaders(_call);
382 setAttachments(_call);
383 try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {hwnd});
384
385 if (_resp instanceof java.rmi.RemoteException) {
386 throw (java.rmi.RemoteException)_resp;
387 }
388 else {
389 extractAttachments(_call);
390 try {
391 return (java.lang.Double) _resp;
392 } catch (java.lang.Exception _exception) {
393 return (java.lang.Double) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.Double.class);
394 }
395 }
396 } catch (org.apache.axis.AxisFault axisFaultException) {
397 throw axisFaultException;
398 }
399 }
400
401 public java.lang.Double getLargeStep(java.lang.Integer hwnd) throws java.rmi.RemoteException {
402 if (super.cachedEndpoint == null) {
403 throw new org.apache.axis.NoEndPointException();
404 }
405 org.apache.axis.client.Call _call = createCall();
406 _call.setOperation(_operations[7]);
407 _call.setUseSOAPAction(true);
408 _call.setSOAPActionURI("http://spin.controls.win32lib.server.sirius.org/ISpinContract/GetLargeStep");
409 _call.setEncodingStyle(null);
410 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
411 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
412 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
413 _call.setOperationName(new javax.xml.namespace.QName("http://spin.controls.win32lib.server.sirius.org/", "GetLargeStep"));
414
415 setRequestHeaders(_call);
416 setAttachments(_call);
417 try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {hwnd});
418
419 if (_resp instanceof java.rmi.RemoteException) {
420 throw (java.rmi.RemoteException)_resp;
421 }
422 else {
423 extractAttachments(_call);
424 try {
425 return (java.lang.Double) _resp;
426 } catch (java.lang.Exception _exception) {
427 return (java.lang.Double) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.Double.class);
428 }
429 }
430 } catch (org.apache.axis.AxisFault axisFaultException) {
431 throw axisFaultException;
432 }
433 }
434
435 }