001: /**
002: * SQLExecutionActionResultSoapBindingStub.java
003: *
004: * This file was auto-generated from WSDL
005: * by the Apache Axis 1.4 Nov 19, 2006 (02:31:34 GMT+00:00) WSDL2Java emitter.
006: */package org.objectweb.salome_tmf.soap;
007:
008: import org.objectweb.salome_tmf.api.Permission;
009: import org.objectweb.salome_tmf.api.data.DataWrapper;
010: import org.objectweb.salome_tmf.api.data.ExecutionActionWrapper;
011: import org.objectweb.salome_tmf.api.sql.ISQLExecutionActionResult;
012: import org.objectweb.salome_tmf.databaseSQL.SecurityException;
013:
014: public class SQLExecutionActionResultSoapBindingStub extends StubClient
015: implements ISQLExecutionActionResult {
016: private java.util.Vector cachedSerClasses = new java.util.Vector();
017: private java.util.Vector cachedSerQNames = new java.util.Vector();
018: private java.util.Vector cachedSerFactories = new java.util.Vector();
019: private java.util.Vector cachedDeserFactories = new java.util.Vector();
020:
021: static org.apache.axis.description.OperationDesc[] _operations;
022:
023: static {
024: _operations = new org.apache.axis.description.OperationDesc[10];
025: _initOperationDesc1();
026: }
027:
028: private static void _initOperationDesc1() {
029: org.apache.axis.description.OperationDesc oper;
030: org.apache.axis.description.ParameterDesc param;
031: oper = new org.apache.axis.description.OperationDesc();
032: oper.setName("deleteAll");
033: param = new org.apache.axis.description.ParameterDesc(
034: new javax.xml.namespace.QName("", "in0"),
035: org.apache.axis.description.ParameterDesc.IN,
036: new javax.xml.namespace.QName(
037: "http://www.w3.org/2001/XMLSchema", "int"),
038: int.class, false, false);
039: oper.addParameter(param);
040: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
041: oper.setStyle(org.apache.axis.constants.Style.RPC);
042: oper.setUse(org.apache.axis.constants.Use.LITERAL);
043: _operations[0] = oper;
044:
045: oper = new org.apache.axis.description.OperationDesc();
046: oper.setName("getExecAction");
047: param = new org.apache.axis.description.ParameterDesc(
048: new javax.xml.namespace.QName("", "in0"),
049: org.apache.axis.description.ParameterDesc.IN,
050: new javax.xml.namespace.QName(
051: "http://www.w3.org/2001/XMLSchema", "int"),
052: int.class, false, false);
053: oper.addParameter(param);
054: oper.setReturnType(new javax.xml.namespace.QName(
055: "http://data.api.salome_tmf.objectweb.org",
056: "ExecutionActionWrapper"));
057: oper.setReturnClass(ExecutionActionWrapper.class);
058: oper.setReturnQName(new javax.xml.namespace.QName("",
059: "getExecActionReturn"));
060: oper.setStyle(org.apache.axis.constants.Style.RPC);
061: oper.setUse(org.apache.axis.constants.Use.LITERAL);
062: _operations[1] = oper;
063:
064: oper = new org.apache.axis.description.OperationDesc();
065: oper.setName("delete");
066: param = new org.apache.axis.description.ParameterDesc(
067: new javax.xml.namespace.QName("", "in0"),
068: org.apache.axis.description.ParameterDesc.IN,
069: new javax.xml.namespace.QName(
070: "http://www.w3.org/2001/XMLSchema", "int"),
071: int.class, false, false);
072: oper.addParameter(param);
073: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
074: oper.setStyle(org.apache.axis.constants.Style.RPC);
075: oper.setUse(org.apache.axis.constants.Use.LITERAL);
076: _operations[2] = oper;
077:
078: oper = new org.apache.axis.description.OperationDesc();
079: oper.setName("insert");
080: param = new org.apache.axis.description.ParameterDesc(
081: new javax.xml.namespace.QName("", "in0"),
082: org.apache.axis.description.ParameterDesc.IN,
083: new javax.xml.namespace.QName(
084: "http://www.w3.org/2001/XMLSchema", "int"),
085: int.class, false, false);
086: oper.addParameter(param);
087: param = new org.apache.axis.description.ParameterDesc(
088: new javax.xml.namespace.QName("", "in1"),
089: org.apache.axis.description.ParameterDesc.IN,
090: new javax.xml.namespace.QName(
091: "http://www.w3.org/2001/XMLSchema", "int"),
092: int.class, false, false);
093: oper.addParameter(param);
094: param = new org.apache.axis.description.ParameterDesc(
095: new javax.xml.namespace.QName("", "in2"),
096: org.apache.axis.description.ParameterDesc.IN,
097: new javax.xml.namespace.QName(
098: "http://www.w3.org/2001/XMLSchema", "string"),
099: java.lang.String.class, false, false);
100: oper.addParameter(param);
101: param = new org.apache.axis.description.ParameterDesc(
102: new javax.xml.namespace.QName("", "in3"),
103: org.apache.axis.description.ParameterDesc.IN,
104: new javax.xml.namespace.QName(
105: "http://www.w3.org/2001/XMLSchema", "string"),
106: java.lang.String.class, false, false);
107: oper.addParameter(param);
108: param = new org.apache.axis.description.ParameterDesc(
109: new javax.xml.namespace.QName("", "in4"),
110: org.apache.axis.description.ParameterDesc.IN,
111: new javax.xml.namespace.QName(
112: "http://www.w3.org/2001/XMLSchema", "string"),
113: java.lang.String.class, false, false);
114: oper.addParameter(param);
115: param = new org.apache.axis.description.ParameterDesc(
116: new javax.xml.namespace.QName("", "in5"),
117: org.apache.axis.description.ParameterDesc.IN,
118: new javax.xml.namespace.QName(
119: "http://www.w3.org/2001/XMLSchema", "string"),
120: java.lang.String.class, false, false);
121: oper.addParameter(param);
122: oper.setReturnType(new javax.xml.namespace.QName(
123: "http://www.w3.org/2001/XMLSchema", "int"));
124: oper.setReturnClass(int.class);
125: oper.setReturnQName(new javax.xml.namespace.QName("",
126: "insertReturn"));
127: oper.setStyle(org.apache.axis.constants.Style.RPC);
128: oper.setUse(org.apache.axis.constants.Use.LITERAL);
129: _operations[3] = oper;
130:
131: oper = new org.apache.axis.description.OperationDesc();
132: oper.setName("insert");
133: param = new org.apache.axis.description.ParameterDesc(
134: new javax.xml.namespace.QName("", "in0"),
135: org.apache.axis.description.ParameterDesc.IN,
136: new javax.xml.namespace.QName(
137: "http://www.w3.org/2001/XMLSchema", "int"),
138: int.class, false, false);
139: oper.addParameter(param);
140: param = new org.apache.axis.description.ParameterDesc(
141: new javax.xml.namespace.QName("", "in1"),
142: org.apache.axis.description.ParameterDesc.IN,
143: new javax.xml.namespace.QName(
144: "http://www.w3.org/2001/XMLSchema", "int"),
145: int.class, false, false);
146: oper.addParameter(param);
147: param = new org.apache.axis.description.ParameterDesc(
148: new javax.xml.namespace.QName("", "in2"),
149: org.apache.axis.description.ParameterDesc.IN,
150: new javax.xml.namespace.QName(
151: "http://www.w3.org/2001/XMLSchema", "int"),
152: int.class, false, false);
153: oper.addParameter(param);
154: param = new org.apache.axis.description.ParameterDesc(
155: new javax.xml.namespace.QName("", "in3"),
156: org.apache.axis.description.ParameterDesc.IN,
157: new javax.xml.namespace.QName(
158: "http://www.w3.org/2001/XMLSchema", "string"),
159: java.lang.String.class, false, false);
160: oper.addParameter(param);
161: param = new org.apache.axis.description.ParameterDesc(
162: new javax.xml.namespace.QName("", "in4"),
163: org.apache.axis.description.ParameterDesc.IN,
164: new javax.xml.namespace.QName(
165: "http://www.w3.org/2001/XMLSchema", "string"),
166: java.lang.String.class, false, false);
167: oper.addParameter(param);
168: param = new org.apache.axis.description.ParameterDesc(
169: new javax.xml.namespace.QName("", "in5"),
170: org.apache.axis.description.ParameterDesc.IN,
171: new javax.xml.namespace.QName(
172: "http://www.w3.org/2001/XMLSchema", "string"),
173: java.lang.String.class, false, false);
174: oper.addParameter(param);
175: param = new org.apache.axis.description.ParameterDesc(
176: new javax.xml.namespace.QName("", "in6"),
177: org.apache.axis.description.ParameterDesc.IN,
178: new javax.xml.namespace.QName(
179: "http://www.w3.org/2001/XMLSchema", "string"),
180: java.lang.String.class, false, false);
181: oper.addParameter(param);
182: oper.setReturnType(new javax.xml.namespace.QName(
183: "http://www.w3.org/2001/XMLSchema", "int"));
184: oper.setReturnClass(int.class);
185: oper.setReturnQName(new javax.xml.namespace.QName("",
186: "insertReturn"));
187: oper.setStyle(org.apache.axis.constants.Style.RPC);
188: oper.setUse(org.apache.axis.constants.Use.LITERAL);
189: _operations[4] = oper;
190:
191: oper = new org.apache.axis.description.OperationDesc();
192: oper.setName("getID");
193: param = new org.apache.axis.description.ParameterDesc(
194: new javax.xml.namespace.QName("", "in0"),
195: org.apache.axis.description.ParameterDesc.IN,
196: new javax.xml.namespace.QName(
197: "http://www.w3.org/2001/XMLSchema", "int"),
198: int.class, false, false);
199: oper.addParameter(param);
200: param = new org.apache.axis.description.ParameterDesc(
201: new javax.xml.namespace.QName("", "in1"),
202: org.apache.axis.description.ParameterDesc.IN,
203: new javax.xml.namespace.QName(
204: "http://www.w3.org/2001/XMLSchema", "int"),
205: int.class, false, false);
206: oper.addParameter(param);
207: oper.setReturnType(new javax.xml.namespace.QName(
208: "http://www.w3.org/2001/XMLSchema", "int"));
209: oper.setReturnClass(int.class);
210: oper.setReturnQName(new javax.xml.namespace.QName("",
211: "getIDReturn"));
212: oper.setStyle(org.apache.axis.constants.Style.RPC);
213: oper.setUse(org.apache.axis.constants.Use.LITERAL);
214: _operations[5] = oper;
215:
216: oper = new org.apache.axis.description.OperationDesc();
217: oper.setName("update");
218: param = new org.apache.axis.description.ParameterDesc(
219: new javax.xml.namespace.QName("", "in0"),
220: org.apache.axis.description.ParameterDesc.IN,
221: new javax.xml.namespace.QName(
222: "http://www.w3.org/2001/XMLSchema", "int"),
223: int.class, false, false);
224: oper.addParameter(param);
225: param = new org.apache.axis.description.ParameterDesc(
226: new javax.xml.namespace.QName("", "in1"),
227: org.apache.axis.description.ParameterDesc.IN,
228: new javax.xml.namespace.QName(
229: "http://www.w3.org/2001/XMLSchema", "string"),
230: java.lang.String.class, false, false);
231: oper.addParameter(param);
232: param = new org.apache.axis.description.ParameterDesc(
233: new javax.xml.namespace.QName("", "in2"),
234: org.apache.axis.description.ParameterDesc.IN,
235: new javax.xml.namespace.QName(
236: "http://www.w3.org/2001/XMLSchema", "string"),
237: java.lang.String.class, false, false);
238: oper.addParameter(param);
239: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
240: oper.setStyle(org.apache.axis.constants.Style.RPC);
241: oper.setUse(org.apache.axis.constants.Use.LITERAL);
242: _operations[6] = oper;
243:
244: oper = new org.apache.axis.description.OperationDesc();
245: oper.setName("update");
246: param = new org.apache.axis.description.ParameterDesc(
247: new javax.xml.namespace.QName("", "in0"),
248: org.apache.axis.description.ParameterDesc.IN,
249: new javax.xml.namespace.QName(
250: "http://www.w3.org/2001/XMLSchema", "int"),
251: int.class, false, false);
252: oper.addParameter(param);
253: param = new org.apache.axis.description.ParameterDesc(
254: new javax.xml.namespace.QName("", "in1"),
255: org.apache.axis.description.ParameterDesc.IN,
256: new javax.xml.namespace.QName(
257: "http://www.w3.org/2001/XMLSchema", "int"),
258: int.class, false, false);
259: oper.addParameter(param);
260: param = new org.apache.axis.description.ParameterDesc(
261: new javax.xml.namespace.QName("", "in2"),
262: org.apache.axis.description.ParameterDesc.IN,
263: new javax.xml.namespace.QName(
264: "http://www.w3.org/2001/XMLSchema", "int"),
265: int.class, false, false);
266: oper.addParameter(param);
267: param = new org.apache.axis.description.ParameterDesc(
268: new javax.xml.namespace.QName("", "in3"),
269: org.apache.axis.description.ParameterDesc.IN,
270: new javax.xml.namespace.QName(
271: "http://www.w3.org/2001/XMLSchema", "string"),
272: java.lang.String.class, false, false);
273: oper.addParameter(param);
274: param = new org.apache.axis.description.ParameterDesc(
275: new javax.xml.namespace.QName("", "in4"),
276: org.apache.axis.description.ParameterDesc.IN,
277: new javax.xml.namespace.QName(
278: "http://www.w3.org/2001/XMLSchema", "string"),
279: java.lang.String.class, false, false);
280: oper.addParameter(param);
281: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
282: oper.setStyle(org.apache.axis.constants.Style.RPC);
283: oper.setUse(org.apache.axis.constants.Use.LITERAL);
284: _operations[7] = oper;
285:
286: oper = new org.apache.axis.description.OperationDesc();
287: oper.setName("update");
288: param = new org.apache.axis.description.ParameterDesc(
289: new javax.xml.namespace.QName("", "in0"),
290: org.apache.axis.description.ParameterDesc.IN,
291: new javax.xml.namespace.QName(
292: "http://www.w3.org/2001/XMLSchema", "int"),
293: int.class, false, false);
294: oper.addParameter(param);
295: param = new org.apache.axis.description.ParameterDesc(
296: new javax.xml.namespace.QName("", "in1"),
297: org.apache.axis.description.ParameterDesc.IN,
298: new javax.xml.namespace.QName(
299: "http://www.w3.org/2001/XMLSchema", "int"),
300: int.class, false, false);
301: oper.addParameter(param);
302: param = new org.apache.axis.description.ParameterDesc(
303: new javax.xml.namespace.QName("", "in2"),
304: org.apache.axis.description.ParameterDesc.IN,
305: new javax.xml.namespace.QName(
306: "http://www.w3.org/2001/XMLSchema", "string"),
307: java.lang.String.class, false, false);
308: oper.addParameter(param);
309: param = new org.apache.axis.description.ParameterDesc(
310: new javax.xml.namespace.QName("", "in3"),
311: org.apache.axis.description.ParameterDesc.IN,
312: new javax.xml.namespace.QName(
313: "http://www.w3.org/2001/XMLSchema", "string"),
314: java.lang.String.class, false, false);
315: oper.addParameter(param);
316: param = new org.apache.axis.description.ParameterDesc(
317: new javax.xml.namespace.QName("", "in4"),
318: org.apache.axis.description.ParameterDesc.IN,
319: new javax.xml.namespace.QName(
320: "http://www.w3.org/2001/XMLSchema", "string"),
321: java.lang.String.class, false, false);
322: oper.addParameter(param);
323: param = new org.apache.axis.description.ParameterDesc(
324: new javax.xml.namespace.QName("", "in5"),
325: org.apache.axis.description.ParameterDesc.IN,
326: new javax.xml.namespace.QName(
327: "http://www.w3.org/2001/XMLSchema", "string"),
328: java.lang.String.class, false, false);
329: oper.addParameter(param);
330: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
331: oper.setStyle(org.apache.axis.constants.Style.RPC);
332: oper.setUse(org.apache.axis.constants.Use.LITERAL);
333: _operations[8] = oper;
334:
335: oper = new org.apache.axis.description.OperationDesc();
336: oper.setName("update");
337: param = new org.apache.axis.description.ParameterDesc(
338: new javax.xml.namespace.QName("", "in0"),
339: org.apache.axis.description.ParameterDesc.IN,
340: new javax.xml.namespace.QName(
341: "http://www.w3.org/2001/XMLSchema", "int"),
342: int.class, false, false);
343: oper.addParameter(param);
344: param = new org.apache.axis.description.ParameterDesc(
345: new javax.xml.namespace.QName("", "in1"),
346: org.apache.axis.description.ParameterDesc.IN,
347: new javax.xml.namespace.QName(
348: "http://www.w3.org/2001/XMLSchema", "int"),
349: int.class, false, false);
350: oper.addParameter(param);
351: param = new org.apache.axis.description.ParameterDesc(
352: new javax.xml.namespace.QName("", "in2"),
353: org.apache.axis.description.ParameterDesc.IN,
354: new javax.xml.namespace.QName(
355: "http://www.w3.org/2001/XMLSchema", "string"),
356: java.lang.String.class, false, false);
357: oper.addParameter(param);
358: param = new org.apache.axis.description.ParameterDesc(
359: new javax.xml.namespace.QName("", "in3"),
360: org.apache.axis.description.ParameterDesc.IN,
361: new javax.xml.namespace.QName(
362: "http://www.w3.org/2001/XMLSchema", "string"),
363: java.lang.String.class, false, false);
364: oper.addParameter(param);
365: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
366: oper.setStyle(org.apache.axis.constants.Style.RPC);
367: oper.setUse(org.apache.axis.constants.Use.LITERAL);
368: _operations[9] = oper;
369:
370: }
371:
372: public SQLExecutionActionResultSoapBindingStub()
373: throws org.apache.axis.AxisFault {
374: this (null);
375: }
376:
377: public SQLExecutionActionResultSoapBindingStub(
378: java.net.URL endpointURL, javax.xml.rpc.Service service)
379: throws org.apache.axis.AxisFault {
380: this (service);
381: super .cachedEndpoint = endpointURL;
382: }
383:
384: public SQLExecutionActionResultSoapBindingStub(
385: javax.xml.rpc.Service service)
386: throws org.apache.axis.AxisFault {
387: if (service == null) {
388: super .service = new org.apache.axis.client.Service();
389: } else {
390: super .service = service;
391: }
392: ((org.apache.axis.client.Service) super .service)
393: .setTypeMappingVersion("1.2");
394: java.lang.Class cls;
395: javax.xml.namespace.QName qName;
396: javax.xml.namespace.QName qName2;
397: java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
398: java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
399: java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
400: java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
401: java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
402: java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
403: java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
404: java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
405: java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
406: java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
407: qName = new javax.xml.namespace.QName(
408: "http://data.api.salome_tmf.objectweb.org",
409: "DataWrapper");
410: cachedSerQNames.add(qName);
411: cls = DataWrapper.class;
412: cachedSerClasses.add(cls);
413: cachedSerFactories.add(beansf);
414: cachedDeserFactories.add(beandf);
415:
416: qName = new javax.xml.namespace.QName(
417: "http://data.api.salome_tmf.objectweb.org",
418: "ExecutionActionWrapper");
419: cachedSerQNames.add(qName);
420: cls = ExecutionActionWrapper.class;
421: cachedSerClasses.add(cls);
422: cachedSerFactories.add(beansf);
423: cachedDeserFactories.add(beandf);
424:
425: }
426:
427: protected org.apache.axis.client.Call createCall()
428: throws java.rmi.RemoteException {
429: try {
430: org.apache.axis.client.Call _call = super ._createCall();
431: if (super .maintainSessionSet) {
432: _call.setMaintainSession(super .maintainSession);
433: }
434: if (super .cachedUsername != null) {
435: _call.setUsername(super .cachedUsername);
436: }
437: if (super .cachedPassword != null) {
438: _call.setPassword(super .cachedPassword);
439: }
440: if (super .cachedEndpoint != null) {
441: _call.setTargetEndpointAddress(super .cachedEndpoint);
442: }
443: if (super .cachedTimeout != null) {
444: _call.setTimeout(super .cachedTimeout);
445: }
446: if (super .cachedPortName != null) {
447: _call.setPortName(super .cachedPortName);
448: }
449: java.util.Enumeration keys = super .cachedProperties.keys();
450: while (keys.hasMoreElements()) {
451: java.lang.String key = (java.lang.String) keys
452: .nextElement();
453: _call.setProperty(key, super .cachedProperties.get(key));
454: }
455: // All the type mapping information is registered
456: // when the first call is made.
457: // The type mapping information is actually registered in
458: // the TypeMappingRegistry of the service, which
459: // is the reason why registration is only needed for the first call.
460: synchronized (this ) {
461: if (firstCall()) {
462: // must set encoding style before registering serializers
463: _call.setEncodingStyle(null);
464: for (int i = 0; i < cachedSerFactories.size(); ++i) {
465: java.lang.Class cls = (java.lang.Class) cachedSerClasses
466: .get(i);
467: javax.xml.namespace.QName qName = (javax.xml.namespace.QName) cachedSerQNames
468: .get(i);
469: java.lang.Object x = cachedSerFactories.get(i);
470: if (x instanceof Class) {
471: java.lang.Class sf = (java.lang.Class) cachedSerFactories
472: .get(i);
473: java.lang.Class df = (java.lang.Class) cachedDeserFactories
474: .get(i);
475: _call.registerTypeMapping(cls, qName, sf,
476: df, false);
477: } else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
478: org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) cachedSerFactories
479: .get(i);
480: org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) cachedDeserFactories
481: .get(i);
482: _call.registerTypeMapping(cls, qName, sf,
483: df, false);
484: }
485: }
486: }
487: }
488: return _call;
489: } catch (java.lang.Exception _t) {
490: throw new org.apache.axis.AxisFault(
491: "Failure trying to get the Call object", _t);
492: }
493: }
494:
495: public void deleteAll(int in0) throws java.rmi.RemoteException {
496: if (!(Permission.canExecutCamp())) {
497: try {
498: throw new Exception(
499: "[SQLExecutionTestResult : deleteAll -> canExecutCamp]");
500: } catch (Exception e) {
501: e.printStackTrace();
502: }
503: }
504: if (super .cachedEndpoint == null) {
505: throw new org.apache.axis.NoEndPointException();
506: }
507: org.apache.axis.client.Call _call = createCall();
508: _call.setOperation(_operations[0]);
509: _call.setUseSOAPAction(true);
510: _call.setSOAPActionURI("");
511: _call.setEncodingStyle(null);
512: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
513: Boolean.FALSE);
514: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
515: Boolean.FALSE);
516: _call
517: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
518: _call.setOperationName(new javax.xml.namespace.QName(
519: "http://soap.salome_tmf.objectweb.org", "deleteAll"));
520:
521: setRequestHeaders(_call);
522: setAttachments(_call);
523: try {
524: java.lang.Object _resp = _call
525: .invoke(new java.lang.Object[] { new java.lang.Integer(
526: in0) });
527:
528: if (_resp instanceof java.rmi.RemoteException) {
529: throw (java.rmi.RemoteException) _resp;
530: }
531: extractAttachments(_call);
532: } catch (org.apache.axis.AxisFault axisFaultException) {
533: throw axisFaultException;
534: }
535: }
536:
537: public ExecutionActionWrapper getExecAction(int in0)
538: throws java.rmi.RemoteException {
539: if (super .cachedEndpoint == null) {
540: throw new org.apache.axis.NoEndPointException();
541: }
542: org.apache.axis.client.Call _call = createCall();
543: _call.setOperation(_operations[1]);
544: _call.setUseSOAPAction(true);
545: _call.setSOAPActionURI("");
546: _call.setEncodingStyle(null);
547: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
548: Boolean.FALSE);
549: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
550: Boolean.FALSE);
551: _call
552: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
553: _call
554: .setOperationName(new javax.xml.namespace.QName(
555: "http://soap.salome_tmf.objectweb.org",
556: "getExecAction"));
557:
558: setRequestHeaders(_call);
559: setAttachments(_call);
560: try {
561: java.lang.Object _resp = _call
562: .invoke(new java.lang.Object[] { new java.lang.Integer(
563: in0) });
564:
565: if (_resp instanceof java.rmi.RemoteException) {
566: throw (java.rmi.RemoteException) _resp;
567: } else {
568: extractAttachments(_call);
569: try {
570: return (ExecutionActionWrapper) _resp;
571: } catch (java.lang.Exception _exception) {
572: return (ExecutionActionWrapper) org.apache.axis.utils.JavaUtils
573: .convert(_resp,
574: ExecutionActionWrapper.class);
575: }
576: }
577: } catch (org.apache.axis.AxisFault axisFaultException) {
578: throw axisFaultException;
579: }
580: }
581:
582: public void delete(int in0) throws java.rmi.RemoteException {
583: if (!(Permission.canExecutCamp())) {
584: try {
585: throw new Exception(
586: "[SQLExecutionTestResult : delete -> canExecutCamp]");
587: } catch (Exception e) {
588: e.printStackTrace();
589: }
590: }
591: if (super .cachedEndpoint == null) {
592: throw new org.apache.axis.NoEndPointException();
593: }
594: org.apache.axis.client.Call _call = createCall();
595: _call.setOperation(_operations[2]);
596: _call.setUseSOAPAction(true);
597: _call.setSOAPActionURI("");
598: _call.setEncodingStyle(null);
599: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
600: Boolean.FALSE);
601: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
602: Boolean.FALSE);
603: _call
604: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
605: _call.setOperationName(new javax.xml.namespace.QName(
606: "http://soap.salome_tmf.objectweb.org", "delete"));
607:
608: setRequestHeaders(_call);
609: setAttachments(_call);
610: try {
611: java.lang.Object _resp = _call
612: .invoke(new java.lang.Object[] { new java.lang.Integer(
613: in0) });
614:
615: if (_resp instanceof java.rmi.RemoteException) {
616: throw (java.rmi.RemoteException) _resp;
617: }
618: extractAttachments(_call);
619: } catch (org.apache.axis.AxisFault axisFaultException) {
620: throw axisFaultException;
621: }
622: }
623:
624: public int insert(int in0, int in1, java.lang.String in2,
625: java.lang.String in3, java.lang.String in4,
626: java.lang.String in5) throws java.rmi.RemoteException {
627: if (!(Permission.canExecutCamp())) {
628: try {
629: throw new Exception(
630: "[SQLExecutionTestResult : insert -> canExecutCamp]");
631: } catch (Exception e) {
632: e.printStackTrace();
633: }
634: }
635: if (super .cachedEndpoint == null) {
636: throw new org.apache.axis.NoEndPointException();
637: }
638: org.apache.axis.client.Call _call = createCall();
639: _call.setOperation(_operations[3]);
640: _call.setUseSOAPAction(true);
641: _call.setSOAPActionURI("");
642: _call.setEncodingStyle(null);
643: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
644: Boolean.FALSE);
645: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
646: Boolean.FALSE);
647: _call
648: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
649: _call.setOperationName(new javax.xml.namespace.QName(
650: "http://soap.salome_tmf.objectweb.org", "insert"));
651:
652: setRequestHeaders(_call);
653: setAttachments(_call);
654: try {
655: java.lang.Object _resp = _call
656: .invoke(new java.lang.Object[] {
657: new java.lang.Integer(in0),
658: new java.lang.Integer(in1), in2, in3, in4,
659: in5 });
660:
661: if (_resp instanceof java.rmi.RemoteException) {
662: throw (java.rmi.RemoteException) _resp;
663: } else {
664: extractAttachments(_call);
665: try {
666: return ((java.lang.Integer) _resp).intValue();
667: } catch (java.lang.Exception _exception) {
668: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
669: .convert(_resp, int.class)).intValue();
670: }
671: }
672: } catch (org.apache.axis.AxisFault axisFaultException) {
673: throw axisFaultException;
674: }
675: }
676:
677: public int insert(int in0, int in1, int in2, java.lang.String in3,
678: java.lang.String in4, java.lang.String in5,
679: java.lang.String in6) throws java.rmi.RemoteException {
680: if (super .cachedEndpoint == null) {
681: throw new org.apache.axis.NoEndPointException();
682: }
683: org.apache.axis.client.Call _call = createCall();
684: _call.setOperation(_operations[4]);
685: _call.setUseSOAPAction(true);
686: _call.setSOAPActionURI("");
687: _call.setEncodingStyle(null);
688: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
689: Boolean.FALSE);
690: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
691: Boolean.FALSE);
692: _call
693: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
694: _call.setOperationName(new javax.xml.namespace.QName(
695: "http://soap.salome_tmf.objectweb.org", "insert"));
696:
697: setRequestHeaders(_call);
698: setAttachments(_call);
699: try {
700: java.lang.Object _resp = _call
701: .invoke(new java.lang.Object[] {
702: new java.lang.Integer(in0),
703: new java.lang.Integer(in1),
704: new java.lang.Integer(in2), in3, in4, in5,
705: in6 });
706:
707: if (_resp instanceof java.rmi.RemoteException) {
708: throw (java.rmi.RemoteException) _resp;
709: } else {
710: extractAttachments(_call);
711: try {
712: return ((java.lang.Integer) _resp).intValue();
713: } catch (java.lang.Exception _exception) {
714: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
715: .convert(_resp, int.class)).intValue();
716: }
717: }
718: } catch (org.apache.axis.AxisFault axisFaultException) {
719: throw axisFaultException;
720: }
721: }
722:
723: public int getID(int in0, int in1) throws java.rmi.RemoteException {
724: if (super .cachedEndpoint == null) {
725: throw new org.apache.axis.NoEndPointException();
726: }
727: org.apache.axis.client.Call _call = createCall();
728: _call.setOperation(_operations[5]);
729: _call.setUseSOAPAction(true);
730: _call.setSOAPActionURI("");
731: _call.setEncodingStyle(null);
732: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
733: Boolean.FALSE);
734: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
735: Boolean.FALSE);
736: _call
737: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
738: _call.setOperationName(new javax.xml.namespace.QName(
739: "http://soap.salome_tmf.objectweb.org", "getID"));
740:
741: setRequestHeaders(_call);
742: setAttachments(_call);
743: try {
744: java.lang.Object _resp = _call
745: .invoke(new java.lang.Object[] {
746: new java.lang.Integer(in0),
747: new java.lang.Integer(in1) });
748:
749: if (_resp instanceof java.rmi.RemoteException) {
750: throw (java.rmi.RemoteException) _resp;
751: } else {
752: extractAttachments(_call);
753: try {
754: return ((java.lang.Integer) _resp).intValue();
755: } catch (java.lang.Exception _exception) {
756: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
757: .convert(_resp, int.class)).intValue();
758: }
759: }
760: } catch (org.apache.axis.AxisFault axisFaultException) {
761: throw axisFaultException;
762: }
763: }
764:
765: public void update(int in0, java.lang.String in1,
766: java.lang.String in2) throws java.rmi.RemoteException {
767: if (super .cachedEndpoint == null) {
768: throw new org.apache.axis.NoEndPointException();
769: }
770: org.apache.axis.client.Call _call = createCall();
771: _call.setOperation(_operations[6]);
772: _call.setUseSOAPAction(true);
773: _call.setSOAPActionURI("");
774: _call.setEncodingStyle(null);
775: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
776: Boolean.FALSE);
777: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
778: Boolean.FALSE);
779: _call
780: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
781: _call.setOperationName(new javax.xml.namespace.QName(
782: "http://soap.salome_tmf.objectweb.org", "update"));
783:
784: setRequestHeaders(_call);
785: setAttachments(_call);
786: try {
787: java.lang.Object _resp = _call
788: .invoke(new java.lang.Object[] {
789: new java.lang.Integer(in0), in1, in2 });
790:
791: if (_resp instanceof java.rmi.RemoteException) {
792: throw (java.rmi.RemoteException) _resp;
793: }
794: extractAttachments(_call);
795: } catch (org.apache.axis.AxisFault axisFaultException) {
796: throw axisFaultException;
797: }
798: }
799:
800: public void update(int in0, int in1, int in2, java.lang.String in3,
801: java.lang.String in4) throws java.rmi.RemoteException {
802: if (super .cachedEndpoint == null) {
803: throw new org.apache.axis.NoEndPointException();
804: }
805: org.apache.axis.client.Call _call = createCall();
806: _call.setOperation(_operations[7]);
807: _call.setUseSOAPAction(true);
808: _call.setSOAPActionURI("");
809: _call.setEncodingStyle(null);
810: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
811: Boolean.FALSE);
812: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
813: Boolean.FALSE);
814: _call
815: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
816: _call.setOperationName(new javax.xml.namespace.QName(
817: "http://soap.salome_tmf.objectweb.org", "update"));
818:
819: setRequestHeaders(_call);
820: setAttachments(_call);
821: try {
822: java.lang.Object _resp = _call
823: .invoke(new java.lang.Object[] {
824: new java.lang.Integer(in0),
825: new java.lang.Integer(in1),
826: new java.lang.Integer(in2), in3, in4 });
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: public void update(int in0, int in1, java.lang.String in2,
838: java.lang.String in3, java.lang.String in4,
839: java.lang.String in5) throws java.rmi.RemoteException {
840: if (!(Permission.canExecutCamp())) {
841: try {
842: throw new Exception(
843: "[SQLExecutionTestResult : update -> canExecutCamp]");
844: } catch (Exception e) {
845: e.printStackTrace();
846: }
847: }
848: if (super .cachedEndpoint == null) {
849: throw new org.apache.axis.NoEndPointException();
850: }
851: org.apache.axis.client.Call _call = createCall();
852: _call.setOperation(_operations[8]);
853: _call.setUseSOAPAction(true);
854: _call.setSOAPActionURI("");
855: _call.setEncodingStyle(null);
856: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
857: Boolean.FALSE);
858: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
859: Boolean.FALSE);
860: _call
861: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
862: _call.setOperationName(new javax.xml.namespace.QName(
863: "http://soap.salome_tmf.objectweb.org", "update"));
864:
865: setRequestHeaders(_call);
866: setAttachments(_call);
867: try {
868: java.lang.Object _resp = _call
869: .invoke(new java.lang.Object[] {
870: new java.lang.Integer(in0),
871: new java.lang.Integer(in1), in2, in3, in4,
872: in5 });
873:
874: if (_resp instanceof java.rmi.RemoteException) {
875: throw (java.rmi.RemoteException) _resp;
876: }
877: extractAttachments(_call);
878: } catch (org.apache.axis.AxisFault axisFaultException) {
879: throw axisFaultException;
880: }
881: }
882:
883: public void update(int in0, int in1, java.lang.String in2,
884: java.lang.String in3) throws java.rmi.RemoteException {
885: if (!(Permission.canExecutCamp())) {
886: try {
887: throw new Exception(
888: "[SQLExecutionTestResult : update -> canExecutCamp]");
889: } catch (Exception e) {
890: e.printStackTrace();
891: }
892: }
893: if (super .cachedEndpoint == null) {
894: throw new org.apache.axis.NoEndPointException();
895: }
896: org.apache.axis.client.Call _call = createCall();
897: _call.setOperation(_operations[9]);
898: _call.setUseSOAPAction(true);
899: _call.setSOAPActionURI("");
900: _call.setEncodingStyle(null);
901: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
902: Boolean.FALSE);
903: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
904: Boolean.FALSE);
905: _call
906: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
907: _call.setOperationName(new javax.xml.namespace.QName(
908: "http://soap.salome_tmf.objectweb.org", "update"));
909:
910: setRequestHeaders(_call);
911: setAttachments(_call);
912: try {
913: java.lang.Object _resp = _call
914: .invoke(new java.lang.Object[] {
915: new java.lang.Integer(in0),
916: new java.lang.Integer(in1), in2, in3 });
917:
918: if (_resp instanceof java.rmi.RemoteException) {
919: throw (java.rmi.RemoteException) _resp;
920: }
921: extractAttachments(_call);
922: } catch (org.apache.axis.AxisFault axisFaultException) {
923: throw axisFaultException;
924: }
925: }
926:
927: }
|