Class |
Line # |
Actions |
|||
---|---|---|---|---|---|
SeqSearchServiceSoapBindingStub | 23 | 236 | 37 |
1 | /* | |
2 | * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) | |
3 | * Copyright (C) $$Year-Rel$$ The Jalview Authors | |
4 | * | |
5 | * This file is part of Jalview. | |
6 | * | |
7 | * Jalview is free software: you can redistribute it and/or | |
8 | * modify it under the terms of the GNU General Public License | |
9 | * as published by the Free Software Foundation, either version 3 | |
10 | * of the License, or (at your option) any later version. | |
11 | * | |
12 | * Jalview is distributed in the hope that it will be useful, but | |
13 | * WITHOUT ANY WARRANTY; without even the implied warranty | |
14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR | |
15 | * PURPOSE. See the GNU General Public License for more details. | |
16 | * | |
17 | * You should have received a copy of the GNU General Public License | |
18 | * along with Jalview. If not, see <http://www.gnu.org/licenses/>. | |
19 | * The Jalview Authors are detailed in the 'AUTHORS' file. | |
20 | */ | |
21 | package ext.vamsas; | |
22 | ||
23 | public class SeqSearchServiceSoapBindingStub | |
24 | extends org.apache.axis.client.Stub implements ext.vamsas.SeqSearchI | |
25 | { | |
26 | private java.util.Vector cachedSerClasses = new java.util.Vector(); | |
27 | ||
28 | private java.util.Vector cachedSerQNames = new java.util.Vector(); | |
29 | ||
30 | private java.util.Vector cachedSerFactories = new java.util.Vector(); | |
31 | ||
32 | private java.util.Vector cachedDeserFactories = new java.util.Vector(); | |
33 | ||
34 | static org.apache.axis.description.OperationDesc[] _operations; | |
35 | ||
36 | 0 | static |
37 | { | |
38 | 0 | _operations = new org.apache.axis.description.OperationDesc[5]; |
39 | 0 | _initOperationDesc1(); |
40 | } | |
41 | ||
42 | 0 | private static void _initOperationDesc1() |
43 | { | |
44 | 0 | org.apache.axis.description.OperationDesc oper; |
45 | 0 | oper = new org.apache.axis.description.OperationDesc(); |
46 | 0 | oper.setName("getDatabase"); |
47 | 0 | oper.setReturnType(new javax.xml.namespace.QName( |
48 | "http://www.w3.org/2001/XMLSchema", "string")); | |
49 | 0 | oper.setReturnClass(java.lang.String.class); |
50 | 0 | oper.setReturnQName( |
51 | new javax.xml.namespace.QName("", "getDatabaseReturn")); | |
52 | 0 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
53 | 0 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
54 | 0 | _operations[0] = oper; |
55 | ||
56 | 0 | oper = new org.apache.axis.description.OperationDesc(); |
57 | 0 | oper.setName("getResult"); |
58 | 0 | oper.addParameter(new javax.xml.namespace.QName("", "job_id"), |
59 | new javax.xml.namespace.QName( | |
60 | "http://www.w3.org/2001/XMLSchema", "string"), | |
61 | java.lang.String.class, | |
62 | org.apache.axis.description.ParameterDesc.IN, false, false); | |
63 | 0 | oper.setReturnType(new javax.xml.namespace.QName( |
64 | "simple.objects.vamsas", "SeqSearchResult")); | |
65 | 0 | oper.setReturnClass(vamsas.objects.simple.SeqSearchResult.class); |
66 | 0 | oper.setReturnQName( |
67 | new javax.xml.namespace.QName("", "getResultReturn")); | |
68 | 0 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
69 | 0 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
70 | 0 | _operations[1] = oper; |
71 | ||
72 | 0 | oper = new org.apache.axis.description.OperationDesc(); |
73 | 0 | oper.setName("psearch"); |
74 | 0 | oper.addParameter(new javax.xml.namespace.QName("", "al"), |
75 | new javax.xml.namespace.QName("simple.objects.vamsas", | |
76 | "Alignment"), | |
77 | vamsas.objects.simple.Alignment.class, | |
78 | org.apache.axis.description.ParameterDesc.IN, false, false); | |
79 | 0 | oper.addParameter(new javax.xml.namespace.QName("", "database"), |
80 | new javax.xml.namespace.QName( | |
81 | "http://www.w3.org/2001/XMLSchema", "string"), | |
82 | java.lang.String.class, | |
83 | org.apache.axis.description.ParameterDesc.IN, false, false); | |
84 | 0 | oper.setReturnType(new javax.xml.namespace.QName( |
85 | "simple.objects.vamsas", "WsJobId")); | |
86 | 0 | oper.setReturnClass(vamsas.objects.simple.WsJobId.class); |
87 | 0 | oper.setReturnQName(new javax.xml.namespace.QName("", "psearchReturn")); |
88 | 0 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
89 | 0 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
90 | 0 | _operations[2] = oper; |
91 | ||
92 | 0 | oper = new org.apache.axis.description.OperationDesc(); |
93 | 0 | oper.setName("search"); |
94 | 0 | oper.addParameter(new javax.xml.namespace.QName("", "s"), |
95 | new javax.xml.namespace.QName("simple.objects.vamsas", | |
96 | "Sequence"), | |
97 | vamsas.objects.simple.Sequence.class, | |
98 | org.apache.axis.description.ParameterDesc.IN, false, false); | |
99 | 0 | oper.addParameter(new javax.xml.namespace.QName("", "database"), |
100 | new javax.xml.namespace.QName( | |
101 | "http://www.w3.org/2001/XMLSchema", "string"), | |
102 | java.lang.String.class, | |
103 | org.apache.axis.description.ParameterDesc.IN, false, false); | |
104 | 0 | oper.setReturnType(new javax.xml.namespace.QName( |
105 | "simple.objects.vamsas", "WsJobId")); | |
106 | 0 | oper.setReturnClass(vamsas.objects.simple.WsJobId.class); |
107 | 0 | oper.setReturnQName(new javax.xml.namespace.QName("", "searchReturn")); |
108 | 0 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
109 | 0 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
110 | 0 | _operations[3] = oper; |
111 | ||
112 | 0 | oper = new org.apache.axis.description.OperationDesc(); |
113 | 0 | oper.setName("cancel"); |
114 | 0 | oper.addParameter(new javax.xml.namespace.QName("", "jobId"), |
115 | new javax.xml.namespace.QName( | |
116 | "http://www.w3.org/2001/XMLSchema", "string"), | |
117 | java.lang.String.class, | |
118 | org.apache.axis.description.ParameterDesc.IN, false, false); | |
119 | 0 | oper.setReturnType(new javax.xml.namespace.QName( |
120 | "simple.objects.vamsas", "WsJobId")); | |
121 | 0 | oper.setReturnClass(vamsas.objects.simple.WsJobId.class); |
122 | 0 | oper.setReturnQName(new javax.xml.namespace.QName("", "cancelReturn")); |
123 | 0 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
124 | 0 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
125 | 0 | _operations[4] = oper; |
126 | ||
127 | } | |
128 | ||
129 | 0 | public SeqSearchServiceSoapBindingStub() throws org.apache.axis.AxisFault |
130 | { | |
131 | 0 | this(null); |
132 | } | |
133 | ||
134 | 0 | public SeqSearchServiceSoapBindingStub(java.net.URL endpointURL, |
135 | javax.xml.rpc.Service service) throws org.apache.axis.AxisFault | |
136 | { | |
137 | 0 | this(service); |
138 | 0 | super.cachedEndpoint = endpointURL; |
139 | } | |
140 | ||
141 | 0 | public SeqSearchServiceSoapBindingStub(javax.xml.rpc.Service service) |
142 | throws org.apache.axis.AxisFault | |
143 | { | |
144 | 0 | if (service == null) |
145 | { | |
146 | 0 | super.service = new org.apache.axis.client.Service(); |
147 | } | |
148 | else | |
149 | { | |
150 | 0 | super.service = service; |
151 | } | |
152 | 0 | java.lang.Class cls; |
153 | 0 | javax.xml.namespace.QName qName; |
154 | 0 | java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; |
155 | 0 | java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; |
156 | 0 | java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; |
157 | 0 | java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; |
158 | 0 | java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; |
159 | 0 | java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; |
160 | 0 | java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; |
161 | 0 | java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; |
162 | 0 | java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; |
163 | 0 | java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; |
164 | 0 | qName = new javax.xml.namespace.QName("simple.objects.vamsas", |
165 | "Result"); | |
166 | 0 | cachedSerQNames.add(qName); |
167 | 0 | cls = vamsas.objects.simple.Result.class; |
168 | 0 | cachedSerClasses.add(cls); |
169 | 0 | cachedSerFactories.add(beansf); |
170 | 0 | cachedDeserFactories.add(beandf); |
171 | ||
172 | 0 | qName = new javax.xml.namespace.QName("simple.objects.vamsas", |
173 | "WsJobId"); | |
174 | 0 | cachedSerQNames.add(qName); |
175 | 0 | cls = vamsas.objects.simple.WsJobId.class; |
176 | 0 | cachedSerClasses.add(cls); |
177 | 0 | cachedSerFactories.add(beansf); |
178 | 0 | cachedDeserFactories.add(beandf); |
179 | ||
180 | 0 | qName = new javax.xml.namespace.QName("http://simple.objects.vamsas", |
181 | "Object"); | |
182 | 0 | cachedSerQNames.add(qName); |
183 | 0 | cls = vamsas.objects.simple.Object.class; |
184 | 0 | cachedSerClasses.add(cls); |
185 | 0 | cachedSerFactories.add(beansf); |
186 | 0 | cachedDeserFactories.add(beandf); |
187 | ||
188 | 0 | qName = new javax.xml.namespace.QName("vamsas", "ArrayOf_xsd_string"); |
189 | 0 | cachedSerQNames.add(qName); |
190 | 0 | cls = java.lang.String[].class; |
191 | 0 | cachedSerClasses.add(cls); |
192 | 0 | cachedSerFactories.add(arraysf); |
193 | 0 | cachedDeserFactories.add(arraydf); |
194 | ||
195 | 0 | qName = new javax.xml.namespace.QName("simple.objects.vamsas", |
196 | "Alignment"); | |
197 | 0 | cachedSerQNames.add(qName); |
198 | 0 | cls = vamsas.objects.simple.Alignment.class; |
199 | 0 | cachedSerClasses.add(cls); |
200 | 0 | cachedSerFactories.add(beansf); |
201 | 0 | cachedDeserFactories.add(beandf); |
202 | ||
203 | 0 | qName = new javax.xml.namespace.QName("simple.objects.vamsas", |
204 | "Sequence"); | |
205 | 0 | cachedSerQNames.add(qName); |
206 | 0 | cls = vamsas.objects.simple.Sequence.class; |
207 | 0 | cachedSerClasses.add(cls); |
208 | 0 | cachedSerFactories.add(beansf); |
209 | 0 | cachedDeserFactories.add(beandf); |
210 | ||
211 | 0 | qName = new javax.xml.namespace.QName("vamsas", |
212 | "ArrayOf_tns1_Sequence"); | |
213 | 0 | cachedSerQNames.add(qName); |
214 | 0 | cls = vamsas.objects.simple.Sequence[].class; |
215 | 0 | cachedSerClasses.add(cls); |
216 | 0 | cachedSerFactories.add(arraysf); |
217 | 0 | cachedDeserFactories.add(arraydf); |
218 | ||
219 | 0 | qName = new javax.xml.namespace.QName("simple.objects.vamsas", |
220 | "SeqSearchResult"); | |
221 | 0 | cachedSerQNames.add(qName); |
222 | 0 | cls = vamsas.objects.simple.SeqSearchResult.class; |
223 | 0 | cachedSerClasses.add(cls); |
224 | 0 | cachedSerFactories.add(beansf); |
225 | 0 | cachedDeserFactories.add(beandf); |
226 | ||
227 | 0 | qName = new javax.xml.namespace.QName("simple.objects.vamsas", |
228 | "SequenceSet"); | |
229 | 0 | cachedSerQNames.add(qName); |
230 | 0 | cls = vamsas.objects.simple.SequenceSet.class; |
231 | 0 | cachedSerClasses.add(cls); |
232 | 0 | cachedSerFactories.add(beansf); |
233 | 0 | cachedDeserFactories.add(beandf); |
234 | ||
235 | } | |
236 | ||
237 | 0 | protected org.apache.axis.client.Call createCall() |
238 | throws java.rmi.RemoteException | |
239 | { | |
240 | 0 | try |
241 | { | |
242 | 0 | org.apache.axis.client.Call _call = (org.apache.axis.client.Call) super.service |
243 | .createCall(); | |
244 | 0 | if (super.maintainSessionSet) |
245 | { | |
246 | 0 | _call.setMaintainSession(super.maintainSession); |
247 | } | |
248 | 0 | if (super.cachedUsername != null) |
249 | { | |
250 | 0 | _call.setUsername(super.cachedUsername); |
251 | } | |
252 | 0 | if (super.cachedPassword != null) |
253 | { | |
254 | 0 | _call.setPassword(super.cachedPassword); |
255 | } | |
256 | 0 | if (super.cachedEndpoint != null) |
257 | { | |
258 | 0 | _call.setTargetEndpointAddress(super.cachedEndpoint); |
259 | } | |
260 | 0 | if (super.cachedTimeout != null) |
261 | { | |
262 | 0 | _call.setTimeout(super.cachedTimeout); |
263 | } | |
264 | 0 | if (super.cachedPortName != null) |
265 | { | |
266 | 0 | _call.setPortName(super.cachedPortName); |
267 | } | |
268 | 0 | java.util.Enumeration keys = super.cachedProperties.keys(); |
269 | 0 | while (keys.hasMoreElements()) |
270 | { | |
271 | 0 | java.lang.String key = (java.lang.String) keys.nextElement(); |
272 | 0 | _call.setProperty(key, super.cachedProperties.get(key)); |
273 | } | |
274 | // All the type mapping information is registered | |
275 | // when the first call is made. | |
276 | // The type mapping information is actually registered in | |
277 | // the TypeMappingRegistry of the service, which | |
278 | // is the reason why registration is only needed for the first call. | |
279 | 0 | synchronized (this) |
280 | { | |
281 | 0 | if (firstCall()) |
282 | { | |
283 | // must set encoding style before registering serializers | |
284 | 0 | _call.setSOAPVersion( |
285 | org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); | |
286 | 0 | _call.setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC); |
287 | 0 | for (int i = 0; i < cachedSerFactories.size(); ++i) |
288 | { | |
289 | 0 | java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i); |
290 | 0 | javax.xml.namespace.QName qName = (javax.xml.namespace.QName) cachedSerQNames |
291 | .get(i); | |
292 | 0 | java.lang.Class sf = (java.lang.Class) cachedSerFactories |
293 | .get(i); | |
294 | 0 | java.lang.Class df = (java.lang.Class) cachedDeserFactories |
295 | .get(i); | |
296 | 0 | _call.registerTypeMapping(cls, qName, sf, df, false); |
297 | } | |
298 | } | |
299 | } | |
300 | 0 | return _call; |
301 | } catch (java.lang.Throwable _t) | |
302 | { | |
303 | 0 | throw new org.apache.axis.AxisFault( |
304 | "Failure trying to get the Call object", _t); | |
305 | } | |
306 | } | |
307 | ||
308 | 0 | public java.lang.String getDatabase() throws java.rmi.RemoteException |
309 | { | |
310 | 0 | if (super.cachedEndpoint == null) |
311 | { | |
312 | 0 | throw new org.apache.axis.NoEndPointException(); |
313 | } | |
314 | 0 | org.apache.axis.client.Call _call = createCall(); |
315 | 0 | _call.setOperation(_operations[0]); |
316 | 0 | _call.setUseSOAPAction(true); |
317 | 0 | _call.setSOAPActionURI(""); |
318 | 0 | _call.setSOAPVersion( |
319 | org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); | |
320 | 0 | _call.setOperationName( |
321 | new javax.xml.namespace.QName("vamsas", "getDatabase")); | |
322 | ||
323 | 0 | setRequestHeaders(_call); |
324 | 0 | setAttachments(_call); |
325 | 0 | java.lang.Object _resp = _call.invoke(new java.lang.Object[] {}); |
326 | ||
327 | 0 | if (_resp instanceof java.rmi.RemoteException) |
328 | { | |
329 | 0 | throw (java.rmi.RemoteException) _resp; |
330 | } | |
331 | else | |
332 | { | |
333 | 0 | extractAttachments(_call); |
334 | 0 | try |
335 | { | |
336 | 0 | return (java.lang.String) _resp; |
337 | } catch (java.lang.Exception _exception) | |
338 | { | |
339 | 0 | return (java.lang.String) org.apache.axis.utils.JavaUtils |
340 | .convert(_resp, java.lang.String.class); | |
341 | } | |
342 | } | |
343 | } | |
344 | ||
345 | 0 | public vamsas.objects.simple.SeqSearchResult getResult( |
346 | java.lang.String job_id) throws java.rmi.RemoteException | |
347 | { | |
348 | 0 | if (super.cachedEndpoint == null) |
349 | { | |
350 | 0 | throw new org.apache.axis.NoEndPointException(); |
351 | } | |
352 | 0 | org.apache.axis.client.Call _call = createCall(); |
353 | 0 | _call.setOperation(_operations[1]); |
354 | 0 | _call.setUseSOAPAction(true); |
355 | 0 | _call.setSOAPActionURI(""); |
356 | 0 | _call.setSOAPVersion( |
357 | org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); | |
358 | 0 | _call.setOperationName( |
359 | new javax.xml.namespace.QName("vamsas", "getResult")); | |
360 | ||
361 | 0 | setRequestHeaders(_call); |
362 | 0 | setAttachments(_call); |
363 | 0 | java.lang.Object _resp = _call |
364 | .invoke(new java.lang.Object[] | |
365 | { job_id }); | |
366 | ||
367 | 0 | if (_resp instanceof java.rmi.RemoteException) |
368 | { | |
369 | 0 | throw (java.rmi.RemoteException) _resp; |
370 | } | |
371 | else | |
372 | { | |
373 | 0 | extractAttachments(_call); |
374 | 0 | try |
375 | { | |
376 | 0 | return (vamsas.objects.simple.SeqSearchResult) _resp; |
377 | } catch (java.lang.Exception _exception) | |
378 | { | |
379 | 0 | return (vamsas.objects.simple.SeqSearchResult) org.apache.axis.utils.JavaUtils |
380 | .convert(_resp, | |
381 | vamsas.objects.simple.SeqSearchResult.class); | |
382 | } | |
383 | } | |
384 | } | |
385 | ||
386 | 0 | public vamsas.objects.simple.WsJobId psearch( |
387 | vamsas.objects.simple.Alignment al, java.lang.String database) | |
388 | throws java.rmi.RemoteException | |
389 | { | |
390 | 0 | if (super.cachedEndpoint == null) |
391 | { | |
392 | 0 | throw new org.apache.axis.NoEndPointException(); |
393 | } | |
394 | 0 | org.apache.axis.client.Call _call = createCall(); |
395 | 0 | _call.setOperation(_operations[2]); |
396 | 0 | _call.setUseSOAPAction(true); |
397 | 0 | _call.setSOAPActionURI(""); |
398 | 0 | _call.setSOAPVersion( |
399 | org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); | |
400 | 0 | _call.setOperationName( |
401 | new javax.xml.namespace.QName("vamsas", "psearch")); | |
402 | ||
403 | 0 | setRequestHeaders(_call); |
404 | 0 | setAttachments(_call); |
405 | 0 | java.lang.Object _resp = _call |
406 | .invoke(new java.lang.Object[] | |
407 | { al, database }); | |
408 | ||
409 | 0 | if (_resp instanceof java.rmi.RemoteException) |
410 | { | |
411 | 0 | throw (java.rmi.RemoteException) _resp; |
412 | } | |
413 | else | |
414 | { | |
415 | 0 | extractAttachments(_call); |
416 | 0 | try |
417 | { | |
418 | 0 | return (vamsas.objects.simple.WsJobId) _resp; |
419 | } catch (java.lang.Exception _exception) | |
420 | { | |
421 | 0 | return (vamsas.objects.simple.WsJobId) org.apache.axis.utils.JavaUtils |
422 | .convert(_resp, vamsas.objects.simple.WsJobId.class); | |
423 | } | |
424 | } | |
425 | } | |
426 | ||
427 | 0 | public vamsas.objects.simple.WsJobId search( |
428 | vamsas.objects.simple.Sequence s, java.lang.String database) | |
429 | throws java.rmi.RemoteException | |
430 | { | |
431 | 0 | if (super.cachedEndpoint == null) |
432 | { | |
433 | 0 | throw new org.apache.axis.NoEndPointException(); |
434 | } | |
435 | 0 | org.apache.axis.client.Call _call = createCall(); |
436 | 0 | _call.setOperation(_operations[3]); |
437 | 0 | _call.setUseSOAPAction(true); |
438 | 0 | _call.setSOAPActionURI(""); |
439 | 0 | _call.setSOAPVersion( |
440 | org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); | |
441 | 0 | _call.setOperationName( |
442 | new javax.xml.namespace.QName("vamsas", "search")); | |
443 | ||
444 | 0 | setRequestHeaders(_call); |
445 | 0 | setAttachments(_call); |
446 | 0 | java.lang.Object _resp = _call |
447 | .invoke(new java.lang.Object[] | |
448 | { s, database }); | |
449 | ||
450 | 0 | if (_resp instanceof java.rmi.RemoteException) |
451 | { | |
452 | 0 | throw (java.rmi.RemoteException) _resp; |
453 | } | |
454 | else | |
455 | { | |
456 | 0 | extractAttachments(_call); |
457 | 0 | try |
458 | { | |
459 | 0 | return (vamsas.objects.simple.WsJobId) _resp; |
460 | } catch (java.lang.Exception _exception) | |
461 | { | |
462 | 0 | return (vamsas.objects.simple.WsJobId) org.apache.axis.utils.JavaUtils |
463 | .convert(_resp, vamsas.objects.simple.WsJobId.class); | |
464 | } | |
465 | } | |
466 | } | |
467 | ||
468 | 0 | public vamsas.objects.simple.WsJobId cancel(java.lang.String jobId) |
469 | throws java.rmi.RemoteException | |
470 | { | |
471 | 0 | if (super.cachedEndpoint == null) |
472 | { | |
473 | 0 | throw new org.apache.axis.NoEndPointException(); |
474 | } | |
475 | 0 | org.apache.axis.client.Call _call = createCall(); |
476 | 0 | _call.setOperation(_operations[4]); |
477 | 0 | _call.setUseSOAPAction(true); |
478 | 0 | _call.setSOAPActionURI(""); |
479 | 0 | _call.setSOAPVersion( |
480 | org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); | |
481 | 0 | _call.setOperationName( |
482 | new javax.xml.namespace.QName("vamsas", "cancel")); | |
483 | ||
484 | 0 | setRequestHeaders(_call); |
485 | 0 | setAttachments(_call); |
486 | 0 | java.lang.Object _resp = _call.invoke(new java.lang.Object[] { jobId }); |
487 | ||
488 | 0 | if (_resp instanceof java.rmi.RemoteException) |
489 | { | |
490 | 0 | throw (java.rmi.RemoteException) _resp; |
491 | } | |
492 | else | |
493 | { | |
494 | 0 | extractAttachments(_call); |
495 | 0 | try |
496 | { | |
497 | 0 | return (vamsas.objects.simple.WsJobId) _resp; |
498 | } catch (java.lang.Exception _exception) | |
499 | { | |
500 | 0 | return (vamsas.objects.simple.WsJobId) org.apache.axis.utils.JavaUtils |
501 | .convert(_resp, vamsas.objects.simple.WsJobId.class); | |
502 | } | |
503 | } | |
504 | } | |
505 | ||
506 | } |