0001: /**
0002: * SQLTestListSoapBindingStub.java
0003: *
0004: * This file was auto-generated from WSDL
0005: * by the Apache Axis 1.4 Nov 19, 2006 (02:31:34 GMT+00:00) WSDL2Java emitter.
0006: */package org.objectweb.salome_tmf.soap;
0007:
0008: import org.objectweb.salome_tmf.api.Permission;
0009: import org.objectweb.salome_tmf.api.data.AttachementWrapper;
0010: import org.objectweb.salome_tmf.api.data.DataWrapper;
0011: import org.objectweb.salome_tmf.api.data.FileAttachementWrapper;
0012: import org.objectweb.salome_tmf.api.data.SalomeFileWrapper;
0013: import org.objectweb.salome_tmf.api.data.SuiteWrapper;
0014: import org.objectweb.salome_tmf.api.data.TestWrapper;
0015: import org.objectweb.salome_tmf.api.data.UrlAttachementWrapper;
0016: import org.objectweb.salome_tmf.api.sql.ISQLTestList;
0017: import org.objectweb.salome_tmf.databaseSQL.SecurityException;
0018:
0019: public class SQLTestListSoapBindingStub extends StubClient implements
0020: ISQLTestList {
0021: private java.util.Vector cachedSerClasses = new java.util.Vector();
0022: private java.util.Vector cachedSerQNames = new java.util.Vector();
0023: private java.util.Vector cachedSerFactories = new java.util.Vector();
0024: private java.util.Vector cachedDeserFactories = new java.util.Vector();
0025:
0026: static org.apache.axis.description.OperationDesc[] _operations;
0027:
0028: static {
0029: _operations = new org.apache.axis.description.OperationDesc[16];
0030: _initOperationDesc1();
0031: _initOperationDesc2();
0032: }
0033:
0034: private static void _initOperationDesc1() {
0035: org.apache.axis.description.OperationDesc oper;
0036: org.apache.axis.description.ParameterDesc param;
0037: oper = new org.apache.axis.description.OperationDesc();
0038: oper.setName("delete");
0039: param = new org.apache.axis.description.ParameterDesc(
0040: new javax.xml.namespace.QName("", "in0"),
0041: org.apache.axis.description.ParameterDesc.IN,
0042: new javax.xml.namespace.QName(
0043: "http://www.w3.org/2001/XMLSchema", "int"),
0044: int.class, false, false);
0045: oper.addParameter(param);
0046: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0047: oper.setStyle(org.apache.axis.constants.Style.RPC);
0048: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0049: _operations[0] = oper;
0050:
0051: oper = new org.apache.axis.description.OperationDesc();
0052: oper.setName("insert");
0053: param = new org.apache.axis.description.ParameterDesc(
0054: new javax.xml.namespace.QName("", "in0"),
0055: org.apache.axis.description.ParameterDesc.IN,
0056: new javax.xml.namespace.QName(
0057: "http://www.w3.org/2001/XMLSchema", "int"),
0058: int.class, false, false);
0059: oper.addParameter(param);
0060: param = new org.apache.axis.description.ParameterDesc(
0061: new javax.xml.namespace.QName("", "in1"),
0062: org.apache.axis.description.ParameterDesc.IN,
0063: new javax.xml.namespace.QName(
0064: "http://www.w3.org/2001/XMLSchema", "string"),
0065: java.lang.String.class, false, false);
0066: oper.addParameter(param);
0067: param = new org.apache.axis.description.ParameterDesc(
0068: new javax.xml.namespace.QName("", "in2"),
0069: org.apache.axis.description.ParameterDesc.IN,
0070: new javax.xml.namespace.QName(
0071: "http://www.w3.org/2001/XMLSchema", "string"),
0072: java.lang.String.class, false, false);
0073: oper.addParameter(param);
0074: oper.setReturnType(new javax.xml.namespace.QName(
0075: "http://www.w3.org/2001/XMLSchema", "int"));
0076: oper.setReturnClass(int.class);
0077: oper.setReturnQName(new javax.xml.namespace.QName("",
0078: "insertReturn"));
0079: oper.setStyle(org.apache.axis.constants.Style.RPC);
0080: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0081: _operations[1] = oper;
0082:
0083: oper = new org.apache.axis.description.OperationDesc();
0084: oper.setName("update");
0085: param = new org.apache.axis.description.ParameterDesc(
0086: new javax.xml.namespace.QName("", "in0"),
0087: org.apache.axis.description.ParameterDesc.IN,
0088: new javax.xml.namespace.QName(
0089: "http://www.w3.org/2001/XMLSchema", "int"),
0090: int.class, false, false);
0091: oper.addParameter(param);
0092: param = new org.apache.axis.description.ParameterDesc(
0093: new javax.xml.namespace.QName("", "in1"),
0094: org.apache.axis.description.ParameterDesc.IN,
0095: new javax.xml.namespace.QName(
0096: "http://www.w3.org/2001/XMLSchema", "string"),
0097: java.lang.String.class, false, false);
0098: oper.addParameter(param);
0099: param = new org.apache.axis.description.ParameterDesc(
0100: new javax.xml.namespace.QName("", "in2"),
0101: org.apache.axis.description.ParameterDesc.IN,
0102: new javax.xml.namespace.QName(
0103: "http://www.w3.org/2001/XMLSchema", "string"),
0104: java.lang.String.class, false, false);
0105: oper.addParameter(param);
0106: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0107: oper.setStyle(org.apache.axis.constants.Style.RPC);
0108: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0109: _operations[2] = oper;
0110:
0111: oper = new org.apache.axis.description.OperationDesc();
0112: oper.setName("getID");
0113: param = new org.apache.axis.description.ParameterDesc(
0114: new javax.xml.namespace.QName("", "in0"),
0115: org.apache.axis.description.ParameterDesc.IN,
0116: new javax.xml.namespace.QName(
0117: "http://www.w3.org/2001/XMLSchema", "int"),
0118: int.class, false, false);
0119: oper.addParameter(param);
0120: param = new org.apache.axis.description.ParameterDesc(
0121: new javax.xml.namespace.QName("", "in1"),
0122: org.apache.axis.description.ParameterDesc.IN,
0123: new javax.xml.namespace.QName(
0124: "http://www.w3.org/2001/XMLSchema", "string"),
0125: java.lang.String.class, false, false);
0126: oper.addParameter(param);
0127: oper.setReturnType(new javax.xml.namespace.QName(
0128: "http://www.w3.org/2001/XMLSchema", "int"));
0129: oper.setReturnClass(int.class);
0130: oper.setReturnQName(new javax.xml.namespace.QName("",
0131: "getIDReturn"));
0132: oper.setStyle(org.apache.axis.constants.Style.RPC);
0133: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0134: _operations[3] = oper;
0135:
0136: oper = new org.apache.axis.description.OperationDesc();
0137: oper.setName("addAttachFile");
0138: param = new org.apache.axis.description.ParameterDesc(
0139: new javax.xml.namespace.QName("", "in0"),
0140: org.apache.axis.description.ParameterDesc.IN,
0141: new javax.xml.namespace.QName(
0142: "http://www.w3.org/2001/XMLSchema", "int"),
0143: int.class, false, false);
0144: oper.addParameter(param);
0145: param = new org.apache.axis.description.ParameterDesc(
0146: new javax.xml.namespace.QName("", "in1"),
0147: org.apache.axis.description.ParameterDesc.IN,
0148: new javax.xml.namespace.QName(
0149: "http://data.api.salome_tmf.objectweb.org",
0150: "SalomeFileWrapper"), SalomeFileWrapper.class,
0151: false, false);
0152: oper.addParameter(param);
0153: param = new org.apache.axis.description.ParameterDesc(
0154: new javax.xml.namespace.QName("", "in2"),
0155: org.apache.axis.description.ParameterDesc.IN,
0156: new javax.xml.namespace.QName(
0157: "http://www.w3.org/2001/XMLSchema", "string"),
0158: java.lang.String.class, false, false);
0159: oper.addParameter(param);
0160: oper.setReturnType(new javax.xml.namespace.QName(
0161: "http://www.w3.org/2001/XMLSchema", "int"));
0162: oper.setReturnClass(int.class);
0163: oper.setReturnQName(new javax.xml.namespace.QName("",
0164: "addAttachFileReturn"));
0165: oper.setStyle(org.apache.axis.constants.Style.RPC);
0166: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0167: _operations[4] = oper;
0168:
0169: oper = new org.apache.axis.description.OperationDesc();
0170: oper.setName("addAttachUrl");
0171: param = new org.apache.axis.description.ParameterDesc(
0172: new javax.xml.namespace.QName("", "in0"),
0173: org.apache.axis.description.ParameterDesc.IN,
0174: new javax.xml.namespace.QName(
0175: "http://www.w3.org/2001/XMLSchema", "int"),
0176: int.class, false, false);
0177: oper.addParameter(param);
0178: param = new org.apache.axis.description.ParameterDesc(
0179: new javax.xml.namespace.QName("", "in1"),
0180: org.apache.axis.description.ParameterDesc.IN,
0181: new javax.xml.namespace.QName(
0182: "http://www.w3.org/2001/XMLSchema", "string"),
0183: java.lang.String.class, false, false);
0184: oper.addParameter(param);
0185: param = new org.apache.axis.description.ParameterDesc(
0186: new javax.xml.namespace.QName("", "in2"),
0187: org.apache.axis.description.ParameterDesc.IN,
0188: new javax.xml.namespace.QName(
0189: "http://www.w3.org/2001/XMLSchema", "string"),
0190: java.lang.String.class, false, false);
0191: oper.addParameter(param);
0192: oper.setReturnType(new javax.xml.namespace.QName(
0193: "http://www.w3.org/2001/XMLSchema", "int"));
0194: oper.setReturnClass(int.class);
0195: oper.setReturnQName(new javax.xml.namespace.QName("",
0196: "addAttachUrlReturn"));
0197: oper.setStyle(org.apache.axis.constants.Style.RPC);
0198: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0199: _operations[5] = oper;
0200:
0201: oper = new org.apache.axis.description.OperationDesc();
0202: oper.setName("updateOrder");
0203: param = new org.apache.axis.description.ParameterDesc(
0204: new javax.xml.namespace.QName("", "in0"),
0205: org.apache.axis.description.ParameterDesc.IN,
0206: new javax.xml.namespace.QName(
0207: "http://www.w3.org/2001/XMLSchema", "int"),
0208: int.class, false, false);
0209: oper.addParameter(param);
0210: param = new org.apache.axis.description.ParameterDesc(
0211: new javax.xml.namespace.QName("", "in1"),
0212: org.apache.axis.description.ParameterDesc.IN,
0213: new javax.xml.namespace.QName(
0214: "http://www.w3.org/2001/XMLSchema", "boolean"),
0215: boolean.class, false, false);
0216: oper.addParameter(param);
0217: oper.setReturnType(new javax.xml.namespace.QName(
0218: "http://www.w3.org/2001/XMLSchema", "int"));
0219: oper.setReturnClass(int.class);
0220: oper.setReturnQName(new javax.xml.namespace.QName("",
0221: "updateOrderReturn"));
0222: oper.setStyle(org.apache.axis.constants.Style.RPC);
0223: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0224: _operations[6] = oper;
0225:
0226: oper = new org.apache.axis.description.OperationDesc();
0227: oper.setName("deleteAllAttach");
0228: param = new org.apache.axis.description.ParameterDesc(
0229: new javax.xml.namespace.QName("", "in0"),
0230: org.apache.axis.description.ParameterDesc.IN,
0231: new javax.xml.namespace.QName(
0232: "http://www.w3.org/2001/XMLSchema", "int"),
0233: int.class, false, false);
0234: oper.addParameter(param);
0235: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0236: oper.setStyle(org.apache.axis.constants.Style.RPC);
0237: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0238: _operations[7] = oper;
0239:
0240: oper = new org.apache.axis.description.OperationDesc();
0241: oper.setName("deleteAttach");
0242: param = new org.apache.axis.description.ParameterDesc(
0243: new javax.xml.namespace.QName("", "in0"),
0244: org.apache.axis.description.ParameterDesc.IN,
0245: new javax.xml.namespace.QName(
0246: "http://www.w3.org/2001/XMLSchema", "int"),
0247: int.class, false, false);
0248: oper.addParameter(param);
0249: param = new org.apache.axis.description.ParameterDesc(
0250: new javax.xml.namespace.QName("", "in1"),
0251: org.apache.axis.description.ParameterDesc.IN,
0252: new javax.xml.namespace.QName(
0253: "http://www.w3.org/2001/XMLSchema", "int"),
0254: int.class, false, false);
0255: oper.addParameter(param);
0256: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0257: oper.setStyle(org.apache.axis.constants.Style.RPC);
0258: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0259: _operations[8] = oper;
0260:
0261: oper = new org.apache.axis.description.OperationDesc();
0262: oper.setName("getAllAttachemnt");
0263: param = new org.apache.axis.description.ParameterDesc(
0264: new javax.xml.namespace.QName("", "in0"),
0265: org.apache.axis.description.ParameterDesc.IN,
0266: new javax.xml.namespace.QName(
0267: "http://www.w3.org/2001/XMLSchema", "int"),
0268: int.class, false, false);
0269: oper.addParameter(param);
0270: oper.setReturnType(new javax.xml.namespace.QName(
0271: "http://soap.salome_tmf.objectweb.org",
0272: "ArrayOf_tns1_AttachementWrapper"));
0273: oper.setReturnClass(AttachementWrapper[].class);
0274: oper.setReturnQName(new javax.xml.namespace.QName("",
0275: "getAllAttachemntReturn"));
0276: param = oper.getReturnParamDesc();
0277: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0278: oper.setStyle(org.apache.axis.constants.Style.RPC);
0279: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0280: _operations[9] = oper;
0281:
0282: }
0283:
0284: private static void _initOperationDesc2() {
0285: org.apache.axis.description.OperationDesc oper;
0286: org.apache.axis.description.ParameterDesc param;
0287: oper = new org.apache.axis.description.OperationDesc();
0288: oper.setName("getAllAttachFiles");
0289: param = new org.apache.axis.description.ParameterDesc(
0290: new javax.xml.namespace.QName("", "in0"),
0291: org.apache.axis.description.ParameterDesc.IN,
0292: new javax.xml.namespace.QName(
0293: "http://www.w3.org/2001/XMLSchema", "int"),
0294: int.class, false, false);
0295: oper.addParameter(param);
0296: oper.setReturnType(new javax.xml.namespace.QName(
0297: "http://soap.salome_tmf.objectweb.org",
0298: "ArrayOf_tns1_FileAttachementWrapper"));
0299: oper.setReturnClass(FileAttachementWrapper[].class);
0300: oper.setReturnQName(new javax.xml.namespace.QName("",
0301: "getAllAttachFilesReturn"));
0302: param = oper.getReturnParamDesc();
0303: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0304: oper.setStyle(org.apache.axis.constants.Style.RPC);
0305: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0306: _operations[10] = oper;
0307:
0308: oper = new org.apache.axis.description.OperationDesc();
0309: oper.setName("getAllAttachUrls");
0310: param = new org.apache.axis.description.ParameterDesc(
0311: new javax.xml.namespace.QName("", "in0"),
0312: org.apache.axis.description.ParameterDesc.IN,
0313: new javax.xml.namespace.QName(
0314: "http://www.w3.org/2001/XMLSchema", "int"),
0315: int.class, false, false);
0316: oper.addParameter(param);
0317: oper.setReturnType(new javax.xml.namespace.QName(
0318: "http://soap.salome_tmf.objectweb.org",
0319: "ArrayOf_tns1_UrlAttachementWrapper"));
0320: oper.setReturnClass(UrlAttachementWrapper[].class);
0321: oper.setReturnQName(new javax.xml.namespace.QName("",
0322: "getAllAttachUrlsReturn"));
0323: param = oper.getReturnParamDesc();
0324: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0325: oper.setStyle(org.apache.axis.constants.Style.RPC);
0326: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0327: _operations[11] = oper;
0328:
0329: oper = new org.apache.axis.description.OperationDesc();
0330: oper.setName("getNumberOfTest");
0331: param = new org.apache.axis.description.ParameterDesc(
0332: new javax.xml.namespace.QName("", "in0"),
0333: org.apache.axis.description.ParameterDesc.IN,
0334: new javax.xml.namespace.QName(
0335: "http://www.w3.org/2001/XMLSchema", "int"),
0336: int.class, false, false);
0337: oper.addParameter(param);
0338: oper.setReturnType(new javax.xml.namespace.QName(
0339: "http://www.w3.org/2001/XMLSchema", "int"));
0340: oper.setReturnClass(int.class);
0341: oper.setReturnQName(new javax.xml.namespace.QName("",
0342: "getNumberOfTestReturn"));
0343: oper.setStyle(org.apache.axis.constants.Style.RPC);
0344: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0345: _operations[12] = oper;
0346:
0347: oper = new org.apache.axis.description.OperationDesc();
0348: oper.setName("getTestByOrder");
0349: param = new org.apache.axis.description.ParameterDesc(
0350: new javax.xml.namespace.QName("", "in0"),
0351: org.apache.axis.description.ParameterDesc.IN,
0352: new javax.xml.namespace.QName(
0353: "http://www.w3.org/2001/XMLSchema", "int"),
0354: int.class, false, false);
0355: oper.addParameter(param);
0356: param = new org.apache.axis.description.ParameterDesc(
0357: new javax.xml.namespace.QName("", "in1"),
0358: org.apache.axis.description.ParameterDesc.IN,
0359: new javax.xml.namespace.QName(
0360: "http://www.w3.org/2001/XMLSchema", "int"),
0361: int.class, false, false);
0362: oper.addParameter(param);
0363: oper.setReturnType(new javax.xml.namespace.QName(
0364: "http://data.api.salome_tmf.objectweb.org",
0365: "TestWrapper"));
0366: oper.setReturnClass(TestWrapper.class);
0367: oper.setReturnQName(new javax.xml.namespace.QName("",
0368: "getTestByOrderReturn"));
0369: oper.setStyle(org.apache.axis.constants.Style.RPC);
0370: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0371: _operations[13] = oper;
0372:
0373: oper = new org.apache.axis.description.OperationDesc();
0374: oper.setName("getTestList");
0375: param = new org.apache.axis.description.ParameterDesc(
0376: new javax.xml.namespace.QName("", "in0"),
0377: org.apache.axis.description.ParameterDesc.IN,
0378: new javax.xml.namespace.QName(
0379: "http://www.w3.org/2001/XMLSchema", "int"),
0380: int.class, false, false);
0381: oper.addParameter(param);
0382: oper.setReturnType(new javax.xml.namespace.QName(
0383: "http://data.api.salome_tmf.objectweb.org",
0384: "SuiteWrapper"));
0385: oper.setReturnClass(SuiteWrapper.class);
0386: oper.setReturnQName(new javax.xml.namespace.QName("",
0387: "getTestListReturn"));
0388: oper.setStyle(org.apache.axis.constants.Style.RPC);
0389: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0390: _operations[14] = oper;
0391:
0392: oper = new org.apache.axis.description.OperationDesc();
0393: oper.setName("getTestsWrapper");
0394: param = new org.apache.axis.description.ParameterDesc(
0395: new javax.xml.namespace.QName("", "in0"),
0396: org.apache.axis.description.ParameterDesc.IN,
0397: new javax.xml.namespace.QName(
0398: "http://www.w3.org/2001/XMLSchema", "int"),
0399: int.class, false, false);
0400: oper.addParameter(param);
0401: oper.setReturnType(new javax.xml.namespace.QName(
0402: "http://soap.salome_tmf.objectweb.org",
0403: "ArrayOf_tns1_TestWrapper"));
0404: oper.setReturnClass(TestWrapper[].class);
0405: oper.setReturnQName(new javax.xml.namespace.QName("",
0406: "getTestsWrapperReturn"));
0407: param = oper.getReturnParamDesc();
0408: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0409: oper.setStyle(org.apache.axis.constants.Style.RPC);
0410: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0411: _operations[15] = oper;
0412:
0413: }
0414:
0415: public SQLTestListSoapBindingStub()
0416: throws org.apache.axis.AxisFault {
0417: this (null);
0418: }
0419:
0420: public SQLTestListSoapBindingStub(java.net.URL endpointURL,
0421: javax.xml.rpc.Service service)
0422: throws org.apache.axis.AxisFault {
0423: this (service);
0424: super .cachedEndpoint = endpointURL;
0425: }
0426:
0427: public SQLTestListSoapBindingStub(javax.xml.rpc.Service service)
0428: throws org.apache.axis.AxisFault {
0429: if (service == null) {
0430: super .service = new org.apache.axis.client.Service();
0431: } else {
0432: super .service = service;
0433: }
0434: ((org.apache.axis.client.Service) super .service)
0435: .setTypeMappingVersion("1.2");
0436: java.lang.Class cls;
0437: javax.xml.namespace.QName qName;
0438: javax.xml.namespace.QName qName2;
0439: java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
0440: java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
0441: java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
0442: java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
0443: java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
0444: java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
0445: java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
0446: java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
0447: java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
0448: java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
0449: qName = new javax.xml.namespace.QName(
0450: "http://data.api.salome_tmf.objectweb.org",
0451: "AttachementWrapper");
0452: cachedSerQNames.add(qName);
0453: cls = AttachementWrapper.class;
0454: cachedSerClasses.add(cls);
0455: cachedSerFactories.add(beansf);
0456: cachedDeserFactories.add(beandf);
0457:
0458: qName = new javax.xml.namespace.QName(
0459: "http://data.api.salome_tmf.objectweb.org",
0460: "DataWrapper");
0461: cachedSerQNames.add(qName);
0462: cls = DataWrapper.class;
0463: cachedSerClasses.add(cls);
0464: cachedSerFactories.add(beansf);
0465: cachedDeserFactories.add(beandf);
0466:
0467: qName = new javax.xml.namespace.QName(
0468: "http://data.api.salome_tmf.objectweb.org",
0469: "FileAttachementWrapper");
0470: cachedSerQNames.add(qName);
0471: cls = FileAttachementWrapper.class;
0472: cachedSerClasses.add(cls);
0473: cachedSerFactories.add(beansf);
0474: cachedDeserFactories.add(beandf);
0475:
0476: qName = new javax.xml.namespace.QName(
0477: "http://data.api.salome_tmf.objectweb.org",
0478: "SalomeFileWrapper");
0479: cachedSerQNames.add(qName);
0480: cls = SalomeFileWrapper.class;
0481: cachedSerClasses.add(cls);
0482: cachedSerFactories.add(beansf);
0483: cachedDeserFactories.add(beandf);
0484:
0485: qName = new javax.xml.namespace.QName(
0486: "http://data.api.salome_tmf.objectweb.org",
0487: "SuiteWrapper");
0488: cachedSerQNames.add(qName);
0489: cls = SuiteWrapper.class;
0490: cachedSerClasses.add(cls);
0491: cachedSerFactories.add(beansf);
0492: cachedDeserFactories.add(beandf);
0493:
0494: qName = new javax.xml.namespace.QName(
0495: "http://data.api.salome_tmf.objectweb.org",
0496: "TestWrapper");
0497: cachedSerQNames.add(qName);
0498: cls = TestWrapper.class;
0499: cachedSerClasses.add(cls);
0500: cachedSerFactories.add(beansf);
0501: cachedDeserFactories.add(beandf);
0502:
0503: qName = new javax.xml.namespace.QName(
0504: "http://data.api.salome_tmf.objectweb.org",
0505: "UrlAttachementWrapper");
0506: cachedSerQNames.add(qName);
0507: cls = UrlAttachementWrapper.class;
0508: cachedSerClasses.add(cls);
0509: cachedSerFactories.add(beansf);
0510: cachedDeserFactories.add(beandf);
0511:
0512: qName = new javax.xml.namespace.QName(
0513: "http://soap.salome_tmf.objectweb.org",
0514: "ArrayOf_tns1_AttachementWrapper");
0515: cachedSerQNames.add(qName);
0516: cls = AttachementWrapper[].class;
0517: cachedSerClasses.add(cls);
0518: qName = new javax.xml.namespace.QName(
0519: "http://data.api.salome_tmf.objectweb.org",
0520: "AttachementWrapper");
0521: qName2 = new javax.xml.namespace.QName("", "item");
0522: cachedSerFactories
0523: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
0524: qName, qName2));
0525: cachedDeserFactories
0526: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
0527:
0528: qName = new javax.xml.namespace.QName(
0529: "http://soap.salome_tmf.objectweb.org",
0530: "ArrayOf_tns1_FileAttachementWrapper");
0531: cachedSerQNames.add(qName);
0532: cls = FileAttachementWrapper[].class;
0533: cachedSerClasses.add(cls);
0534: qName = new javax.xml.namespace.QName(
0535: "http://data.api.salome_tmf.objectweb.org",
0536: "FileAttachementWrapper");
0537: qName2 = new javax.xml.namespace.QName("", "item");
0538: cachedSerFactories
0539: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
0540: qName, qName2));
0541: cachedDeserFactories
0542: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
0543:
0544: qName = new javax.xml.namespace.QName(
0545: "http://soap.salome_tmf.objectweb.org",
0546: "ArrayOf_tns1_TestWrapper");
0547: cachedSerQNames.add(qName);
0548: cls = TestWrapper[].class;
0549: cachedSerClasses.add(cls);
0550: qName = new javax.xml.namespace.QName(
0551: "http://data.api.salome_tmf.objectweb.org",
0552: "TestWrapper");
0553: qName2 = new javax.xml.namespace.QName("", "item");
0554: cachedSerFactories
0555: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
0556: qName, qName2));
0557: cachedDeserFactories
0558: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
0559:
0560: qName = new javax.xml.namespace.QName(
0561: "http://soap.salome_tmf.objectweb.org",
0562: "ArrayOf_tns1_UrlAttachementWrapper");
0563: cachedSerQNames.add(qName);
0564: cls = UrlAttachementWrapper[].class;
0565: cachedSerClasses.add(cls);
0566: qName = new javax.xml.namespace.QName(
0567: "http://data.api.salome_tmf.objectweb.org",
0568: "UrlAttachementWrapper");
0569: qName2 = new javax.xml.namespace.QName("", "item");
0570: cachedSerFactories
0571: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
0572: qName, qName2));
0573: cachedDeserFactories
0574: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
0575:
0576: }
0577:
0578: protected org.apache.axis.client.Call createCall()
0579: throws java.rmi.RemoteException {
0580: try {
0581: org.apache.axis.client.Call _call = super ._createCall();
0582: if (super .maintainSessionSet) {
0583: _call.setMaintainSession(super .maintainSession);
0584: }
0585: if (super .cachedUsername != null) {
0586: _call.setUsername(super .cachedUsername);
0587: }
0588: if (super .cachedPassword != null) {
0589: _call.setPassword(super .cachedPassword);
0590: }
0591: if (super .cachedEndpoint != null) {
0592: _call.setTargetEndpointAddress(super .cachedEndpoint);
0593: }
0594: if (super .cachedTimeout != null) {
0595: _call.setTimeout(super .cachedTimeout);
0596: }
0597: if (super .cachedPortName != null) {
0598: _call.setPortName(super .cachedPortName);
0599: }
0600: java.util.Enumeration keys = super .cachedProperties.keys();
0601: while (keys.hasMoreElements()) {
0602: java.lang.String key = (java.lang.String) keys
0603: .nextElement();
0604: _call.setProperty(key, super .cachedProperties.get(key));
0605: }
0606: // All the type mapping information is registered
0607: // when the first call is made.
0608: // The type mapping information is actually registered in
0609: // the TypeMappingRegistry of the service, which
0610: // is the reason why registration is only needed for the first call.
0611: synchronized (this ) {
0612: if (firstCall()) {
0613: // must set encoding style before registering serializers
0614: _call.setEncodingStyle(null);
0615: for (int i = 0; i < cachedSerFactories.size(); ++i) {
0616: java.lang.Class cls = (java.lang.Class) cachedSerClasses
0617: .get(i);
0618: javax.xml.namespace.QName qName = (javax.xml.namespace.QName) cachedSerQNames
0619: .get(i);
0620: java.lang.Object x = cachedSerFactories.get(i);
0621: if (x instanceof Class) {
0622: java.lang.Class sf = (java.lang.Class) cachedSerFactories
0623: .get(i);
0624: java.lang.Class df = (java.lang.Class) cachedDeserFactories
0625: .get(i);
0626: _call.registerTypeMapping(cls, qName, sf,
0627: df, false);
0628: } else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
0629: org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) cachedSerFactories
0630: .get(i);
0631: org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) cachedDeserFactories
0632: .get(i);
0633: _call.registerTypeMapping(cls, qName, sf,
0634: df, false);
0635: }
0636: }
0637: }
0638: }
0639: return _call;
0640: } catch (java.lang.Exception _t) {
0641: throw new org.apache.axis.AxisFault(
0642: "Failure trying to get the Call object", _t);
0643: }
0644: }
0645:
0646: /**
0647: * @TODO IMPLEMENTATION SOAP
0648: */
0649: public void delete(int in0, boolean reorder)
0650: throws java.rmi.RemoteException {
0651: delete(in0);
0652: }
0653:
0654: public void delete(int in0) throws java.rmi.RemoteException {
0655: if (!Permission.canDeleteTest()) {
0656: try {
0657: throw new Exception(
0658: "[SQLTestList : delete -> canDeleteTest]");
0659: } catch (Exception e) {
0660: e.printStackTrace();
0661: }
0662: }
0663: if (super .cachedEndpoint == null) {
0664: throw new org.apache.axis.NoEndPointException();
0665: }
0666: org.apache.axis.client.Call _call = createCall();
0667: _call.setOperation(_operations[0]);
0668: _call.setUseSOAPAction(true);
0669: _call.setSOAPActionURI("");
0670: _call.setEncodingStyle(null);
0671: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0672: Boolean.FALSE);
0673: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0674: Boolean.FALSE);
0675: _call
0676: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0677: _call.setOperationName(new javax.xml.namespace.QName(
0678: "http://soap.salome_tmf.objectweb.org", "delete"));
0679:
0680: setRequestHeaders(_call);
0681: setAttachments(_call);
0682: try {
0683: java.lang.Object _resp = _call
0684: .invoke(new java.lang.Object[] { new java.lang.Integer(
0685: in0) });
0686:
0687: if (_resp instanceof java.rmi.RemoteException) {
0688: throw (java.rmi.RemoteException) _resp;
0689: }
0690: extractAttachments(_call);
0691: } catch (org.apache.axis.AxisFault axisFaultException) {
0692: throw axisFaultException;
0693: }
0694: }
0695:
0696: public int insert(int in0, java.lang.String in1,
0697: java.lang.String in2) throws java.rmi.RemoteException {
0698: if (!Permission.canCreateTest()) {
0699: try {
0700: throw new Exception(
0701: "[SQLTestList : insert -> canCreateTest]");
0702: } catch (Exception e) {
0703: e.printStackTrace();
0704: }
0705: }
0706: if (super .cachedEndpoint == null) {
0707: throw new org.apache.axis.NoEndPointException();
0708: }
0709: org.apache.axis.client.Call _call = createCall();
0710: _call.setOperation(_operations[1]);
0711: _call.setUseSOAPAction(true);
0712: _call.setSOAPActionURI("");
0713: _call.setEncodingStyle(null);
0714: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0715: Boolean.FALSE);
0716: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0717: Boolean.FALSE);
0718: _call
0719: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0720: _call.setOperationName(new javax.xml.namespace.QName(
0721: "http://soap.salome_tmf.objectweb.org", "insert"));
0722:
0723: setRequestHeaders(_call);
0724: setAttachments(_call);
0725: try {
0726: java.lang.Object _resp = _call
0727: .invoke(new java.lang.Object[] {
0728: new java.lang.Integer(in0), in1, in2 });
0729:
0730: if (_resp instanceof java.rmi.RemoteException) {
0731: throw (java.rmi.RemoteException) _resp;
0732: } else {
0733: extractAttachments(_call);
0734: try {
0735: return ((java.lang.Integer) _resp).intValue();
0736: } catch (java.lang.Exception _exception) {
0737: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
0738: .convert(_resp, int.class)).intValue();
0739: }
0740: }
0741: } catch (org.apache.axis.AxisFault axisFaultException) {
0742: throw axisFaultException;
0743: }
0744: }
0745:
0746: public void update(int in0, java.lang.String in1,
0747: java.lang.String in2) throws java.rmi.RemoteException {
0748: if (!Permission.canUpdateTest()) {
0749: try {
0750: throw new Exception(
0751: "[SQLTestList : update -> canUpdateTest]");
0752: } catch (Exception e) {
0753: e.printStackTrace();
0754: }
0755: }
0756: if (super .cachedEndpoint == null) {
0757: throw new org.apache.axis.NoEndPointException();
0758: }
0759: org.apache.axis.client.Call _call = createCall();
0760: _call.setOperation(_operations[2]);
0761: _call.setUseSOAPAction(true);
0762: _call.setSOAPActionURI("");
0763: _call.setEncodingStyle(null);
0764: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0765: Boolean.FALSE);
0766: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0767: Boolean.FALSE);
0768: _call
0769: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0770: _call.setOperationName(new javax.xml.namespace.QName(
0771: "http://soap.salome_tmf.objectweb.org", "update"));
0772:
0773: setRequestHeaders(_call);
0774: setAttachments(_call);
0775: try {
0776: java.lang.Object _resp = _call
0777: .invoke(new java.lang.Object[] {
0778: new java.lang.Integer(in0), in1, in2 });
0779:
0780: if (_resp instanceof java.rmi.RemoteException) {
0781: throw (java.rmi.RemoteException) _resp;
0782: }
0783: extractAttachments(_call);
0784: } catch (org.apache.axis.AxisFault axisFaultException) {
0785: throw axisFaultException;
0786: }
0787: }
0788:
0789: public int getID(int in0, java.lang.String in1)
0790: throws java.rmi.RemoteException {
0791: if (super .cachedEndpoint == null) {
0792: throw new org.apache.axis.NoEndPointException();
0793: }
0794: org.apache.axis.client.Call _call = createCall();
0795: _call.setOperation(_operations[3]);
0796: _call.setUseSOAPAction(true);
0797: _call.setSOAPActionURI("");
0798: _call.setEncodingStyle(null);
0799: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0800: Boolean.FALSE);
0801: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0802: Boolean.FALSE);
0803: _call
0804: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0805: _call.setOperationName(new javax.xml.namespace.QName(
0806: "http://soap.salome_tmf.objectweb.org", "getID"));
0807:
0808: setRequestHeaders(_call);
0809: setAttachments(_call);
0810: try {
0811: java.lang.Object _resp = _call
0812: .invoke(new java.lang.Object[] {
0813: new java.lang.Integer(in0), in1 });
0814:
0815: if (_resp instanceof java.rmi.RemoteException) {
0816: throw (java.rmi.RemoteException) _resp;
0817: } else {
0818: extractAttachments(_call);
0819: try {
0820: return ((java.lang.Integer) _resp).intValue();
0821: } catch (java.lang.Exception _exception) {
0822: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
0823: .convert(_resp, int.class)).intValue();
0824: }
0825: }
0826: } catch (org.apache.axis.AxisFault axisFaultException) {
0827: throw axisFaultException;
0828: }
0829: }
0830:
0831: public int addAttachFile(int in0, SalomeFileWrapper in1,
0832: java.lang.String in2) throws java.rmi.RemoteException {
0833: if (super .cachedEndpoint == null) {
0834: throw new org.apache.axis.NoEndPointException();
0835: }
0836: org.apache.axis.client.Call _call = createCall();
0837: _call.setOperation(_operations[4]);
0838: _call.setUseSOAPAction(true);
0839: _call.setSOAPActionURI("");
0840: _call.setEncodingStyle(null);
0841: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0842: Boolean.FALSE);
0843: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0844: Boolean.FALSE);
0845: _call
0846: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0847: _call
0848: .setOperationName(new javax.xml.namespace.QName(
0849: "http://soap.salome_tmf.objectweb.org",
0850: "addAttachFile"));
0851:
0852: setRequestHeaders(_call);
0853: setAttachments(_call);
0854: try {
0855: java.lang.Object _resp = _call
0856: .invoke(new java.lang.Object[] {
0857: new java.lang.Integer(in0), in1, in2 });
0858:
0859: if (_resp instanceof java.rmi.RemoteException) {
0860: throw (java.rmi.RemoteException) _resp;
0861: } else {
0862: extractAttachments(_call);
0863: try {
0864: return ((java.lang.Integer) _resp).intValue();
0865: } catch (java.lang.Exception _exception) {
0866: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
0867: .convert(_resp, int.class)).intValue();
0868: }
0869: }
0870: } catch (org.apache.axis.AxisFault axisFaultException) {
0871: throw axisFaultException;
0872: }
0873: }
0874:
0875: public int addAttachUrl(int in0, java.lang.String in1,
0876: java.lang.String in2) throws java.rmi.RemoteException {
0877: if (super .cachedEndpoint == null) {
0878: throw new org.apache.axis.NoEndPointException();
0879: }
0880: org.apache.axis.client.Call _call = createCall();
0881: _call.setOperation(_operations[5]);
0882: _call.setUseSOAPAction(true);
0883: _call.setSOAPActionURI("");
0884: _call.setEncodingStyle(null);
0885: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0886: Boolean.FALSE);
0887: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0888: Boolean.FALSE);
0889: _call
0890: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0891: _call
0892: .setOperationName(new javax.xml.namespace.QName(
0893: "http://soap.salome_tmf.objectweb.org",
0894: "addAttachUrl"));
0895:
0896: setRequestHeaders(_call);
0897: setAttachments(_call);
0898: try {
0899: java.lang.Object _resp = _call
0900: .invoke(new java.lang.Object[] {
0901: new java.lang.Integer(in0), in1, in2 });
0902:
0903: if (_resp instanceof java.rmi.RemoteException) {
0904: throw (java.rmi.RemoteException) _resp;
0905: } else {
0906: extractAttachments(_call);
0907: try {
0908: return ((java.lang.Integer) _resp).intValue();
0909: } catch (java.lang.Exception _exception) {
0910: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
0911: .convert(_resp, int.class)).intValue();
0912: }
0913: }
0914: } catch (org.apache.axis.AxisFault axisFaultException) {
0915: throw axisFaultException;
0916: }
0917: }
0918:
0919: public int updateOrder(int in0, boolean in1)
0920: throws java.rmi.RemoteException {
0921: if (super .cachedEndpoint == null) {
0922: throw new org.apache.axis.NoEndPointException();
0923: }
0924: org.apache.axis.client.Call _call = createCall();
0925: _call.setOperation(_operations[6]);
0926: _call.setUseSOAPAction(true);
0927: _call.setSOAPActionURI("");
0928: _call.setEncodingStyle(null);
0929: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0930: Boolean.FALSE);
0931: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0932: Boolean.FALSE);
0933: _call
0934: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0935: _call.setOperationName(new javax.xml.namespace.QName(
0936: "http://soap.salome_tmf.objectweb.org", "updateOrder"));
0937:
0938: setRequestHeaders(_call);
0939: setAttachments(_call);
0940: try {
0941: java.lang.Object _resp = _call
0942: .invoke(new java.lang.Object[] {
0943: new java.lang.Integer(in0),
0944: new java.lang.Boolean(in1) });
0945:
0946: if (_resp instanceof java.rmi.RemoteException) {
0947: throw (java.rmi.RemoteException) _resp;
0948: } else {
0949: extractAttachments(_call);
0950: try {
0951: return ((java.lang.Integer) _resp).intValue();
0952: } catch (java.lang.Exception _exception) {
0953: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
0954: .convert(_resp, int.class)).intValue();
0955: }
0956: }
0957: } catch (org.apache.axis.AxisFault axisFaultException) {
0958: throw axisFaultException;
0959: }
0960: }
0961:
0962: public void deleteAllAttach(int in0)
0963: throws java.rmi.RemoteException {
0964: if (super .cachedEndpoint == null) {
0965: throw new org.apache.axis.NoEndPointException();
0966: }
0967: org.apache.axis.client.Call _call = createCall();
0968: _call.setOperation(_operations[7]);
0969: _call.setUseSOAPAction(true);
0970: _call.setSOAPActionURI("");
0971: _call.setEncodingStyle(null);
0972: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0973: Boolean.FALSE);
0974: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0975: Boolean.FALSE);
0976: _call
0977: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0978: _call.setOperationName(new javax.xml.namespace.QName(
0979: "http://soap.salome_tmf.objectweb.org",
0980: "deleteAllAttach"));
0981:
0982: setRequestHeaders(_call);
0983: setAttachments(_call);
0984: try {
0985: java.lang.Object _resp = _call
0986: .invoke(new java.lang.Object[] { new java.lang.Integer(
0987: in0) });
0988:
0989: if (_resp instanceof java.rmi.RemoteException) {
0990: throw (java.rmi.RemoteException) _resp;
0991: }
0992: extractAttachments(_call);
0993: } catch (org.apache.axis.AxisFault axisFaultException) {
0994: throw axisFaultException;
0995: }
0996: }
0997:
0998: public void deleteAttach(int in0, int in1)
0999: throws java.rmi.RemoteException {
1000: if (super .cachedEndpoint == null) {
1001: throw new org.apache.axis.NoEndPointException();
1002: }
1003: org.apache.axis.client.Call _call = createCall();
1004: _call.setOperation(_operations[8]);
1005: _call.setUseSOAPAction(true);
1006: _call.setSOAPActionURI("");
1007: _call.setEncodingStyle(null);
1008: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1009: Boolean.FALSE);
1010: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1011: Boolean.FALSE);
1012: _call
1013: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1014: _call
1015: .setOperationName(new javax.xml.namespace.QName(
1016: "http://soap.salome_tmf.objectweb.org",
1017: "deleteAttach"));
1018:
1019: setRequestHeaders(_call);
1020: setAttachments(_call);
1021: try {
1022: java.lang.Object _resp = _call
1023: .invoke(new java.lang.Object[] {
1024: new java.lang.Integer(in0),
1025: new java.lang.Integer(in1) });
1026:
1027: if (_resp instanceof java.rmi.RemoteException) {
1028: throw (java.rmi.RemoteException) _resp;
1029: }
1030: extractAttachments(_call);
1031: } catch (org.apache.axis.AxisFault axisFaultException) {
1032: throw axisFaultException;
1033: }
1034: }
1035:
1036: public AttachementWrapper[] getAllAttachemnt(int in0)
1037: throws java.rmi.RemoteException {
1038: if (super .cachedEndpoint == null) {
1039: throw new org.apache.axis.NoEndPointException();
1040: }
1041: org.apache.axis.client.Call _call = createCall();
1042: _call.setOperation(_operations[9]);
1043: _call.setUseSOAPAction(true);
1044: _call.setSOAPActionURI("");
1045: _call.setEncodingStyle(null);
1046: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1047: Boolean.FALSE);
1048: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1049: Boolean.FALSE);
1050: _call
1051: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1052: _call.setOperationName(new javax.xml.namespace.QName(
1053: "http://soap.salome_tmf.objectweb.org",
1054: "getAllAttachemnt"));
1055:
1056: setRequestHeaders(_call);
1057: setAttachments(_call);
1058: try {
1059: java.lang.Object _resp = _call
1060: .invoke(new java.lang.Object[] { new java.lang.Integer(
1061: in0) });
1062:
1063: if (_resp instanceof java.rmi.RemoteException) {
1064: throw (java.rmi.RemoteException) _resp;
1065: } else {
1066: extractAttachments(_call);
1067: try {
1068: return (AttachementWrapper[]) _resp;
1069: } catch (java.lang.Exception _exception) {
1070: return (AttachementWrapper[]) org.apache.axis.utils.JavaUtils
1071: .convert(_resp, AttachementWrapper[].class);
1072: }
1073: }
1074: } catch (org.apache.axis.AxisFault axisFaultException) {
1075: throw axisFaultException;
1076: }
1077: }
1078:
1079: public FileAttachementWrapper[] getAllAttachFiles(int in0)
1080: throws java.rmi.RemoteException {
1081: if (super .cachedEndpoint == null) {
1082: throw new org.apache.axis.NoEndPointException();
1083: }
1084: org.apache.axis.client.Call _call = createCall();
1085: _call.setOperation(_operations[10]);
1086: _call.setUseSOAPAction(true);
1087: _call.setSOAPActionURI("");
1088: _call.setEncodingStyle(null);
1089: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1090: Boolean.FALSE);
1091: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1092: Boolean.FALSE);
1093: _call
1094: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1095: _call.setOperationName(new javax.xml.namespace.QName(
1096: "http://soap.salome_tmf.objectweb.org",
1097: "getAllAttachFiles"));
1098:
1099: setRequestHeaders(_call);
1100: setAttachments(_call);
1101: try {
1102: java.lang.Object _resp = _call
1103: .invoke(new java.lang.Object[] { new java.lang.Integer(
1104: in0) });
1105:
1106: if (_resp instanceof java.rmi.RemoteException) {
1107: throw (java.rmi.RemoteException) _resp;
1108: } else {
1109: extractAttachments(_call);
1110: try {
1111: return (FileAttachementWrapper[]) _resp;
1112: } catch (java.lang.Exception _exception) {
1113: return (FileAttachementWrapper[]) org.apache.axis.utils.JavaUtils
1114: .convert(_resp,
1115: FileAttachementWrapper[].class);
1116: }
1117: }
1118: } catch (org.apache.axis.AxisFault axisFaultException) {
1119: throw axisFaultException;
1120: }
1121: }
1122:
1123: public UrlAttachementWrapper[] getAllAttachUrls(int in0)
1124: throws java.rmi.RemoteException {
1125: if (super .cachedEndpoint == null) {
1126: throw new org.apache.axis.NoEndPointException();
1127: }
1128: org.apache.axis.client.Call _call = createCall();
1129: _call.setOperation(_operations[11]);
1130: _call.setUseSOAPAction(true);
1131: _call.setSOAPActionURI("");
1132: _call.setEncodingStyle(null);
1133: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1134: Boolean.FALSE);
1135: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1136: Boolean.FALSE);
1137: _call
1138: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1139: _call.setOperationName(new javax.xml.namespace.QName(
1140: "http://soap.salome_tmf.objectweb.org",
1141: "getAllAttachUrls"));
1142:
1143: setRequestHeaders(_call);
1144: setAttachments(_call);
1145: try {
1146: java.lang.Object _resp = _call
1147: .invoke(new java.lang.Object[] { new java.lang.Integer(
1148: in0) });
1149:
1150: if (_resp instanceof java.rmi.RemoteException) {
1151: throw (java.rmi.RemoteException) _resp;
1152: } else {
1153: extractAttachments(_call);
1154: try {
1155: return (UrlAttachementWrapper[]) _resp;
1156: } catch (java.lang.Exception _exception) {
1157: return (UrlAttachementWrapper[]) org.apache.axis.utils.JavaUtils
1158: .convert(_resp,
1159: UrlAttachementWrapper[].class);
1160: }
1161: }
1162: } catch (org.apache.axis.AxisFault axisFaultException) {
1163: throw axisFaultException;
1164: }
1165: }
1166:
1167: public int getNumberOfTest(int in0) throws java.rmi.RemoteException {
1168: if (super .cachedEndpoint == null) {
1169: throw new org.apache.axis.NoEndPointException();
1170: }
1171: org.apache.axis.client.Call _call = createCall();
1172: _call.setOperation(_operations[12]);
1173: _call.setUseSOAPAction(true);
1174: _call.setSOAPActionURI("");
1175: _call.setEncodingStyle(null);
1176: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1177: Boolean.FALSE);
1178: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1179: Boolean.FALSE);
1180: _call
1181: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1182: _call.setOperationName(new javax.xml.namespace.QName(
1183: "http://soap.salome_tmf.objectweb.org",
1184: "getNumberOfTest"));
1185:
1186: setRequestHeaders(_call);
1187: setAttachments(_call);
1188: try {
1189: java.lang.Object _resp = _call
1190: .invoke(new java.lang.Object[] { new java.lang.Integer(
1191: in0) });
1192:
1193: if (_resp instanceof java.rmi.RemoteException) {
1194: throw (java.rmi.RemoteException) _resp;
1195: } else {
1196: extractAttachments(_call);
1197: try {
1198: return ((java.lang.Integer) _resp).intValue();
1199: } catch (java.lang.Exception _exception) {
1200: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
1201: .convert(_resp, int.class)).intValue();
1202: }
1203: }
1204: } catch (org.apache.axis.AxisFault axisFaultException) {
1205: throw axisFaultException;
1206: }
1207: }
1208:
1209: public TestWrapper getTestByOrder(int in0, int in1)
1210: throws java.rmi.RemoteException {
1211: if (super .cachedEndpoint == null) {
1212: throw new org.apache.axis.NoEndPointException();
1213: }
1214: org.apache.axis.client.Call _call = createCall();
1215: _call.setOperation(_operations[13]);
1216: _call.setUseSOAPAction(true);
1217: _call.setSOAPActionURI("");
1218: _call.setEncodingStyle(null);
1219: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1220: Boolean.FALSE);
1221: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1222: Boolean.FALSE);
1223: _call
1224: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1225: _call.setOperationName(new javax.xml.namespace.QName(
1226: "http://soap.salome_tmf.objectweb.org",
1227: "getTestByOrder"));
1228:
1229: setRequestHeaders(_call);
1230: setAttachments(_call);
1231: try {
1232: java.lang.Object _resp = _call
1233: .invoke(new java.lang.Object[] {
1234: new java.lang.Integer(in0),
1235: new java.lang.Integer(in1) });
1236:
1237: if (_resp instanceof java.rmi.RemoteException) {
1238: throw (java.rmi.RemoteException) _resp;
1239: } else {
1240: extractAttachments(_call);
1241: try {
1242: return (TestWrapper) _resp;
1243: } catch (java.lang.Exception _exception) {
1244: return (TestWrapper) org.apache.axis.utils.JavaUtils
1245: .convert(_resp, TestWrapper.class);
1246: }
1247: }
1248: } catch (org.apache.axis.AxisFault axisFaultException) {
1249: throw axisFaultException;
1250: }
1251: }
1252:
1253: public SuiteWrapper getTestList(int in0)
1254: throws java.rmi.RemoteException {
1255: if (super .cachedEndpoint == null) {
1256: throw new org.apache.axis.NoEndPointException();
1257: }
1258: org.apache.axis.client.Call _call = createCall();
1259: _call.setOperation(_operations[14]);
1260: _call.setUseSOAPAction(true);
1261: _call.setSOAPActionURI("");
1262: _call.setEncodingStyle(null);
1263: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1264: Boolean.FALSE);
1265: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1266: Boolean.FALSE);
1267: _call
1268: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1269: _call.setOperationName(new javax.xml.namespace.QName(
1270: "http://soap.salome_tmf.objectweb.org", "getTestList"));
1271:
1272: setRequestHeaders(_call);
1273: setAttachments(_call);
1274: try {
1275: java.lang.Object _resp = _call
1276: .invoke(new java.lang.Object[] { new java.lang.Integer(
1277: in0) });
1278:
1279: if (_resp instanceof java.rmi.RemoteException) {
1280: throw (java.rmi.RemoteException) _resp;
1281: } else {
1282: extractAttachments(_call);
1283: try {
1284: return (SuiteWrapper) _resp;
1285: } catch (java.lang.Exception _exception) {
1286: return (SuiteWrapper) org.apache.axis.utils.JavaUtils
1287: .convert(_resp, SuiteWrapper.class);
1288: }
1289: }
1290: } catch (org.apache.axis.AxisFault axisFaultException) {
1291: throw axisFaultException;
1292: }
1293: }
1294:
1295: public TestWrapper[] getTestsWrapper(int in0)
1296: throws java.rmi.RemoteException {
1297: if (super .cachedEndpoint == null) {
1298: throw new org.apache.axis.NoEndPointException();
1299: }
1300: org.apache.axis.client.Call _call = createCall();
1301: _call.setOperation(_operations[15]);
1302: _call.setUseSOAPAction(true);
1303: _call.setSOAPActionURI("");
1304: _call.setEncodingStyle(null);
1305: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1306: Boolean.FALSE);
1307: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1308: Boolean.FALSE);
1309: _call
1310: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1311: _call.setOperationName(new javax.xml.namespace.QName(
1312: "http://soap.salome_tmf.objectweb.org",
1313: "getTestsWrapper"));
1314:
1315: setRequestHeaders(_call);
1316: setAttachments(_call);
1317: try {
1318: java.lang.Object _resp = _call
1319: .invoke(new java.lang.Object[] { new java.lang.Integer(
1320: in0) });
1321:
1322: if (_resp instanceof java.rmi.RemoteException) {
1323: throw (java.rmi.RemoteException) _resp;
1324: } else {
1325: extractAttachments(_call);
1326: try {
1327: return (TestWrapper[]) _resp;
1328: } catch (java.lang.Exception _exception) {
1329: return (TestWrapper[]) org.apache.axis.utils.JavaUtils
1330: .convert(_resp, TestWrapper[].class);
1331: }
1332: }
1333: } catch (org.apache.axis.AxisFault axisFaultException) {
1334: throw axisFaultException;
1335: }
1336: }
1337:
1338: }
|