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