0001: /**
0002: * SQLFamilySoapBindingStub.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.FamilyWrapper;
0012: import org.objectweb.salome_tmf.api.data.FileAttachementWrapper;
0013: import org.objectweb.salome_tmf.api.data.SalomeFileWrapper;
0014: import org.objectweb.salome_tmf.api.data.SuiteWrapper;
0015: import org.objectweb.salome_tmf.api.data.UrlAttachementWrapper;
0016: import org.objectweb.salome_tmf.api.sql.ISQLFamily;
0017: import org.objectweb.salome_tmf.databaseSQL.SQLEngine;
0018: import org.objectweb.salome_tmf.databaseSQL.SecurityException;
0019:
0020: public class SQLFamilySoapBindingStub extends StubClient implements
0021: ISQLFamily {
0022: private java.util.Vector cachedSerClasses = new java.util.Vector();
0023: private java.util.Vector cachedSerQNames = new java.util.Vector();
0024: private java.util.Vector cachedSerFactories = new java.util.Vector();
0025: private java.util.Vector cachedDeserFactories = new java.util.Vector();
0026:
0027: static org.apache.axis.description.OperationDesc[] _operations;
0028:
0029: static {
0030: _operations = new org.apache.axis.description.OperationDesc[16];
0031: _initOperationDesc1();
0032: _initOperationDesc2();
0033: }
0034:
0035: private static void _initOperationDesc1() {
0036: org.apache.axis.description.OperationDesc oper;
0037: org.apache.axis.description.ParameterDesc param;
0038: oper = new org.apache.axis.description.OperationDesc();
0039: oper.setName("addAttachFile");
0040: param = new org.apache.axis.description.ParameterDesc(
0041: new javax.xml.namespace.QName("", "in0"),
0042: org.apache.axis.description.ParameterDesc.IN,
0043: new javax.xml.namespace.QName(
0044: "http://www.w3.org/2001/XMLSchema", "int"),
0045: int.class, false, false);
0046: oper.addParameter(param);
0047: param = new org.apache.axis.description.ParameterDesc(
0048: new javax.xml.namespace.QName("", "in1"),
0049: org.apache.axis.description.ParameterDesc.IN,
0050: new javax.xml.namespace.QName(
0051: "http://data.api.salome_tmf.objectweb.org",
0052: "SalomeFileWrapper"), SalomeFileWrapper.class,
0053: false, false);
0054: oper.addParameter(param);
0055: param = new org.apache.axis.description.ParameterDesc(
0056: new javax.xml.namespace.QName("", "in2"),
0057: org.apache.axis.description.ParameterDesc.IN,
0058: new javax.xml.namespace.QName(
0059: "http://www.w3.org/2001/XMLSchema", "string"),
0060: java.lang.String.class, false, false);
0061: oper.addParameter(param);
0062: oper.setReturnType(new javax.xml.namespace.QName(
0063: "http://www.w3.org/2001/XMLSchema", "int"));
0064: oper.setReturnClass(int.class);
0065: oper.setReturnQName(new javax.xml.namespace.QName("",
0066: "addAttachFileReturn"));
0067: oper.setStyle(org.apache.axis.constants.Style.RPC);
0068: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0069: _operations[0] = oper;
0070:
0071: oper = new org.apache.axis.description.OperationDesc();
0072: oper.setName("addAttachUrl");
0073: param = new org.apache.axis.description.ParameterDesc(
0074: new javax.xml.namespace.QName("", "in0"),
0075: org.apache.axis.description.ParameterDesc.IN,
0076: new javax.xml.namespace.QName(
0077: "http://www.w3.org/2001/XMLSchema", "int"),
0078: int.class, false, false);
0079: oper.addParameter(param);
0080: param = new org.apache.axis.description.ParameterDesc(
0081: new javax.xml.namespace.QName("", "in1"),
0082: org.apache.axis.description.ParameterDesc.IN,
0083: new javax.xml.namespace.QName(
0084: "http://www.w3.org/2001/XMLSchema", "string"),
0085: java.lang.String.class, false, false);
0086: oper.addParameter(param);
0087: param = new org.apache.axis.description.ParameterDesc(
0088: new javax.xml.namespace.QName("", "in2"),
0089: org.apache.axis.description.ParameterDesc.IN,
0090: new javax.xml.namespace.QName(
0091: "http://www.w3.org/2001/XMLSchema", "string"),
0092: java.lang.String.class, false, false);
0093: oper.addParameter(param);
0094: oper.setReturnType(new javax.xml.namespace.QName(
0095: "http://www.w3.org/2001/XMLSchema", "int"));
0096: oper.setReturnClass(int.class);
0097: oper.setReturnQName(new javax.xml.namespace.QName("",
0098: "addAttachUrlReturn"));
0099: oper.setStyle(org.apache.axis.constants.Style.RPC);
0100: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0101: _operations[1] = oper;
0102:
0103: oper = new org.apache.axis.description.OperationDesc();
0104: oper.setName("updateOrder");
0105: param = new org.apache.axis.description.ParameterDesc(
0106: new javax.xml.namespace.QName("", "in0"),
0107: org.apache.axis.description.ParameterDesc.IN,
0108: new javax.xml.namespace.QName(
0109: "http://www.w3.org/2001/XMLSchema", "int"),
0110: int.class, false, false);
0111: oper.addParameter(param);
0112: param = new org.apache.axis.description.ParameterDesc(
0113: new javax.xml.namespace.QName("", "in1"),
0114: org.apache.axis.description.ParameterDesc.IN,
0115: new javax.xml.namespace.QName(
0116: "http://www.w3.org/2001/XMLSchema", "boolean"),
0117: boolean.class, false, false);
0118: oper.addParameter(param);
0119: oper.setReturnType(new javax.xml.namespace.QName(
0120: "http://www.w3.org/2001/XMLSchema", "int"));
0121: oper.setReturnClass(int.class);
0122: oper.setReturnQName(new javax.xml.namespace.QName("",
0123: "updateOrderReturn"));
0124: oper.setStyle(org.apache.axis.constants.Style.RPC);
0125: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0126: _operations[2] = oper;
0127:
0128: oper = new org.apache.axis.description.OperationDesc();
0129: oper.setName("deleteAllAttach");
0130: param = new org.apache.axis.description.ParameterDesc(
0131: new javax.xml.namespace.QName("", "in0"),
0132: org.apache.axis.description.ParameterDesc.IN,
0133: new javax.xml.namespace.QName(
0134: "http://www.w3.org/2001/XMLSchema", "int"),
0135: int.class, false, false);
0136: oper.addParameter(param);
0137: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0138: oper.setStyle(org.apache.axis.constants.Style.RPC);
0139: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0140: _operations[3] = oper;
0141:
0142: oper = new org.apache.axis.description.OperationDesc();
0143: oper.setName("deleteAttach");
0144: param = new org.apache.axis.description.ParameterDesc(
0145: new javax.xml.namespace.QName("", "in0"),
0146: org.apache.axis.description.ParameterDesc.IN,
0147: new javax.xml.namespace.QName(
0148: "http://www.w3.org/2001/XMLSchema", "int"),
0149: int.class, false, false);
0150: oper.addParameter(param);
0151: param = new org.apache.axis.description.ParameterDesc(
0152: new javax.xml.namespace.QName("", "in1"),
0153: org.apache.axis.description.ParameterDesc.IN,
0154: new javax.xml.namespace.QName(
0155: "http://www.w3.org/2001/XMLSchema", "int"),
0156: int.class, false, false);
0157: oper.addParameter(param);
0158: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0159: oper.setStyle(org.apache.axis.constants.Style.RPC);
0160: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0161: _operations[4] = oper;
0162:
0163: oper = new org.apache.axis.description.OperationDesc();
0164: oper.setName("getAllAttachemnt");
0165: param = new org.apache.axis.description.ParameterDesc(
0166: new javax.xml.namespace.QName("", "in0"),
0167: org.apache.axis.description.ParameterDesc.IN,
0168: new javax.xml.namespace.QName(
0169: "http://www.w3.org/2001/XMLSchema", "int"),
0170: int.class, false, false);
0171: oper.addParameter(param);
0172: oper.setReturnType(new javax.xml.namespace.QName(
0173: "http://soap.salome_tmf.objectweb.org",
0174: "ArrayOf_tns1_AttachementWrapper"));
0175: oper.setReturnClass(AttachementWrapper[].class);
0176: oper.setReturnQName(new javax.xml.namespace.QName("",
0177: "getAllAttachemntReturn"));
0178: param = oper.getReturnParamDesc();
0179: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0180: oper.setStyle(org.apache.axis.constants.Style.RPC);
0181: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0182: _operations[5] = oper;
0183:
0184: oper = new org.apache.axis.description.OperationDesc();
0185: oper.setName("getAllAttachFiles");
0186: param = new org.apache.axis.description.ParameterDesc(
0187: new javax.xml.namespace.QName("", "in0"),
0188: org.apache.axis.description.ParameterDesc.IN,
0189: new javax.xml.namespace.QName(
0190: "http://www.w3.org/2001/XMLSchema", "int"),
0191: int.class, false, false);
0192: oper.addParameter(param);
0193: oper.setReturnType(new javax.xml.namespace.QName(
0194: "http://soap.salome_tmf.objectweb.org",
0195: "ArrayOf_tns1_FileAttachementWrapper"));
0196: oper.setReturnClass(FileAttachementWrapper[].class);
0197: oper.setReturnQName(new javax.xml.namespace.QName("",
0198: "getAllAttachFilesReturn"));
0199: param = oper.getReturnParamDesc();
0200: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0201: oper.setStyle(org.apache.axis.constants.Style.RPC);
0202: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0203: _operations[6] = oper;
0204:
0205: oper = new org.apache.axis.description.OperationDesc();
0206: oper.setName("getAllAttachUrls");
0207: param = new org.apache.axis.description.ParameterDesc(
0208: new javax.xml.namespace.QName("", "in0"),
0209: org.apache.axis.description.ParameterDesc.IN,
0210: new javax.xml.namespace.QName(
0211: "http://www.w3.org/2001/XMLSchema", "int"),
0212: int.class, false, false);
0213: oper.addParameter(param);
0214: oper.setReturnType(new javax.xml.namespace.QName(
0215: "http://soap.salome_tmf.objectweb.org",
0216: "ArrayOf_tns1_UrlAttachementWrapper"));
0217: oper.setReturnClass(UrlAttachementWrapper[].class);
0218: oper.setReturnQName(new javax.xml.namespace.QName("",
0219: "getAllAttachUrlsReturn"));
0220: param = oper.getReturnParamDesc();
0221: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0222: oper.setStyle(org.apache.axis.constants.Style.RPC);
0223: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0224: _operations[7] = oper;
0225:
0226: oper = new org.apache.axis.description.OperationDesc();
0227: oper.setName("getNumberOfTestList");
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(new javax.xml.namespace.QName(
0236: "http://www.w3.org/2001/XMLSchema", "int"));
0237: oper.setReturnClass(int.class);
0238: oper.setReturnQName(new javax.xml.namespace.QName("",
0239: "getNumberOfTestListReturn"));
0240: oper.setStyle(org.apache.axis.constants.Style.RPC);
0241: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0242: _operations[8] = oper;
0243:
0244: oper = new org.apache.axis.description.OperationDesc();
0245: oper.setName("getTestListByOrder");
0246: param = new org.apache.axis.description.ParameterDesc(
0247: new javax.xml.namespace.QName("", "in0"),
0248: org.apache.axis.description.ParameterDesc.IN,
0249: new javax.xml.namespace.QName(
0250: "http://www.w3.org/2001/XMLSchema", "int"),
0251: int.class, false, false);
0252: oper.addParameter(param);
0253: param = new org.apache.axis.description.ParameterDesc(
0254: new javax.xml.namespace.QName("", "in1"),
0255: org.apache.axis.description.ParameterDesc.IN,
0256: new javax.xml.namespace.QName(
0257: "http://www.w3.org/2001/XMLSchema", "int"),
0258: int.class, false, false);
0259: oper.addParameter(param);
0260: oper.setReturnType(new javax.xml.namespace.QName(
0261: "http://data.api.salome_tmf.objectweb.org",
0262: "SuiteWrapper"));
0263: oper.setReturnClass(SuiteWrapper.class);
0264: oper.setReturnQName(new javax.xml.namespace.QName("",
0265: "getTestListByOrderReturn"));
0266: oper.setStyle(org.apache.axis.constants.Style.RPC);
0267: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0268: _operations[9] = oper;
0269:
0270: }
0271:
0272: private static void _initOperationDesc2() {
0273: org.apache.axis.description.OperationDesc oper;
0274: org.apache.axis.description.ParameterDesc param;
0275: oper = new org.apache.axis.description.OperationDesc();
0276: oper.setName("getTestList");
0277: param = new org.apache.axis.description.ParameterDesc(
0278: new javax.xml.namespace.QName("", "in0"),
0279: org.apache.axis.description.ParameterDesc.IN,
0280: new javax.xml.namespace.QName(
0281: "http://www.w3.org/2001/XMLSchema", "int"),
0282: int.class, false, false);
0283: oper.addParameter(param);
0284: oper.setReturnType(new javax.xml.namespace.QName(
0285: "http://soap.salome_tmf.objectweb.org",
0286: "ArrayOf_tns1_SuiteWrapper"));
0287: oper.setReturnClass(SuiteWrapper[].class);
0288: oper.setReturnQName(new javax.xml.namespace.QName("",
0289: "getTestListReturn"));
0290: param = oper.getReturnParamDesc();
0291: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0292: oper.setStyle(org.apache.axis.constants.Style.RPC);
0293: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0294: _operations[10] = oper;
0295:
0296: oper = new org.apache.axis.description.OperationDesc();
0297: oper.setName("delete");
0298: param = new org.apache.axis.description.ParameterDesc(
0299: new javax.xml.namespace.QName("", "in0"),
0300: org.apache.axis.description.ParameterDesc.IN,
0301: new javax.xml.namespace.QName(
0302: "http://www.w3.org/2001/XMLSchema", "int"),
0303: int.class, false, false);
0304: oper.addParameter(param);
0305: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0306: oper.setStyle(org.apache.axis.constants.Style.RPC);
0307: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0308: _operations[11] = oper;
0309:
0310: oper = new org.apache.axis.description.OperationDesc();
0311: oper.setName("insert");
0312: param = new org.apache.axis.description.ParameterDesc(
0313: new javax.xml.namespace.QName("", "in0"),
0314: org.apache.axis.description.ParameterDesc.IN,
0315: new javax.xml.namespace.QName(
0316: "http://www.w3.org/2001/XMLSchema", "int"),
0317: int.class, false, false);
0318: oper.addParameter(param);
0319: param = new org.apache.axis.description.ParameterDesc(
0320: new javax.xml.namespace.QName("", "in1"),
0321: org.apache.axis.description.ParameterDesc.IN,
0322: new javax.xml.namespace.QName(
0323: "http://www.w3.org/2001/XMLSchema", "string"),
0324: java.lang.String.class, false, false);
0325: oper.addParameter(param);
0326: param = new org.apache.axis.description.ParameterDesc(
0327: new javax.xml.namespace.QName("", "in2"),
0328: org.apache.axis.description.ParameterDesc.IN,
0329: new javax.xml.namespace.QName(
0330: "http://www.w3.org/2001/XMLSchema", "string"),
0331: java.lang.String.class, false, false);
0332: oper.addParameter(param);
0333: oper.setReturnType(new javax.xml.namespace.QName(
0334: "http://www.w3.org/2001/XMLSchema", "int"));
0335: oper.setReturnClass(int.class);
0336: oper.setReturnQName(new javax.xml.namespace.QName("",
0337: "insertReturn"));
0338: oper.setStyle(org.apache.axis.constants.Style.RPC);
0339: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0340: _operations[12] = oper;
0341:
0342: oper = new org.apache.axis.description.OperationDesc();
0343: oper.setName("getID");
0344: param = new org.apache.axis.description.ParameterDesc(
0345: new javax.xml.namespace.QName("", "in0"),
0346: org.apache.axis.description.ParameterDesc.IN,
0347: new javax.xml.namespace.QName(
0348: "http://www.w3.org/2001/XMLSchema", "int"),
0349: int.class, false, false);
0350: oper.addParameter(param);
0351: param = new org.apache.axis.description.ParameterDesc(
0352: new javax.xml.namespace.QName("", "in1"),
0353: org.apache.axis.description.ParameterDesc.IN,
0354: new javax.xml.namespace.QName(
0355: "http://www.w3.org/2001/XMLSchema", "string"),
0356: java.lang.String.class, false, false);
0357: oper.addParameter(param);
0358: oper.setReturnType(new javax.xml.namespace.QName(
0359: "http://www.w3.org/2001/XMLSchema", "int"));
0360: oper.setReturnClass(int.class);
0361: oper.setReturnQName(new javax.xml.namespace.QName("",
0362: "getIDReturn"));
0363: oper.setStyle(org.apache.axis.constants.Style.RPC);
0364: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0365: _operations[13] = oper;
0366:
0367: oper = new org.apache.axis.description.OperationDesc();
0368: oper.setName("update");
0369: param = new org.apache.axis.description.ParameterDesc(
0370: new javax.xml.namespace.QName("", "in0"),
0371: org.apache.axis.description.ParameterDesc.IN,
0372: new javax.xml.namespace.QName(
0373: "http://www.w3.org/2001/XMLSchema", "int"),
0374: int.class, false, false);
0375: oper.addParameter(param);
0376: param = new org.apache.axis.description.ParameterDesc(
0377: new javax.xml.namespace.QName("", "in1"),
0378: org.apache.axis.description.ParameterDesc.IN,
0379: new javax.xml.namespace.QName(
0380: "http://www.w3.org/2001/XMLSchema", "string"),
0381: java.lang.String.class, false, false);
0382: oper.addParameter(param);
0383: param = new org.apache.axis.description.ParameterDesc(
0384: new javax.xml.namespace.QName("", "in2"),
0385: org.apache.axis.description.ParameterDesc.IN,
0386: new javax.xml.namespace.QName(
0387: "http://www.w3.org/2001/XMLSchema", "string"),
0388: java.lang.String.class, false, false);
0389: oper.addParameter(param);
0390: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0391: oper.setStyle(org.apache.axis.constants.Style.RPC);
0392: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0393: _operations[14] = oper;
0394:
0395: oper = new org.apache.axis.description.OperationDesc();
0396: oper.setName("getFamily");
0397: param = new org.apache.axis.description.ParameterDesc(
0398: new javax.xml.namespace.QName("", "in0"),
0399: org.apache.axis.description.ParameterDesc.IN,
0400: new javax.xml.namespace.QName(
0401: "http://www.w3.org/2001/XMLSchema", "int"),
0402: int.class, false, false);
0403: oper.addParameter(param);
0404: oper.setReturnType(new javax.xml.namespace.QName(
0405: "http://data.api.salome_tmf.objectweb.org",
0406: "FamilyWrapper"));
0407: oper.setReturnClass(FamilyWrapper.class);
0408: oper.setReturnQName(new javax.xml.namespace.QName("",
0409: "getFamilyReturn"));
0410: oper.setStyle(org.apache.axis.constants.Style.RPC);
0411: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0412: _operations[15] = oper;
0413:
0414: }
0415:
0416: public SQLFamilySoapBindingStub() throws org.apache.axis.AxisFault {
0417: this (null);
0418: }
0419:
0420: public SQLFamilySoapBindingStub(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 SQLFamilySoapBindingStub(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: "FamilyWrapper");
0470: cachedSerQNames.add(qName);
0471: cls = FamilyWrapper.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: "FileAttachementWrapper");
0479: cachedSerQNames.add(qName);
0480: cls = FileAttachementWrapper.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: "SalomeFileWrapper");
0488: cachedSerQNames.add(qName);
0489: cls = SalomeFileWrapper.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: "SuiteWrapper");
0497: cachedSerQNames.add(qName);
0498: cls = SuiteWrapper.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_SuiteWrapper");
0547: cachedSerQNames.add(qName);
0548: cls = SuiteWrapper[].class;
0549: cachedSerClasses.add(cls);
0550: qName = new javax.xml.namespace.QName(
0551: "http://data.api.salome_tmf.objectweb.org",
0552: "SuiteWrapper");
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: public int addAttachFile(int in0, SalomeFileWrapper in1,
0647: java.lang.String in2) throws java.rmi.RemoteException {
0648: if (super .cachedEndpoint == null) {
0649: throw new org.apache.axis.NoEndPointException();
0650: }
0651: org.apache.axis.client.Call _call = createCall();
0652: _call.setOperation(_operations[0]);
0653: _call.setUseSOAPAction(true);
0654: _call.setSOAPActionURI("");
0655: _call.setEncodingStyle(null);
0656: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0657: Boolean.FALSE);
0658: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0659: Boolean.FALSE);
0660: _call
0661: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0662: _call
0663: .setOperationName(new javax.xml.namespace.QName(
0664: "http://soap.salome_tmf.objectweb.org",
0665: "addAttachFile"));
0666:
0667: setRequestHeaders(_call);
0668: setAttachments(_call);
0669: try {
0670: java.lang.Object _resp = _call
0671: .invoke(new java.lang.Object[] {
0672: new java.lang.Integer(in0), in1, in2 });
0673:
0674: if (_resp instanceof java.rmi.RemoteException) {
0675: throw (java.rmi.RemoteException) _resp;
0676: } else {
0677: extractAttachments(_call);
0678: try {
0679: return ((java.lang.Integer) _resp).intValue();
0680: } catch (java.lang.Exception _exception) {
0681: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
0682: .convert(_resp, int.class)).intValue();
0683: }
0684: }
0685: } catch (org.apache.axis.AxisFault axisFaultException) {
0686: throw axisFaultException;
0687: }
0688: }
0689:
0690: public int addAttachUrl(int in0, java.lang.String in1,
0691: java.lang.String in2) throws java.rmi.RemoteException {
0692: if (super .cachedEndpoint == null) {
0693: throw new org.apache.axis.NoEndPointException();
0694: }
0695: org.apache.axis.client.Call _call = createCall();
0696: _call.setOperation(_operations[1]);
0697: _call.setUseSOAPAction(true);
0698: _call.setSOAPActionURI("");
0699: _call.setEncodingStyle(null);
0700: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0701: Boolean.FALSE);
0702: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0703: Boolean.FALSE);
0704: _call
0705: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0706: _call
0707: .setOperationName(new javax.xml.namespace.QName(
0708: "http://soap.salome_tmf.objectweb.org",
0709: "addAttachUrl"));
0710:
0711: setRequestHeaders(_call);
0712: setAttachments(_call);
0713: try {
0714: java.lang.Object _resp = _call
0715: .invoke(new java.lang.Object[] {
0716: new java.lang.Integer(in0), in1, in2 });
0717:
0718: if (_resp instanceof java.rmi.RemoteException) {
0719: throw (java.rmi.RemoteException) _resp;
0720: } else {
0721: extractAttachments(_call);
0722: try {
0723: return ((java.lang.Integer) _resp).intValue();
0724: } catch (java.lang.Exception _exception) {
0725: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
0726: .convert(_resp, int.class)).intValue();
0727: }
0728: }
0729: } catch (org.apache.axis.AxisFault axisFaultException) {
0730: throw axisFaultException;
0731: }
0732: }
0733:
0734: public int updateOrder(int in0, boolean in1)
0735: throws java.rmi.RemoteException {
0736: if (super .cachedEndpoint == null) {
0737: throw new org.apache.axis.NoEndPointException();
0738: }
0739: org.apache.axis.client.Call _call = createCall();
0740: _call.setOperation(_operations[2]);
0741: _call.setUseSOAPAction(true);
0742: _call.setSOAPActionURI("");
0743: _call.setEncodingStyle(null);
0744: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0745: Boolean.FALSE);
0746: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0747: Boolean.FALSE);
0748: _call
0749: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0750: _call.setOperationName(new javax.xml.namespace.QName(
0751: "http://soap.salome_tmf.objectweb.org", "updateOrder"));
0752:
0753: setRequestHeaders(_call);
0754: setAttachments(_call);
0755: try {
0756: java.lang.Object _resp = _call
0757: .invoke(new java.lang.Object[] {
0758: new java.lang.Integer(in0),
0759: new java.lang.Boolean(in1) });
0760:
0761: if (_resp instanceof java.rmi.RemoteException) {
0762: throw (java.rmi.RemoteException) _resp;
0763: } else {
0764: extractAttachments(_call);
0765: try {
0766: return ((java.lang.Integer) _resp).intValue();
0767: } catch (java.lang.Exception _exception) {
0768: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
0769: .convert(_resp, int.class)).intValue();
0770: }
0771: }
0772: } catch (org.apache.axis.AxisFault axisFaultException) {
0773: throw axisFaultException;
0774: }
0775: }
0776:
0777: public void deleteAllAttach(int in0)
0778: throws java.rmi.RemoteException {
0779: if (super .cachedEndpoint == null) {
0780: throw new org.apache.axis.NoEndPointException();
0781: }
0782: org.apache.axis.client.Call _call = createCall();
0783: _call.setOperation(_operations[3]);
0784: _call.setUseSOAPAction(true);
0785: _call.setSOAPActionURI("");
0786: _call.setEncodingStyle(null);
0787: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0788: Boolean.FALSE);
0789: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0790: Boolean.FALSE);
0791: _call
0792: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0793: _call.setOperationName(new javax.xml.namespace.QName(
0794: "http://soap.salome_tmf.objectweb.org",
0795: "deleteAllAttach"));
0796:
0797: setRequestHeaders(_call);
0798: setAttachments(_call);
0799: try {
0800: java.lang.Object _resp = _call
0801: .invoke(new java.lang.Object[] { new java.lang.Integer(
0802: in0) });
0803:
0804: if (_resp instanceof java.rmi.RemoteException) {
0805: throw (java.rmi.RemoteException) _resp;
0806: }
0807: extractAttachments(_call);
0808: } catch (org.apache.axis.AxisFault axisFaultException) {
0809: throw axisFaultException;
0810: }
0811: }
0812:
0813: public void deleteAttach(int in0, int in1)
0814: throws java.rmi.RemoteException {
0815: if (super .cachedEndpoint == null) {
0816: throw new org.apache.axis.NoEndPointException();
0817: }
0818: org.apache.axis.client.Call _call = createCall();
0819: _call.setOperation(_operations[4]);
0820: _call.setUseSOAPAction(true);
0821: _call.setSOAPActionURI("");
0822: _call.setEncodingStyle(null);
0823: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0824: Boolean.FALSE);
0825: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0826: Boolean.FALSE);
0827: _call
0828: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0829: _call
0830: .setOperationName(new javax.xml.namespace.QName(
0831: "http://soap.salome_tmf.objectweb.org",
0832: "deleteAttach"));
0833:
0834: setRequestHeaders(_call);
0835: setAttachments(_call);
0836: try {
0837: java.lang.Object _resp = _call
0838: .invoke(new java.lang.Object[] {
0839: new java.lang.Integer(in0),
0840: new java.lang.Integer(in1) });
0841:
0842: if (_resp instanceof java.rmi.RemoteException) {
0843: throw (java.rmi.RemoteException) _resp;
0844: }
0845: extractAttachments(_call);
0846: } catch (org.apache.axis.AxisFault axisFaultException) {
0847: throw axisFaultException;
0848: }
0849: }
0850:
0851: public AttachementWrapper[] getAllAttachemnt(int in0)
0852: throws java.rmi.RemoteException {
0853: if (super .cachedEndpoint == null) {
0854: throw new org.apache.axis.NoEndPointException();
0855: }
0856: org.apache.axis.client.Call _call = createCall();
0857: _call.setOperation(_operations[5]);
0858: _call.setUseSOAPAction(true);
0859: _call.setSOAPActionURI("");
0860: _call.setEncodingStyle(null);
0861: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0862: Boolean.FALSE);
0863: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0864: Boolean.FALSE);
0865: _call
0866: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0867: _call.setOperationName(new javax.xml.namespace.QName(
0868: "http://soap.salome_tmf.objectweb.org",
0869: "getAllAttachemnt"));
0870:
0871: setRequestHeaders(_call);
0872: setAttachments(_call);
0873: try {
0874: java.lang.Object _resp = _call
0875: .invoke(new java.lang.Object[] { new java.lang.Integer(
0876: in0) });
0877:
0878: if (_resp instanceof java.rmi.RemoteException) {
0879: throw (java.rmi.RemoteException) _resp;
0880: } else {
0881: extractAttachments(_call);
0882: try {
0883: return (AttachementWrapper[]) _resp;
0884: } catch (java.lang.Exception _exception) {
0885: return (AttachementWrapper[]) org.apache.axis.utils.JavaUtils
0886: .convert(_resp, AttachementWrapper[].class);
0887: }
0888: }
0889: } catch (org.apache.axis.AxisFault axisFaultException) {
0890: throw axisFaultException;
0891: }
0892: }
0893:
0894: public FileAttachementWrapper[] getAllAttachFiles(int in0)
0895: throws java.rmi.RemoteException {
0896: if (super .cachedEndpoint == null) {
0897: throw new org.apache.axis.NoEndPointException();
0898: }
0899: org.apache.axis.client.Call _call = createCall();
0900: _call.setOperation(_operations[6]);
0901: _call.setUseSOAPAction(true);
0902: _call.setSOAPActionURI("");
0903: _call.setEncodingStyle(null);
0904: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0905: Boolean.FALSE);
0906: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0907: Boolean.FALSE);
0908: _call
0909: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0910: _call.setOperationName(new javax.xml.namespace.QName(
0911: "http://soap.salome_tmf.objectweb.org",
0912: "getAllAttachFiles"));
0913:
0914: setRequestHeaders(_call);
0915: setAttachments(_call);
0916: try {
0917: java.lang.Object _resp = _call
0918: .invoke(new java.lang.Object[] { new java.lang.Integer(
0919: in0) });
0920:
0921: if (_resp instanceof java.rmi.RemoteException) {
0922: throw (java.rmi.RemoteException) _resp;
0923: } else {
0924: extractAttachments(_call);
0925: try {
0926: return (FileAttachementWrapper[]) _resp;
0927: } catch (java.lang.Exception _exception) {
0928: return (FileAttachementWrapper[]) org.apache.axis.utils.JavaUtils
0929: .convert(_resp,
0930: FileAttachementWrapper[].class);
0931: }
0932: }
0933: } catch (org.apache.axis.AxisFault axisFaultException) {
0934: throw axisFaultException;
0935: }
0936: }
0937:
0938: public UrlAttachementWrapper[] getAllAttachUrls(int in0)
0939: throws java.rmi.RemoteException {
0940: if (super .cachedEndpoint == null) {
0941: throw new org.apache.axis.NoEndPointException();
0942: }
0943: org.apache.axis.client.Call _call = createCall();
0944: _call.setOperation(_operations[7]);
0945: _call.setUseSOAPAction(true);
0946: _call.setSOAPActionURI("");
0947: _call.setEncodingStyle(null);
0948: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0949: Boolean.FALSE);
0950: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0951: Boolean.FALSE);
0952: _call
0953: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0954: _call.setOperationName(new javax.xml.namespace.QName(
0955: "http://soap.salome_tmf.objectweb.org",
0956: "getAllAttachUrls"));
0957:
0958: setRequestHeaders(_call);
0959: setAttachments(_call);
0960: try {
0961: java.lang.Object _resp = _call
0962: .invoke(new java.lang.Object[] { new java.lang.Integer(
0963: in0) });
0964:
0965: if (_resp instanceof java.rmi.RemoteException) {
0966: throw (java.rmi.RemoteException) _resp;
0967: } else {
0968: extractAttachments(_call);
0969: try {
0970: return (UrlAttachementWrapper[]) _resp;
0971: } catch (java.lang.Exception _exception) {
0972: return (UrlAttachementWrapper[]) org.apache.axis.utils.JavaUtils
0973: .convert(_resp,
0974: UrlAttachementWrapper[].class);
0975: }
0976: }
0977: } catch (org.apache.axis.AxisFault axisFaultException) {
0978: throw axisFaultException;
0979: }
0980: }
0981:
0982: public int getNumberOfTestList(int in0)
0983: throws java.rmi.RemoteException {
0984: if (super .cachedEndpoint == null) {
0985: throw new org.apache.axis.NoEndPointException();
0986: }
0987: org.apache.axis.client.Call _call = createCall();
0988: _call.setOperation(_operations[8]);
0989: _call.setUseSOAPAction(true);
0990: _call.setSOAPActionURI("");
0991: _call.setEncodingStyle(null);
0992: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0993: Boolean.FALSE);
0994: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0995: Boolean.FALSE);
0996: _call
0997: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0998: _call.setOperationName(new javax.xml.namespace.QName(
0999: "http://soap.salome_tmf.objectweb.org",
1000: "getNumberOfTestList"));
1001:
1002: setRequestHeaders(_call);
1003: setAttachments(_call);
1004: try {
1005: java.lang.Object _resp = _call
1006: .invoke(new java.lang.Object[] { new java.lang.Integer(
1007: in0) });
1008:
1009: if (_resp instanceof java.rmi.RemoteException) {
1010: throw (java.rmi.RemoteException) _resp;
1011: } else {
1012: extractAttachments(_call);
1013: try {
1014: return ((java.lang.Integer) _resp).intValue();
1015: } catch (java.lang.Exception _exception) {
1016: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
1017: .convert(_resp, int.class)).intValue();
1018: }
1019: }
1020: } catch (org.apache.axis.AxisFault axisFaultException) {
1021: throw axisFaultException;
1022: }
1023: }
1024:
1025: public SuiteWrapper getTestListByOrder(int in0, int in1)
1026: throws java.rmi.RemoteException {
1027: if (super .cachedEndpoint == null) {
1028: throw new org.apache.axis.NoEndPointException();
1029: }
1030: org.apache.axis.client.Call _call = createCall();
1031: _call.setOperation(_operations[9]);
1032: _call.setUseSOAPAction(true);
1033: _call.setSOAPActionURI("");
1034: _call.setEncodingStyle(null);
1035: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1036: Boolean.FALSE);
1037: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1038: Boolean.FALSE);
1039: _call
1040: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1041: _call.setOperationName(new javax.xml.namespace.QName(
1042: "http://soap.salome_tmf.objectweb.org",
1043: "getTestListByOrder"));
1044:
1045: setRequestHeaders(_call);
1046: setAttachments(_call);
1047: try {
1048: java.lang.Object _resp = _call
1049: .invoke(new java.lang.Object[] {
1050: new java.lang.Integer(in0),
1051: new java.lang.Integer(in1) });
1052:
1053: if (_resp instanceof java.rmi.RemoteException) {
1054: throw (java.rmi.RemoteException) _resp;
1055: } else {
1056: extractAttachments(_call);
1057: try {
1058: return (SuiteWrapper) _resp;
1059: } catch (java.lang.Exception _exception) {
1060: return (SuiteWrapper) org.apache.axis.utils.JavaUtils
1061: .convert(_resp, SuiteWrapper.class);
1062: }
1063: }
1064: } catch (org.apache.axis.AxisFault axisFaultException) {
1065: throw axisFaultException;
1066: }
1067: }
1068:
1069: public SuiteWrapper[] getTestList(int in0)
1070: throws java.rmi.RemoteException {
1071: if (super .cachedEndpoint == null) {
1072: throw new org.apache.axis.NoEndPointException();
1073: }
1074: org.apache.axis.client.Call _call = createCall();
1075: _call.setOperation(_operations[10]);
1076: _call.setUseSOAPAction(true);
1077: _call.setSOAPActionURI("");
1078: _call.setEncodingStyle(null);
1079: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1080: Boolean.FALSE);
1081: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1082: Boolean.FALSE);
1083: _call
1084: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1085: _call.setOperationName(new javax.xml.namespace.QName(
1086: "http://soap.salome_tmf.objectweb.org", "getTestList"));
1087:
1088: setRequestHeaders(_call);
1089: setAttachments(_call);
1090: try {
1091: java.lang.Object _resp = _call
1092: .invoke(new java.lang.Object[] { new java.lang.Integer(
1093: in0) });
1094:
1095: if (_resp instanceof java.rmi.RemoteException) {
1096: throw (java.rmi.RemoteException) _resp;
1097: } else {
1098: extractAttachments(_call);
1099: try {
1100: return (SuiteWrapper[]) _resp;
1101: } catch (java.lang.Exception _exception) {
1102: return (SuiteWrapper[]) org.apache.axis.utils.JavaUtils
1103: .convert(_resp, SuiteWrapper[].class);
1104: }
1105: }
1106: } catch (org.apache.axis.AxisFault axisFaultException) {
1107: throw axisFaultException;
1108: }
1109: }
1110:
1111: /**
1112: * @TODO IMPLEMENTATION SOAP
1113: */
1114: public void delete(int in0, boolean reorder)
1115: throws java.rmi.RemoteException {
1116: delete(in0);
1117: }
1118:
1119: public void delete(int in0) throws java.rmi.RemoteException {
1120: if (!Permission.canDeleteTest()) {
1121: try {
1122: throw new Exception(
1123: "[SQLFamily : delete -> canDeleteTest]");
1124: } catch (Exception e) {
1125: e.printStackTrace();
1126: }
1127: }
1128: if (super .cachedEndpoint == null) {
1129: throw new org.apache.axis.NoEndPointException();
1130: }
1131: org.apache.axis.client.Call _call = createCall();
1132: _call.setOperation(_operations[11]);
1133: _call.setUseSOAPAction(true);
1134: _call.setSOAPActionURI("");
1135: _call.setEncodingStyle(null);
1136: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1137: Boolean.FALSE);
1138: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1139: Boolean.FALSE);
1140: _call
1141: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1142: _call.setOperationName(new javax.xml.namespace.QName(
1143: "http://soap.salome_tmf.objectweb.org", "delete"));
1144:
1145: setRequestHeaders(_call);
1146: setAttachments(_call);
1147: try {
1148: java.lang.Object _resp = _call
1149: .invoke(new java.lang.Object[] { new java.lang.Integer(
1150: in0) });
1151:
1152: if (_resp instanceof java.rmi.RemoteException) {
1153: throw (java.rmi.RemoteException) _resp;
1154: }
1155: extractAttachments(_call);
1156: } catch (org.apache.axis.AxisFault axisFaultException) {
1157: throw axisFaultException;
1158: }
1159: }
1160:
1161: public int insert(int in0, java.lang.String in1,
1162: java.lang.String in2) throws java.rmi.RemoteException {
1163: if (!Permission.canCreateTest()) {
1164: try {
1165: throw new Exception(
1166: "[SQLFamily : insert -> canCreateTest]");
1167: } catch (Exception e) {
1168: e.printStackTrace();
1169: }
1170: }
1171: if (super .cachedEndpoint == null) {
1172: throw new org.apache.axis.NoEndPointException();
1173: }
1174: org.apache.axis.client.Call _call = createCall();
1175: _call.setOperation(_operations[12]);
1176: _call.setUseSOAPAction(true);
1177: _call.setSOAPActionURI("");
1178: _call.setEncodingStyle(null);
1179: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1180: Boolean.FALSE);
1181: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1182: Boolean.FALSE);
1183: _call
1184: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1185: _call.setOperationName(new javax.xml.namespace.QName(
1186: "http://soap.salome_tmf.objectweb.org", "insert"));
1187:
1188: setRequestHeaders(_call);
1189: setAttachments(_call);
1190: try {
1191: java.lang.Object _resp = _call
1192: .invoke(new java.lang.Object[] {
1193: new java.lang.Integer(in0), in1, in2 });
1194:
1195: if (_resp instanceof java.rmi.RemoteException) {
1196: throw (java.rmi.RemoteException) _resp;
1197: } else {
1198: extractAttachments(_call);
1199: try {
1200: return ((java.lang.Integer) _resp).intValue();
1201: } catch (java.lang.Exception _exception) {
1202: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
1203: .convert(_resp, int.class)).intValue();
1204: }
1205: }
1206: } catch (org.apache.axis.AxisFault axisFaultException) {
1207: throw axisFaultException;
1208: }
1209: }
1210:
1211: public int getID(int in0, java.lang.String in1)
1212: throws java.rmi.RemoteException {
1213: if (super .cachedEndpoint == null) {
1214: throw new org.apache.axis.NoEndPointException();
1215: }
1216: org.apache.axis.client.Call _call = createCall();
1217: _call.setOperation(_operations[13]);
1218: _call.setUseSOAPAction(true);
1219: _call.setSOAPActionURI("");
1220: _call.setEncodingStyle(null);
1221: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1222: Boolean.FALSE);
1223: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1224: Boolean.FALSE);
1225: _call
1226: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1227: _call.setOperationName(new javax.xml.namespace.QName(
1228: "http://soap.salome_tmf.objectweb.org", "getID"));
1229:
1230: setRequestHeaders(_call);
1231: setAttachments(_call);
1232: try {
1233: java.lang.Object _resp = _call
1234: .invoke(new java.lang.Object[] {
1235: new java.lang.Integer(in0), in1 });
1236:
1237: if (_resp instanceof java.rmi.RemoteException) {
1238: throw (java.rmi.RemoteException) _resp;
1239: } else {
1240: extractAttachments(_call);
1241: try {
1242: return ((java.lang.Integer) _resp).intValue();
1243: } catch (java.lang.Exception _exception) {
1244: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
1245: .convert(_resp, int.class)).intValue();
1246: }
1247: }
1248: } catch (org.apache.axis.AxisFault axisFaultException) {
1249: throw axisFaultException;
1250: }
1251: }
1252:
1253: public void update(int in0, java.lang.String in1,
1254: java.lang.String in2) throws java.rmi.RemoteException {
1255: if (!Permission.canUpdateTest()) {
1256: try {
1257: throw new Exception(
1258: "[SQLFamily : update -> canUpdateTest]");
1259: } catch (Exception e) {
1260: e.printStackTrace();
1261: }
1262: }
1263: if (super .cachedEndpoint == null) {
1264: throw new org.apache.axis.NoEndPointException();
1265: }
1266: org.apache.axis.client.Call _call = createCall();
1267: _call.setOperation(_operations[14]);
1268: _call.setUseSOAPAction(true);
1269: _call.setSOAPActionURI("");
1270: _call.setEncodingStyle(null);
1271: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1272: Boolean.FALSE);
1273: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1274: Boolean.FALSE);
1275: _call
1276: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1277: _call.setOperationName(new javax.xml.namespace.QName(
1278: "http://soap.salome_tmf.objectweb.org", "update"));
1279:
1280: setRequestHeaders(_call);
1281: setAttachments(_call);
1282: try {
1283: java.lang.Object _resp = _call
1284: .invoke(new java.lang.Object[] {
1285: new java.lang.Integer(in0), in1, in2 });
1286:
1287: if (_resp instanceof java.rmi.RemoteException) {
1288: throw (java.rmi.RemoteException) _resp;
1289: }
1290: extractAttachments(_call);
1291: } catch (org.apache.axis.AxisFault axisFaultException) {
1292: throw axisFaultException;
1293: }
1294: }
1295:
1296: public FamilyWrapper getFamily(int in0)
1297: throws java.rmi.RemoteException {
1298: if (super .cachedEndpoint == null) {
1299: throw new org.apache.axis.NoEndPointException();
1300: }
1301: org.apache.axis.client.Call _call = createCall();
1302: _call.setOperation(_operations[15]);
1303: _call.setUseSOAPAction(true);
1304: _call.setSOAPActionURI("");
1305: _call.setEncodingStyle(null);
1306: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1307: Boolean.FALSE);
1308: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1309: Boolean.FALSE);
1310: _call
1311: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1312: _call.setOperationName(new javax.xml.namespace.QName(
1313: "http://soap.salome_tmf.objectweb.org", "getFamily"));
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 (FamilyWrapper) _resp;
1328: } catch (java.lang.Exception _exception) {
1329: return (FamilyWrapper) org.apache.axis.utils.JavaUtils
1330: .convert(_resp, FamilyWrapper.class);
1331: }
1332: }
1333: } catch (org.apache.axis.AxisFault axisFaultException) {
1334: throw axisFaultException;
1335: }
1336: }
1337:
1338: }
|