0001: /**
0002: * SQLAutomaticTestSoapBindingStub.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.ScriptWrapper;
0015: import org.objectweb.salome_tmf.api.data.TestWrapper;
0016: import org.objectweb.salome_tmf.api.data.UrlAttachementWrapper;
0017: import org.objectweb.salome_tmf.api.sql.ISQLAutomaticTest;
0018: import org.objectweb.salome_tmf.databaseSQL.SecurityException;
0019:
0020: public class SQLAutomaticTestSoapBindingStub extends StubClient
0021: implements ISQLAutomaticTest {
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[22];
0031: _initOperationDesc1();
0032: _initOperationDesc2();
0033: _initOperationDesc3();
0034: }
0035:
0036: private static void _initOperationDesc1() {
0037: org.apache.axis.description.OperationDesc oper;
0038: org.apache.axis.description.ParameterDesc param;
0039: oper = new org.apache.axis.description.OperationDesc();
0040: oper.setName("addScript");
0041: param = new org.apache.axis.description.ParameterDesc(
0042: new javax.xml.namespace.QName("", "in0"),
0043: org.apache.axis.description.ParameterDesc.IN,
0044: new javax.xml.namespace.QName(
0045: "http://www.w3.org/2001/XMLSchema", "int"),
0046: int.class, false, false);
0047: oper.addParameter(param);
0048: param = new org.apache.axis.description.ParameterDesc(
0049: new javax.xml.namespace.QName("", "in1"),
0050: org.apache.axis.description.ParameterDesc.IN,
0051: new javax.xml.namespace.QName(
0052: "http://data.api.salome_tmf.objectweb.org",
0053: "SalomeFileWrapper"), SalomeFileWrapper.class,
0054: false, false);
0055: oper.addParameter(param);
0056: param = new org.apache.axis.description.ParameterDesc(
0057: new javax.xml.namespace.QName("", "in2"),
0058: org.apache.axis.description.ParameterDesc.IN,
0059: new javax.xml.namespace.QName(
0060: "http://www.w3.org/2001/XMLSchema", "string"),
0061: java.lang.String.class, false, false);
0062: oper.addParameter(param);
0063: param = new org.apache.axis.description.ParameterDesc(
0064: new javax.xml.namespace.QName("", "in3"),
0065: org.apache.axis.description.ParameterDesc.IN,
0066: new javax.xml.namespace.QName(
0067: "http://www.w3.org/2001/XMLSchema", "string"),
0068: java.lang.String.class, false, false);
0069: oper.addParameter(param);
0070: param = new org.apache.axis.description.ParameterDesc(
0071: new javax.xml.namespace.QName("", "in4"),
0072: org.apache.axis.description.ParameterDesc.IN,
0073: new javax.xml.namespace.QName(
0074: "http://www.w3.org/2001/XMLSchema", "string"),
0075: java.lang.String.class, false, false);
0076: oper.addParameter(param);
0077: param = new org.apache.axis.description.ParameterDesc(
0078: new javax.xml.namespace.QName("", "in5"),
0079: org.apache.axis.description.ParameterDesc.IN,
0080: new javax.xml.namespace.QName(
0081: "http://www.w3.org/2001/XMLSchema", "string"),
0082: java.lang.String.class, false, false);
0083: oper.addParameter(param);
0084: oper.setReturnType(new javax.xml.namespace.QName(
0085: "http://www.w3.org/2001/XMLSchema", "int"));
0086: oper.setReturnClass(int.class);
0087: oper.setReturnQName(new javax.xml.namespace.QName("",
0088: "addScriptReturn"));
0089: oper.setStyle(org.apache.axis.constants.Style.RPC);
0090: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0091: _operations[0] = oper;
0092:
0093: oper = new org.apache.axis.description.OperationDesc();
0094: oper.setName("deleteUseParam");
0095: param = new org.apache.axis.description.ParameterDesc(
0096: new javax.xml.namespace.QName("", "in0"),
0097: org.apache.axis.description.ParameterDesc.IN,
0098: new javax.xml.namespace.QName(
0099: "http://www.w3.org/2001/XMLSchema", "int"),
0100: int.class, false, false);
0101: oper.addParameter(param);
0102: param = new org.apache.axis.description.ParameterDesc(
0103: new javax.xml.namespace.QName("", "in1"),
0104: org.apache.axis.description.ParameterDesc.IN,
0105: new javax.xml.namespace.QName(
0106: "http://www.w3.org/2001/XMLSchema", "int"),
0107: int.class, false, false);
0108: oper.addParameter(param);
0109: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0110: oper.setStyle(org.apache.axis.constants.Style.RPC);
0111: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0112: _operations[1] = oper;
0113:
0114: oper = new org.apache.axis.description.OperationDesc();
0115: oper.setName("deleteScript");
0116: param = new org.apache.axis.description.ParameterDesc(
0117: new javax.xml.namespace.QName("", "in0"),
0118: org.apache.axis.description.ParameterDesc.IN,
0119: new javax.xml.namespace.QName(
0120: "http://www.w3.org/2001/XMLSchema", "int"),
0121: int.class, false, false);
0122: oper.addParameter(param);
0123: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
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("getTestScript");
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(new javax.xml.namespace.QName(
0138: "http://data.api.salome_tmf.objectweb.org",
0139: "ScriptWrapper"));
0140: oper.setReturnClass(ScriptWrapper.class);
0141: oper.setReturnQName(new javax.xml.namespace.QName("",
0142: "getTestScriptReturn"));
0143: oper.setStyle(org.apache.axis.constants.Style.RPC);
0144: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0145: _operations[3] = oper;
0146:
0147: oper = new org.apache.axis.description.OperationDesc();
0148: oper.setName("getTestScriptFile");
0149: param = new org.apache.axis.description.ParameterDesc(
0150: new javax.xml.namespace.QName("", "in0"),
0151: org.apache.axis.description.ParameterDesc.IN,
0152: new javax.xml.namespace.QName(
0153: "http://www.w3.org/2001/XMLSchema", "int"),
0154: int.class, false, false);
0155: oper.addParameter(param);
0156: oper.setReturnType(new javax.xml.namespace.QName(
0157: "http://data.api.salome_tmf.objectweb.org",
0158: "SalomeFileWrapper"));
0159: oper.setReturnClass(SalomeFileWrapper.class);
0160: oper.setReturnQName(new javax.xml.namespace.QName("",
0161: "getTestScriptFileReturn"));
0162: oper.setStyle(org.apache.axis.constants.Style.RPC);
0163: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0164: _operations[4] = oper;
0165:
0166: oper = new org.apache.axis.description.OperationDesc();
0167: oper.setName("delete");
0168: param = new org.apache.axis.description.ParameterDesc(
0169: new javax.xml.namespace.QName("", "in0"),
0170: org.apache.axis.description.ParameterDesc.IN,
0171: new javax.xml.namespace.QName(
0172: "http://www.w3.org/2001/XMLSchema", "int"),
0173: int.class, false, false);
0174: oper.addParameter(param);
0175: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0176: oper.setStyle(org.apache.axis.constants.Style.RPC);
0177: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0178: _operations[5] = oper;
0179:
0180: oper = new org.apache.axis.description.OperationDesc();
0181: oper.setName("insert");
0182: param = new org.apache.axis.description.ParameterDesc(
0183: new javax.xml.namespace.QName("", "in0"),
0184: org.apache.axis.description.ParameterDesc.IN,
0185: new javax.xml.namespace.QName(
0186: "http://www.w3.org/2001/XMLSchema", "int"),
0187: int.class, false, false);
0188: oper.addParameter(param);
0189: param = new org.apache.axis.description.ParameterDesc(
0190: new javax.xml.namespace.QName("", "in1"),
0191: org.apache.axis.description.ParameterDesc.IN,
0192: new javax.xml.namespace.QName(
0193: "http://www.w3.org/2001/XMLSchema", "string"),
0194: java.lang.String.class, false, false);
0195: oper.addParameter(param);
0196: param = new org.apache.axis.description.ParameterDesc(
0197: new javax.xml.namespace.QName("", "in2"),
0198: org.apache.axis.description.ParameterDesc.IN,
0199: new javax.xml.namespace.QName(
0200: "http://www.w3.org/2001/XMLSchema", "string"),
0201: java.lang.String.class, false, false);
0202: oper.addParameter(param);
0203: param = new org.apache.axis.description.ParameterDesc(
0204: new javax.xml.namespace.QName("", "in3"),
0205: org.apache.axis.description.ParameterDesc.IN,
0206: new javax.xml.namespace.QName(
0207: "http://www.w3.org/2001/XMLSchema", "string"),
0208: java.lang.String.class, false, false);
0209: oper.addParameter(param);
0210: param = new org.apache.axis.description.ParameterDesc(
0211: new javax.xml.namespace.QName("", "in4"),
0212: org.apache.axis.description.ParameterDesc.IN,
0213: new javax.xml.namespace.QName(
0214: "http://www.w3.org/2001/XMLSchema", "string"),
0215: java.lang.String.class, false, false);
0216: oper.addParameter(param);
0217: oper.setReturnType(new javax.xml.namespace.QName(
0218: "http://www.w3.org/2001/XMLSchema", "int"));
0219: oper.setReturnClass(int.class);
0220: oper.setReturnQName(new javax.xml.namespace.QName("",
0221: "insertReturn"));
0222: oper.setStyle(org.apache.axis.constants.Style.RPC);
0223: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0224: _operations[6] = oper;
0225:
0226: oper = new org.apache.axis.description.OperationDesc();
0227: oper.setName("addUseParam");
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: param = new org.apache.axis.description.ParameterDesc(
0236: new javax.xml.namespace.QName("", "in1"),
0237: org.apache.axis.description.ParameterDesc.IN,
0238: new javax.xml.namespace.QName(
0239: "http://www.w3.org/2001/XMLSchema", "int"),
0240: int.class, false, false);
0241: oper.addParameter(param);
0242: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0243: oper.setStyle(org.apache.axis.constants.Style.RPC);
0244: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0245: _operations[7] = oper;
0246:
0247: oper = new org.apache.axis.description.OperationDesc();
0248: oper.setName("addAttachFile");
0249: param = new org.apache.axis.description.ParameterDesc(
0250: new javax.xml.namespace.QName("", "in0"),
0251: org.apache.axis.description.ParameterDesc.IN,
0252: new javax.xml.namespace.QName(
0253: "http://www.w3.org/2001/XMLSchema", "int"),
0254: int.class, false, false);
0255: oper.addParameter(param);
0256: param = new org.apache.axis.description.ParameterDesc(
0257: new javax.xml.namespace.QName("", "in1"),
0258: org.apache.axis.description.ParameterDesc.IN,
0259: new javax.xml.namespace.QName(
0260: "http://data.api.salome_tmf.objectweb.org",
0261: "SalomeFileWrapper"), SalomeFileWrapper.class,
0262: false, false);
0263: oper.addParameter(param);
0264: param = new org.apache.axis.description.ParameterDesc(
0265: new javax.xml.namespace.QName("", "in2"),
0266: org.apache.axis.description.ParameterDesc.IN,
0267: new javax.xml.namespace.QName(
0268: "http://www.w3.org/2001/XMLSchema", "string"),
0269: java.lang.String.class, false, false);
0270: oper.addParameter(param);
0271: oper.setReturnType(new javax.xml.namespace.QName(
0272: "http://www.w3.org/2001/XMLSchema", "int"));
0273: oper.setReturnClass(int.class);
0274: oper.setReturnQName(new javax.xml.namespace.QName("",
0275: "addAttachFileReturn"));
0276: oper.setStyle(org.apache.axis.constants.Style.RPC);
0277: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0278: _operations[8] = oper;
0279:
0280: oper = new org.apache.axis.description.OperationDesc();
0281: oper.setName("addAttachUrl");
0282: param = new org.apache.axis.description.ParameterDesc(
0283: new javax.xml.namespace.QName("", "in0"),
0284: org.apache.axis.description.ParameterDesc.IN,
0285: new javax.xml.namespace.QName(
0286: "http://www.w3.org/2001/XMLSchema", "int"),
0287: int.class, false, false);
0288: oper.addParameter(param);
0289: param = new org.apache.axis.description.ParameterDesc(
0290: new javax.xml.namespace.QName("", "in1"),
0291: org.apache.axis.description.ParameterDesc.IN,
0292: new javax.xml.namespace.QName(
0293: "http://www.w3.org/2001/XMLSchema", "string"),
0294: java.lang.String.class, false, false);
0295: oper.addParameter(param);
0296: param = new org.apache.axis.description.ParameterDesc(
0297: new javax.xml.namespace.QName("", "in2"),
0298: org.apache.axis.description.ParameterDesc.IN,
0299: new javax.xml.namespace.QName(
0300: "http://www.w3.org/2001/XMLSchema", "string"),
0301: java.lang.String.class, false, false);
0302: oper.addParameter(param);
0303: oper.setReturnType(new javax.xml.namespace.QName(
0304: "http://www.w3.org/2001/XMLSchema", "int"));
0305: oper.setReturnClass(int.class);
0306: oper.setReturnQName(new javax.xml.namespace.QName("",
0307: "addAttachUrlReturn"));
0308: oper.setStyle(org.apache.axis.constants.Style.RPC);
0309: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0310: _operations[9] = oper;
0311:
0312: }
0313:
0314: private static void _initOperationDesc2() {
0315: org.apache.axis.description.OperationDesc oper;
0316: org.apache.axis.description.ParameterDesc param;
0317: oper = new org.apache.axis.description.OperationDesc();
0318: oper.setName("updateOrder");
0319: param = new org.apache.axis.description.ParameterDesc(
0320: new javax.xml.namespace.QName("", "in0"),
0321: org.apache.axis.description.ParameterDesc.IN,
0322: new javax.xml.namespace.QName(
0323: "http://www.w3.org/2001/XMLSchema", "int"),
0324: int.class, false, false);
0325: oper.addParameter(param);
0326: param = new org.apache.axis.description.ParameterDesc(
0327: new javax.xml.namespace.QName("", "in1"),
0328: org.apache.axis.description.ParameterDesc.IN,
0329: new javax.xml.namespace.QName(
0330: "http://www.w3.org/2001/XMLSchema", "boolean"),
0331: boolean.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: "updateOrderReturn"));
0338: oper.setStyle(org.apache.axis.constants.Style.RPC);
0339: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0340: _operations[10] = oper;
0341:
0342: oper = new org.apache.axis.description.OperationDesc();
0343: oper.setName("updateUserRef");
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", "int"),
0356: int.class, false, false);
0357: oper.addParameter(param);
0358: param = new org.apache.axis.description.ParameterDesc(
0359: new javax.xml.namespace.QName("", "in2"),
0360: org.apache.axis.description.ParameterDesc.IN,
0361: new javax.xml.namespace.QName(
0362: "http://www.w3.org/2001/XMLSchema", "int"),
0363: int.class, false, false);
0364: oper.addParameter(param);
0365: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0366: oper.setStyle(org.apache.axis.constants.Style.RPC);
0367: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0368: _operations[11] = oper;
0369:
0370: oper = new org.apache.axis.description.OperationDesc();
0371: oper.setName("deleteAllAttach");
0372: param = new org.apache.axis.description.ParameterDesc(
0373: new javax.xml.namespace.QName("", "in0"),
0374: org.apache.axis.description.ParameterDesc.IN,
0375: new javax.xml.namespace.QName(
0376: "http://www.w3.org/2001/XMLSchema", "int"),
0377: int.class, false, false);
0378: oper.addParameter(param);
0379: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0380: oper.setStyle(org.apache.axis.constants.Style.RPC);
0381: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0382: _operations[12] = oper;
0383:
0384: oper = new org.apache.axis.description.OperationDesc();
0385: oper.setName("deleteAllUseParam");
0386: param = new org.apache.axis.description.ParameterDesc(
0387: new javax.xml.namespace.QName("", "in0"),
0388: org.apache.axis.description.ParameterDesc.IN,
0389: new javax.xml.namespace.QName(
0390: "http://www.w3.org/2001/XMLSchema", "int"),
0391: int.class, false, false);
0392: oper.addParameter(param);
0393: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0394: oper.setStyle(org.apache.axis.constants.Style.RPC);
0395: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0396: _operations[13] = oper;
0397:
0398: oper = new org.apache.axis.description.OperationDesc();
0399: oper.setName("deleteAttach");
0400: param = new org.apache.axis.description.ParameterDesc(
0401: new javax.xml.namespace.QName("", "in0"),
0402: org.apache.axis.description.ParameterDesc.IN,
0403: new javax.xml.namespace.QName(
0404: "http://www.w3.org/2001/XMLSchema", "int"),
0405: int.class, false, false);
0406: oper.addParameter(param);
0407: param = new org.apache.axis.description.ParameterDesc(
0408: new javax.xml.namespace.QName("", "in1"),
0409: org.apache.axis.description.ParameterDesc.IN,
0410: new javax.xml.namespace.QName(
0411: "http://www.w3.org/2001/XMLSchema", "int"),
0412: int.class, false, false);
0413: oper.addParameter(param);
0414: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0415: oper.setStyle(org.apache.axis.constants.Style.RPC);
0416: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0417: _operations[14] = oper;
0418:
0419: oper = new org.apache.axis.description.OperationDesc();
0420: oper.setName("getTest");
0421: param = new org.apache.axis.description.ParameterDesc(
0422: new javax.xml.namespace.QName("", "in0"),
0423: org.apache.axis.description.ParameterDesc.IN,
0424: new javax.xml.namespace.QName(
0425: "http://www.w3.org/2001/XMLSchema", "int"),
0426: int.class, false, false);
0427: oper.addParameter(param);
0428: oper.setReturnType(new javax.xml.namespace.QName(
0429: "http://data.api.salome_tmf.objectweb.org",
0430: "TestWrapper"));
0431: oper.setReturnClass(TestWrapper.class);
0432: oper.setReturnQName(new javax.xml.namespace.QName("",
0433: "getTestReturn"));
0434: oper.setStyle(org.apache.axis.constants.Style.RPC);
0435: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0436: _operations[15] = oper;
0437:
0438: oper = new org.apache.axis.description.OperationDesc();
0439: oper.setName("getAllAttachemnt");
0440: param = new org.apache.axis.description.ParameterDesc(
0441: new javax.xml.namespace.QName("", "in0"),
0442: org.apache.axis.description.ParameterDesc.IN,
0443: new javax.xml.namespace.QName(
0444: "http://www.w3.org/2001/XMLSchema", "int"),
0445: int.class, false, false);
0446: oper.addParameter(param);
0447: oper.setReturnType(new javax.xml.namespace.QName(
0448: "http://soap.salome_tmf.objectweb.org",
0449: "ArrayOf_tns1_AttachementWrapper"));
0450: oper.setReturnClass(AttachementWrapper[].class);
0451: oper.setReturnQName(new javax.xml.namespace.QName("",
0452: "getAllAttachemntReturn"));
0453: param = oper.getReturnParamDesc();
0454: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0455: oper.setStyle(org.apache.axis.constants.Style.RPC);
0456: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0457: _operations[16] = oper;
0458:
0459: oper = new org.apache.axis.description.OperationDesc();
0460: oper.setName("getAllAttachFiles");
0461: param = new org.apache.axis.description.ParameterDesc(
0462: new javax.xml.namespace.QName("", "in0"),
0463: org.apache.axis.description.ParameterDesc.IN,
0464: new javax.xml.namespace.QName(
0465: "http://www.w3.org/2001/XMLSchema", "int"),
0466: int.class, false, false);
0467: oper.addParameter(param);
0468: oper.setReturnType(new javax.xml.namespace.QName(
0469: "http://soap.salome_tmf.objectweb.org",
0470: "ArrayOf_tns1_FileAttachementWrapper"));
0471: oper.setReturnClass(FileAttachementWrapper[].class);
0472: oper.setReturnQName(new javax.xml.namespace.QName("",
0473: "getAllAttachFilesReturn"));
0474: param = oper.getReturnParamDesc();
0475: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0476: oper.setStyle(org.apache.axis.constants.Style.RPC);
0477: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0478: _operations[17] = oper;
0479:
0480: oper = new org.apache.axis.description.OperationDesc();
0481: oper.setName("getAllAttachUrls");
0482: param = new org.apache.axis.description.ParameterDesc(
0483: new javax.xml.namespace.QName("", "in0"),
0484: org.apache.axis.description.ParameterDesc.IN,
0485: new javax.xml.namespace.QName(
0486: "http://www.w3.org/2001/XMLSchema", "int"),
0487: int.class, false, false);
0488: oper.addParameter(param);
0489: oper.setReturnType(new javax.xml.namespace.QName(
0490: "http://soap.salome_tmf.objectweb.org",
0491: "ArrayOf_tns1_UrlAttachementWrapper"));
0492: oper.setReturnClass(UrlAttachementWrapper[].class);
0493: oper.setReturnQName(new javax.xml.namespace.QName("",
0494: "getAllAttachUrlsReturn"));
0495: param = oper.getReturnParamDesc();
0496: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0497: oper.setStyle(org.apache.axis.constants.Style.RPC);
0498: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0499: _operations[18] = oper;
0500:
0501: oper = new org.apache.axis.description.OperationDesc();
0502: oper.setName("getAllUseParams");
0503: param = new org.apache.axis.description.ParameterDesc(
0504: new javax.xml.namespace.QName("", "in0"),
0505: org.apache.axis.description.ParameterDesc.IN,
0506: new javax.xml.namespace.QName(
0507: "http://www.w3.org/2001/XMLSchema", "int"),
0508: int.class, false, false);
0509: oper.addParameter(param);
0510: oper.setReturnType(new javax.xml.namespace.QName(
0511: "http://soap.salome_tmf.objectweb.org",
0512: "ArrayOf_tns1_ParameterWrapper"));
0513: oper.setReturnClass(ParameterWrapper[].class);
0514: oper.setReturnQName(new javax.xml.namespace.QName("",
0515: "getAllUseParamsReturn"));
0516: param = oper.getReturnParamDesc();
0517: param.setItemQName(new javax.xml.namespace.QName("", "item"));
0518: oper.setStyle(org.apache.axis.constants.Style.RPC);
0519: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0520: _operations[19] = oper;
0521:
0522: }
0523:
0524: private static void _initOperationDesc3() {
0525: org.apache.axis.description.OperationDesc oper;
0526: org.apache.axis.description.ParameterDesc param;
0527: oper = new org.apache.axis.description.OperationDesc();
0528: oper.setName("getID");
0529: param = new org.apache.axis.description.ParameterDesc(
0530: new javax.xml.namespace.QName("", "in0"),
0531: org.apache.axis.description.ParameterDesc.IN,
0532: new javax.xml.namespace.QName(
0533: "http://www.w3.org/2001/XMLSchema", "int"),
0534: int.class, false, false);
0535: oper.addParameter(param);
0536: param = new org.apache.axis.description.ParameterDesc(
0537: new javax.xml.namespace.QName("", "in1"),
0538: org.apache.axis.description.ParameterDesc.IN,
0539: new javax.xml.namespace.QName(
0540: "http://www.w3.org/2001/XMLSchema", "string"),
0541: java.lang.String.class, false, false);
0542: oper.addParameter(param);
0543: oper.setReturnType(new javax.xml.namespace.QName(
0544: "http://www.w3.org/2001/XMLSchema", "int"));
0545: oper.setReturnClass(int.class);
0546: oper.setReturnQName(new javax.xml.namespace.QName("",
0547: "getIDReturn"));
0548: oper.setStyle(org.apache.axis.constants.Style.RPC);
0549: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0550: _operations[20] = oper;
0551:
0552: oper = new org.apache.axis.description.OperationDesc();
0553: oper.setName("update");
0554: param = new org.apache.axis.description.ParameterDesc(
0555: new javax.xml.namespace.QName("", "in0"),
0556: org.apache.axis.description.ParameterDesc.IN,
0557: new javax.xml.namespace.QName(
0558: "http://www.w3.org/2001/XMLSchema", "int"),
0559: int.class, false, false);
0560: oper.addParameter(param);
0561: param = new org.apache.axis.description.ParameterDesc(
0562: new javax.xml.namespace.QName("", "in1"),
0563: org.apache.axis.description.ParameterDesc.IN,
0564: new javax.xml.namespace.QName(
0565: "http://www.w3.org/2001/XMLSchema", "string"),
0566: java.lang.String.class, false, false);
0567: oper.addParameter(param);
0568: param = new org.apache.axis.description.ParameterDesc(
0569: new javax.xml.namespace.QName("", "in2"),
0570: org.apache.axis.description.ParameterDesc.IN,
0571: new javax.xml.namespace.QName(
0572: "http://www.w3.org/2001/XMLSchema", "string"),
0573: java.lang.String.class, false, false);
0574: oper.addParameter(param);
0575: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
0576: oper.setStyle(org.apache.axis.constants.Style.RPC);
0577: oper.setUse(org.apache.axis.constants.Use.LITERAL);
0578: _operations[21] = oper;
0579:
0580: }
0581:
0582: public SQLAutomaticTestSoapBindingStub()
0583: throws org.apache.axis.AxisFault {
0584: this (null);
0585: }
0586:
0587: public SQLAutomaticTestSoapBindingStub(java.net.URL endpointURL,
0588: javax.xml.rpc.Service service)
0589: throws org.apache.axis.AxisFault {
0590: this (service);
0591: super .cachedEndpoint = endpointURL;
0592: }
0593:
0594: public SQLAutomaticTestSoapBindingStub(javax.xml.rpc.Service service)
0595: throws org.apache.axis.AxisFault {
0596: if (service == null) {
0597: super .service = new org.apache.axis.client.Service();
0598: } else {
0599: super .service = service;
0600: }
0601: ((org.apache.axis.client.Service) super .service)
0602: .setTypeMappingVersion("1.2");
0603: java.lang.Class cls;
0604: javax.xml.namespace.QName qName;
0605: javax.xml.namespace.QName qName2;
0606: java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
0607: java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
0608: java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
0609: java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
0610: java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
0611: java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
0612: java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
0613: java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
0614: java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
0615: java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
0616: qName = new javax.xml.namespace.QName(
0617: "http://data.api.salome_tmf.objectweb.org",
0618: "AttachementWrapper");
0619: cachedSerQNames.add(qName);
0620: cls = AttachementWrapper.class;
0621: cachedSerClasses.add(cls);
0622: cachedSerFactories.add(beansf);
0623: cachedDeserFactories.add(beandf);
0624:
0625: qName = new javax.xml.namespace.QName(
0626: "http://data.api.salome_tmf.objectweb.org",
0627: "DataWrapper");
0628: cachedSerQNames.add(qName);
0629: cls = DataWrapper.class;
0630: cachedSerClasses.add(cls);
0631: cachedSerFactories.add(beansf);
0632: cachedDeserFactories.add(beandf);
0633:
0634: qName = new javax.xml.namespace.QName(
0635: "http://data.api.salome_tmf.objectweb.org",
0636: "FileAttachementWrapper");
0637: cachedSerQNames.add(qName);
0638: cls = FileAttachementWrapper.class;
0639: cachedSerClasses.add(cls);
0640: cachedSerFactories.add(beansf);
0641: cachedDeserFactories.add(beandf);
0642:
0643: qName = new javax.xml.namespace.QName(
0644: "http://data.api.salome_tmf.objectweb.org",
0645: "ParameterWrapper");
0646: cachedSerQNames.add(qName);
0647: cls = ParameterWrapper.class;
0648: cachedSerClasses.add(cls);
0649: cachedSerFactories.add(beansf);
0650: cachedDeserFactories.add(beandf);
0651:
0652: qName = new javax.xml.namespace.QName(
0653: "http://data.api.salome_tmf.objectweb.org",
0654: "SalomeFileWrapper");
0655: cachedSerQNames.add(qName);
0656: cls = SalomeFileWrapper.class;
0657: cachedSerClasses.add(cls);
0658: cachedSerFactories.add(beansf);
0659: cachedDeserFactories.add(beandf);
0660:
0661: qName = new javax.xml.namespace.QName(
0662: "http://data.api.salome_tmf.objectweb.org",
0663: "ScriptWrapper");
0664: cachedSerQNames.add(qName);
0665: cls = ScriptWrapper.class;
0666: cachedSerClasses.add(cls);
0667: cachedSerFactories.add(beansf);
0668: cachedDeserFactories.add(beandf);
0669:
0670: qName = new javax.xml.namespace.QName(
0671: "http://data.api.salome_tmf.objectweb.org",
0672: "TestWrapper");
0673: cachedSerQNames.add(qName);
0674: cls = TestWrapper.class;
0675: cachedSerClasses.add(cls);
0676: cachedSerFactories.add(beansf);
0677: cachedDeserFactories.add(beandf);
0678:
0679: qName = new javax.xml.namespace.QName(
0680: "http://data.api.salome_tmf.objectweb.org",
0681: "UrlAttachementWrapper");
0682: cachedSerQNames.add(qName);
0683: cls = UrlAttachementWrapper.class;
0684: cachedSerClasses.add(cls);
0685: cachedSerFactories.add(beansf);
0686: cachedDeserFactories.add(beandf);
0687:
0688: qName = new javax.xml.namespace.QName(
0689: "http://soap.salome_tmf.objectweb.org",
0690: "ArrayOf_tns1_AttachementWrapper");
0691: cachedSerQNames.add(qName);
0692: cls = AttachementWrapper[].class;
0693: cachedSerClasses.add(cls);
0694: qName = new javax.xml.namespace.QName(
0695: "http://data.api.salome_tmf.objectweb.org",
0696: "AttachementWrapper");
0697: qName2 = new javax.xml.namespace.QName("", "item");
0698: cachedSerFactories
0699: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
0700: qName, qName2));
0701: cachedDeserFactories
0702: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
0703:
0704: qName = new javax.xml.namespace.QName(
0705: "http://soap.salome_tmf.objectweb.org",
0706: "ArrayOf_tns1_FileAttachementWrapper");
0707: cachedSerQNames.add(qName);
0708: cls = FileAttachementWrapper[].class;
0709: cachedSerClasses.add(cls);
0710: qName = new javax.xml.namespace.QName(
0711: "http://data.api.salome_tmf.objectweb.org",
0712: "FileAttachementWrapper");
0713: qName2 = new javax.xml.namespace.QName("", "item");
0714: cachedSerFactories
0715: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
0716: qName, qName2));
0717: cachedDeserFactories
0718: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
0719:
0720: qName = new javax.xml.namespace.QName(
0721: "http://soap.salome_tmf.objectweb.org",
0722: "ArrayOf_tns1_ParameterWrapper");
0723: cachedSerQNames.add(qName);
0724: cls = ParameterWrapper[].class;
0725: cachedSerClasses.add(cls);
0726: qName = new javax.xml.namespace.QName(
0727: "http://data.api.salome_tmf.objectweb.org",
0728: "ParameterWrapper");
0729: qName2 = new javax.xml.namespace.QName("", "item");
0730: cachedSerFactories
0731: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
0732: qName, qName2));
0733: cachedDeserFactories
0734: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
0735:
0736: qName = new javax.xml.namespace.QName(
0737: "http://soap.salome_tmf.objectweb.org",
0738: "ArrayOf_tns1_UrlAttachementWrapper");
0739: cachedSerQNames.add(qName);
0740: cls = UrlAttachementWrapper[].class;
0741: cachedSerClasses.add(cls);
0742: qName = new javax.xml.namespace.QName(
0743: "http://data.api.salome_tmf.objectweb.org",
0744: "UrlAttachementWrapper");
0745: qName2 = new javax.xml.namespace.QName("", "item");
0746: cachedSerFactories
0747: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
0748: qName, qName2));
0749: cachedDeserFactories
0750: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
0751:
0752: }
0753:
0754: protected org.apache.axis.client.Call createCall()
0755: throws java.rmi.RemoteException {
0756: try {
0757: org.apache.axis.client.Call _call = super ._createCall();
0758: if (super .maintainSessionSet) {
0759: _call.setMaintainSession(super .maintainSession);
0760: }
0761: if (super .cachedUsername != null) {
0762: _call.setUsername(super .cachedUsername);
0763: }
0764: if (super .cachedPassword != null) {
0765: _call.setPassword(super .cachedPassword);
0766: }
0767: if (super .cachedEndpoint != null) {
0768: _call.setTargetEndpointAddress(super .cachedEndpoint);
0769: }
0770: if (super .cachedTimeout != null) {
0771: _call.setTimeout(super .cachedTimeout);
0772: }
0773: if (super .cachedPortName != null) {
0774: _call.setPortName(super .cachedPortName);
0775: }
0776: java.util.Enumeration keys = super .cachedProperties.keys();
0777: while (keys.hasMoreElements()) {
0778: java.lang.String key = (java.lang.String) keys
0779: .nextElement();
0780: _call.setProperty(key, super .cachedProperties.get(key));
0781: }
0782: // All the type mapping information is registered
0783: // when the first call is made.
0784: // The type mapping information is actually registered in
0785: // the TypeMappingRegistry of the service, which
0786: // is the reason why registration is only needed for the first call.
0787: synchronized (this ) {
0788: if (firstCall()) {
0789: // must set encoding style before registering serializers
0790: _call.setEncodingStyle(null);
0791: for (int i = 0; i < cachedSerFactories.size(); ++i) {
0792: java.lang.Class cls = (java.lang.Class) cachedSerClasses
0793: .get(i);
0794: javax.xml.namespace.QName qName = (javax.xml.namespace.QName) cachedSerQNames
0795: .get(i);
0796: java.lang.Object x = cachedSerFactories.get(i);
0797: if (x instanceof Class) {
0798: java.lang.Class sf = (java.lang.Class) cachedSerFactories
0799: .get(i);
0800: java.lang.Class df = (java.lang.Class) cachedDeserFactories
0801: .get(i);
0802: _call.registerTypeMapping(cls, qName, sf,
0803: df, false);
0804: } else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
0805: org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) cachedSerFactories
0806: .get(i);
0807: org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) cachedDeserFactories
0808: .get(i);
0809: _call.registerTypeMapping(cls, qName, sf,
0810: df, false);
0811: }
0812: }
0813: }
0814: }
0815: return _call;
0816: } catch (java.lang.Exception _t) {
0817: throw new org.apache.axis.AxisFault(
0818: "Failure trying to get the Call object", _t);
0819: }
0820: }
0821:
0822: public int addScript(int in0, SalomeFileWrapper in1,
0823: java.lang.String in2, java.lang.String in3,
0824: java.lang.String in4, java.lang.String in5)
0825: throws java.rmi.RemoteException {
0826: if (!Permission.canUpdateTest()) {
0827: try {
0828: throw new Exception(
0829: "[SQLTest : deleteScript -> canUpdateTest]");
0830: } catch (Exception e) {
0831: e.printStackTrace();
0832: }
0833: }
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[0]);
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.setOperationName(new javax.xml.namespace.QName(
0849: "http://soap.salome_tmf.objectweb.org", "addScript"));
0850:
0851: setRequestHeaders(_call);
0852: setAttachments(_call);
0853: try {
0854: java.lang.Object _resp = _call
0855: .invoke(new java.lang.Object[] {
0856: new java.lang.Integer(in0), in1, in2, in3,
0857: in4, in5 });
0858:
0859: if (_resp instanceof java.rmi.RemoteException) {
0860: throw (java.rmi.RemoteException) _resp;
0861: } else {
0862: extractAttachments(_call);
0863: try {
0864: return ((java.lang.Integer) _resp).intValue();
0865: } catch (java.lang.Exception _exception) {
0866: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
0867: .convert(_resp, int.class)).intValue();
0868: }
0869: }
0870: } catch (org.apache.axis.AxisFault axisFaultException) {
0871: throw axisFaultException;
0872: }
0873: }
0874:
0875: public void deleteUseParam(int in0, int in1)
0876: throws java.rmi.RemoteException {
0877: if (!Permission.canUpdateTest()) {
0878: try {
0879: throw new Exception(
0880: "[SQLAutomaticTest : deleteUseParam -> canUpdateTest]");
0881: } catch (Exception e) {
0882: e.printStackTrace();
0883: }
0884: }
0885: if (super .cachedEndpoint == null) {
0886: throw new org.apache.axis.NoEndPointException();
0887: }
0888: org.apache.axis.client.Call _call = createCall();
0889: _call.setOperation(_operations[1]);
0890: _call.setUseSOAPAction(true);
0891: _call.setSOAPActionURI("");
0892: _call.setEncodingStyle(null);
0893: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0894: Boolean.FALSE);
0895: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0896: Boolean.FALSE);
0897: _call
0898: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0899: _call.setOperationName(new javax.xml.namespace.QName(
0900: "http://soap.salome_tmf.objectweb.org",
0901: "deleteUseParam"));
0902:
0903: setRequestHeaders(_call);
0904: setAttachments(_call);
0905: try {
0906: java.lang.Object _resp = _call
0907: .invoke(new java.lang.Object[] {
0908: new java.lang.Integer(in0),
0909: new java.lang.Integer(in1) });
0910:
0911: if (_resp instanceof java.rmi.RemoteException) {
0912: throw (java.rmi.RemoteException) _resp;
0913: }
0914: extractAttachments(_call);
0915: } catch (org.apache.axis.AxisFault axisFaultException) {
0916: throw axisFaultException;
0917: }
0918: }
0919:
0920: public void deleteScript(int in0) throws java.rmi.RemoteException {
0921: if (!Permission.canUpdateTest()) {
0922: try {
0923: throw new Exception(
0924: "[SQLTest : deleteScript -> canUpdateTest]");
0925: } catch (Exception e) {
0926: e.printStackTrace();
0927: }
0928: }
0929: if (super .cachedEndpoint == null) {
0930: throw new org.apache.axis.NoEndPointException();
0931: }
0932: org.apache.axis.client.Call _call = createCall();
0933: _call.setOperation(_operations[2]);
0934: _call.setUseSOAPAction(true);
0935: _call.setSOAPActionURI("");
0936: _call.setEncodingStyle(null);
0937: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0938: Boolean.FALSE);
0939: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0940: Boolean.FALSE);
0941: _call
0942: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0943: _call
0944: .setOperationName(new javax.xml.namespace.QName(
0945: "http://soap.salome_tmf.objectweb.org",
0946: "deleteScript"));
0947:
0948: setRequestHeaders(_call);
0949: setAttachments(_call);
0950: try {
0951: java.lang.Object _resp = _call
0952: .invoke(new java.lang.Object[] { new java.lang.Integer(
0953: in0) });
0954:
0955: if (_resp instanceof java.rmi.RemoteException) {
0956: throw (java.rmi.RemoteException) _resp;
0957: }
0958: extractAttachments(_call);
0959: } catch (org.apache.axis.AxisFault axisFaultException) {
0960: throw axisFaultException;
0961: }
0962: }
0963:
0964: public ScriptWrapper getTestScript(int in0)
0965: throws java.rmi.RemoteException {
0966: if (super .cachedEndpoint == null) {
0967: throw new org.apache.axis.NoEndPointException();
0968: }
0969: org.apache.axis.client.Call _call = createCall();
0970: _call.setOperation(_operations[3]);
0971: _call.setUseSOAPAction(true);
0972: _call.setSOAPActionURI("");
0973: _call.setEncodingStyle(null);
0974: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
0975: Boolean.FALSE);
0976: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
0977: Boolean.FALSE);
0978: _call
0979: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
0980: _call
0981: .setOperationName(new javax.xml.namespace.QName(
0982: "http://soap.salome_tmf.objectweb.org",
0983: "getTestScript"));
0984:
0985: setRequestHeaders(_call);
0986: setAttachments(_call);
0987: try {
0988: java.lang.Object _resp = _call
0989: .invoke(new java.lang.Object[] { new java.lang.Integer(
0990: in0) });
0991:
0992: if (_resp instanceof java.rmi.RemoteException) {
0993: throw (java.rmi.RemoteException) _resp;
0994: } else {
0995: extractAttachments(_call);
0996: try {
0997: return (ScriptWrapper) _resp;
0998: } catch (java.lang.Exception _exception) {
0999: return (ScriptWrapper) org.apache.axis.utils.JavaUtils
1000: .convert(_resp, ScriptWrapper.class);
1001: }
1002: }
1003: } catch (org.apache.axis.AxisFault axisFaultException) {
1004: throw axisFaultException;
1005: }
1006: }
1007:
1008: public SalomeFileWrapper getTestScriptFile(int in0)
1009: throws java.rmi.RemoteException {
1010: if (super .cachedEndpoint == null) {
1011: throw new org.apache.axis.NoEndPointException();
1012: }
1013: org.apache.axis.client.Call _call = createCall();
1014: _call.setOperation(_operations[4]);
1015: _call.setUseSOAPAction(true);
1016: _call.setSOAPActionURI("");
1017: _call.setEncodingStyle(null);
1018: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1019: Boolean.FALSE);
1020: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1021: Boolean.FALSE);
1022: _call
1023: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1024: _call.setOperationName(new javax.xml.namespace.QName(
1025: "http://soap.salome_tmf.objectweb.org",
1026: "getTestScriptFile"));
1027:
1028: setRequestHeaders(_call);
1029: setAttachments(_call);
1030: try {
1031: java.lang.Object _resp = _call
1032: .invoke(new java.lang.Object[] { new java.lang.Integer(
1033: in0) });
1034:
1035: if (_resp instanceof java.rmi.RemoteException) {
1036: throw (java.rmi.RemoteException) _resp;
1037: } else {
1038: extractAttachments(_call);
1039: try {
1040: return (SalomeFileWrapper) _resp;
1041: } catch (java.lang.Exception _exception) {
1042: return (SalomeFileWrapper) org.apache.axis.utils.JavaUtils
1043: .convert(_resp, SalomeFileWrapper.class);
1044: }
1045: }
1046: } catch (org.apache.axis.AxisFault axisFaultException) {
1047: throw axisFaultException;
1048: }
1049: }
1050:
1051: /**
1052: * @TODO IMPLEMENTATION SOAP
1053: */
1054: public void delete(int in0, boolean reorder)
1055: throws java.rmi.RemoteException {
1056: delete(in0);
1057: }
1058:
1059: public void delete(int in0) throws java.rmi.RemoteException {
1060: if (!Permission.canDeleteTest()) {
1061: try {
1062: throw new Exception(
1063: "[SQLTest : updateOrder -> canDeleteTest]");
1064: } catch (Exception e) {
1065: e.printStackTrace();
1066: }
1067: }
1068: if (super .cachedEndpoint == null) {
1069: throw new org.apache.axis.NoEndPointException();
1070: }
1071: org.apache.axis.client.Call _call = createCall();
1072: _call.setOperation(_operations[5]);
1073: _call.setUseSOAPAction(true);
1074: _call.setSOAPActionURI("");
1075: _call.setEncodingStyle(null);
1076: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1077: Boolean.FALSE);
1078: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1079: Boolean.FALSE);
1080: _call
1081: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1082: _call.setOperationName(new javax.xml.namespace.QName(
1083: "http://soap.salome_tmf.objectweb.org", "delete"));
1084:
1085: setRequestHeaders(_call);
1086: setAttachments(_call);
1087: try {
1088: java.lang.Object _resp = _call
1089: .invoke(new java.lang.Object[] { new java.lang.Integer(
1090: in0) });
1091:
1092: if (_resp instanceof java.rmi.RemoteException) {
1093: throw (java.rmi.RemoteException) _resp;
1094: }
1095: extractAttachments(_call);
1096: } catch (org.apache.axis.AxisFault axisFaultException) {
1097: throw axisFaultException;
1098: }
1099: }
1100:
1101: public int insert(int in0, java.lang.String in1,
1102: java.lang.String in2, java.lang.String in3,
1103: java.lang.String in4) throws java.rmi.RemoteException {
1104: if (!Permission.canCreateTest()) {
1105: try {
1106: throw new Exception(
1107: "[SQLTest : insert -> canCreateTest]");
1108: } catch (Exception e) {
1109: e.printStackTrace();
1110: }
1111: }
1112: if (super .cachedEndpoint == null) {
1113: throw new org.apache.axis.NoEndPointException();
1114: }
1115: org.apache.axis.client.Call _call = createCall();
1116: _call.setOperation(_operations[6]);
1117: _call.setUseSOAPAction(true);
1118: _call.setSOAPActionURI("");
1119: _call.setEncodingStyle(null);
1120: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1121: Boolean.FALSE);
1122: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1123: Boolean.FALSE);
1124: _call
1125: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1126: _call.setOperationName(new javax.xml.namespace.QName(
1127: "http://soap.salome_tmf.objectweb.org", "insert"));
1128:
1129: setRequestHeaders(_call);
1130: setAttachments(_call);
1131: try {
1132: java.lang.Object _resp = _call
1133: .invoke(new java.lang.Object[] {
1134: new java.lang.Integer(in0), in1, in2, in3,
1135: in4 });
1136:
1137: if (_resp instanceof java.rmi.RemoteException) {
1138: throw (java.rmi.RemoteException) _resp;
1139: } else {
1140: extractAttachments(_call);
1141: try {
1142: return ((java.lang.Integer) _resp).intValue();
1143: } catch (java.lang.Exception _exception) {
1144: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
1145: .convert(_resp, int.class)).intValue();
1146: }
1147: }
1148: } catch (org.apache.axis.AxisFault axisFaultException) {
1149: throw axisFaultException;
1150: }
1151: }
1152:
1153: public void addUseParam(int in0, int in1)
1154: throws java.rmi.RemoteException {
1155: if (super .cachedEndpoint == null) {
1156: throw new org.apache.axis.NoEndPointException();
1157: }
1158: org.apache.axis.client.Call _call = createCall();
1159: _call.setOperation(_operations[7]);
1160: _call.setUseSOAPAction(true);
1161: _call.setSOAPActionURI("");
1162: _call.setEncodingStyle(null);
1163: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1164: Boolean.FALSE);
1165: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1166: Boolean.FALSE);
1167: _call
1168: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1169: _call.setOperationName(new javax.xml.namespace.QName(
1170: "http://soap.salome_tmf.objectweb.org", "addUseParam"));
1171:
1172: setRequestHeaders(_call);
1173: setAttachments(_call);
1174: try {
1175: java.lang.Object _resp = _call
1176: .invoke(new java.lang.Object[] {
1177: new java.lang.Integer(in0),
1178: new java.lang.Integer(in1) });
1179:
1180: if (_resp instanceof java.rmi.RemoteException) {
1181: throw (java.rmi.RemoteException) _resp;
1182: }
1183: extractAttachments(_call);
1184: } catch (org.apache.axis.AxisFault axisFaultException) {
1185: throw axisFaultException;
1186: }
1187: }
1188:
1189: public int addAttachFile(int in0, SalomeFileWrapper in1,
1190: java.lang.String in2) throws java.rmi.RemoteException {
1191: if (super .cachedEndpoint == null) {
1192: throw new org.apache.axis.NoEndPointException();
1193: }
1194: org.apache.axis.client.Call _call = createCall();
1195: _call.setOperation(_operations[8]);
1196: _call.setUseSOAPAction(true);
1197: _call.setSOAPActionURI("");
1198: _call.setEncodingStyle(null);
1199: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1200: Boolean.FALSE);
1201: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1202: Boolean.FALSE);
1203: _call
1204: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1205: _call
1206: .setOperationName(new javax.xml.namespace.QName(
1207: "http://soap.salome_tmf.objectweb.org",
1208: "addAttachFile"));
1209:
1210: setRequestHeaders(_call);
1211: setAttachments(_call);
1212: try {
1213: java.lang.Object _resp = _call
1214: .invoke(new java.lang.Object[] {
1215: new java.lang.Integer(in0), in1, in2 });
1216:
1217: if (_resp instanceof java.rmi.RemoteException) {
1218: throw (java.rmi.RemoteException) _resp;
1219: } else {
1220: extractAttachments(_call);
1221: try {
1222: return ((java.lang.Integer) _resp).intValue();
1223: } catch (java.lang.Exception _exception) {
1224: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
1225: .convert(_resp, int.class)).intValue();
1226: }
1227: }
1228: } catch (org.apache.axis.AxisFault axisFaultException) {
1229: throw axisFaultException;
1230: }
1231: }
1232:
1233: public int addAttachUrl(int in0, java.lang.String in1,
1234: java.lang.String in2) throws java.rmi.RemoteException {
1235: if (super .cachedEndpoint == null) {
1236: throw new org.apache.axis.NoEndPointException();
1237: }
1238: org.apache.axis.client.Call _call = createCall();
1239: _call.setOperation(_operations[9]);
1240: _call.setUseSOAPAction(true);
1241: _call.setSOAPActionURI("");
1242: _call.setEncodingStyle(null);
1243: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1244: Boolean.FALSE);
1245: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1246: Boolean.FALSE);
1247: _call
1248: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1249: _call
1250: .setOperationName(new javax.xml.namespace.QName(
1251: "http://soap.salome_tmf.objectweb.org",
1252: "addAttachUrl"));
1253:
1254: setRequestHeaders(_call);
1255: setAttachments(_call);
1256: try {
1257: java.lang.Object _resp = _call
1258: .invoke(new java.lang.Object[] {
1259: new java.lang.Integer(in0), in1, in2 });
1260:
1261: if (_resp instanceof java.rmi.RemoteException) {
1262: throw (java.rmi.RemoteException) _resp;
1263: } else {
1264: extractAttachments(_call);
1265: try {
1266: return ((java.lang.Integer) _resp).intValue();
1267: } catch (java.lang.Exception _exception) {
1268: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
1269: .convert(_resp, int.class)).intValue();
1270: }
1271: }
1272: } catch (org.apache.axis.AxisFault axisFaultException) {
1273: throw axisFaultException;
1274: }
1275: }
1276:
1277: public int updateOrder(int in0, boolean in1)
1278: throws java.rmi.RemoteException {
1279: if (super .cachedEndpoint == null) {
1280: throw new org.apache.axis.NoEndPointException();
1281: }
1282: org.apache.axis.client.Call _call = createCall();
1283: _call.setOperation(_operations[10]);
1284: _call.setUseSOAPAction(true);
1285: _call.setSOAPActionURI("");
1286: _call.setEncodingStyle(null);
1287: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1288: Boolean.FALSE);
1289: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1290: Boolean.FALSE);
1291: _call
1292: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1293: _call.setOperationName(new javax.xml.namespace.QName(
1294: "http://soap.salome_tmf.objectweb.org", "updateOrder"));
1295:
1296: setRequestHeaders(_call);
1297: setAttachments(_call);
1298: try {
1299: java.lang.Object _resp = _call
1300: .invoke(new java.lang.Object[] {
1301: new java.lang.Integer(in0),
1302: new java.lang.Boolean(in1) });
1303:
1304: if (_resp instanceof java.rmi.RemoteException) {
1305: throw (java.rmi.RemoteException) _resp;
1306: } else {
1307: extractAttachments(_call);
1308: try {
1309: return ((java.lang.Integer) _resp).intValue();
1310: } catch (java.lang.Exception _exception) {
1311: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
1312: .convert(_resp, int.class)).intValue();
1313: }
1314: }
1315: } catch (org.apache.axis.AxisFault axisFaultException) {
1316: throw axisFaultException;
1317: }
1318: }
1319:
1320: public void updateUserRef(int in0, int in1, int in2)
1321: throws java.rmi.RemoteException {
1322: if (super .cachedEndpoint == null) {
1323: throw new org.apache.axis.NoEndPointException();
1324: }
1325: org.apache.axis.client.Call _call = createCall();
1326: _call.setOperation(_operations[11]);
1327: _call.setUseSOAPAction(true);
1328: _call.setSOAPActionURI("");
1329: _call.setEncodingStyle(null);
1330: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1331: Boolean.FALSE);
1332: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1333: Boolean.FALSE);
1334: _call
1335: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1336: _call
1337: .setOperationName(new javax.xml.namespace.QName(
1338: "http://soap.salome_tmf.objectweb.org",
1339: "updateUserRef"));
1340:
1341: setRequestHeaders(_call);
1342: setAttachments(_call);
1343: try {
1344: java.lang.Object _resp = _call
1345: .invoke(new java.lang.Object[] {
1346: new java.lang.Integer(in0),
1347: new java.lang.Integer(in1),
1348: new java.lang.Integer(in2) });
1349:
1350: if (_resp instanceof java.rmi.RemoteException) {
1351: throw (java.rmi.RemoteException) _resp;
1352: }
1353: extractAttachments(_call);
1354: } catch (org.apache.axis.AxisFault axisFaultException) {
1355: throw axisFaultException;
1356: }
1357: }
1358:
1359: public void deleteAllAttach(int in0)
1360: throws java.rmi.RemoteException {
1361: if (super .cachedEndpoint == null) {
1362: throw new org.apache.axis.NoEndPointException();
1363: }
1364: org.apache.axis.client.Call _call = createCall();
1365: _call.setOperation(_operations[12]);
1366: _call.setUseSOAPAction(true);
1367: _call.setSOAPActionURI("");
1368: _call.setEncodingStyle(null);
1369: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1370: Boolean.FALSE);
1371: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1372: Boolean.FALSE);
1373: _call
1374: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1375: _call.setOperationName(new javax.xml.namespace.QName(
1376: "http://soap.salome_tmf.objectweb.org",
1377: "deleteAllAttach"));
1378:
1379: setRequestHeaders(_call);
1380: setAttachments(_call);
1381: try {
1382: java.lang.Object _resp = _call
1383: .invoke(new java.lang.Object[] { new java.lang.Integer(
1384: in0) });
1385:
1386: if (_resp instanceof java.rmi.RemoteException) {
1387: throw (java.rmi.RemoteException) _resp;
1388: }
1389: extractAttachments(_call);
1390: } catch (org.apache.axis.AxisFault axisFaultException) {
1391: throw axisFaultException;
1392: }
1393: }
1394:
1395: public void deleteAllUseParam(int in0)
1396: throws java.rmi.RemoteException {
1397: if (super .cachedEndpoint == null) {
1398: throw new org.apache.axis.NoEndPointException();
1399: }
1400: org.apache.axis.client.Call _call = createCall();
1401: _call.setOperation(_operations[13]);
1402: _call.setUseSOAPAction(true);
1403: _call.setSOAPActionURI("");
1404: _call.setEncodingStyle(null);
1405: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1406: Boolean.FALSE);
1407: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1408: Boolean.FALSE);
1409: _call
1410: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1411: _call.setOperationName(new javax.xml.namespace.QName(
1412: "http://soap.salome_tmf.objectweb.org",
1413: "deleteAllUseParam"));
1414:
1415: setRequestHeaders(_call);
1416: setAttachments(_call);
1417: try {
1418: java.lang.Object _resp = _call
1419: .invoke(new java.lang.Object[] { new java.lang.Integer(
1420: in0) });
1421:
1422: if (_resp instanceof java.rmi.RemoteException) {
1423: throw (java.rmi.RemoteException) _resp;
1424: }
1425: extractAttachments(_call);
1426: } catch (org.apache.axis.AxisFault axisFaultException) {
1427: throw axisFaultException;
1428: }
1429: }
1430:
1431: public void deleteAttach(int in0, int in1)
1432: throws java.rmi.RemoteException {
1433: if (super .cachedEndpoint == null) {
1434: throw new org.apache.axis.NoEndPointException();
1435: }
1436: org.apache.axis.client.Call _call = createCall();
1437: _call.setOperation(_operations[14]);
1438: _call.setUseSOAPAction(true);
1439: _call.setSOAPActionURI("");
1440: _call.setEncodingStyle(null);
1441: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1442: Boolean.FALSE);
1443: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1444: Boolean.FALSE);
1445: _call
1446: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1447: _call
1448: .setOperationName(new javax.xml.namespace.QName(
1449: "http://soap.salome_tmf.objectweb.org",
1450: "deleteAttach"));
1451:
1452: setRequestHeaders(_call);
1453: setAttachments(_call);
1454: try {
1455: java.lang.Object _resp = _call
1456: .invoke(new java.lang.Object[] {
1457: new java.lang.Integer(in0),
1458: new java.lang.Integer(in1) });
1459:
1460: if (_resp instanceof java.rmi.RemoteException) {
1461: throw (java.rmi.RemoteException) _resp;
1462: }
1463: extractAttachments(_call);
1464: } catch (org.apache.axis.AxisFault axisFaultException) {
1465: throw axisFaultException;
1466: }
1467: }
1468:
1469: public TestWrapper getTest(int in0) throws java.rmi.RemoteException {
1470: if (super .cachedEndpoint == null) {
1471: throw new org.apache.axis.NoEndPointException();
1472: }
1473: org.apache.axis.client.Call _call = createCall();
1474: _call.setOperation(_operations[15]);
1475: _call.setUseSOAPAction(true);
1476: _call.setSOAPActionURI("");
1477: _call.setEncodingStyle(null);
1478: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1479: Boolean.FALSE);
1480: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1481: Boolean.FALSE);
1482: _call
1483: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1484: _call.setOperationName(new javax.xml.namespace.QName(
1485: "http://soap.salome_tmf.objectweb.org", "getTest"));
1486:
1487: setRequestHeaders(_call);
1488: setAttachments(_call);
1489: try {
1490: java.lang.Object _resp = _call
1491: .invoke(new java.lang.Object[] { new java.lang.Integer(
1492: in0) });
1493:
1494: if (_resp instanceof java.rmi.RemoteException) {
1495: throw (java.rmi.RemoteException) _resp;
1496: } else {
1497: extractAttachments(_call);
1498: try {
1499: return (TestWrapper) _resp;
1500: } catch (java.lang.Exception _exception) {
1501: return (TestWrapper) org.apache.axis.utils.JavaUtils
1502: .convert(_resp, TestWrapper.class);
1503: }
1504: }
1505: } catch (org.apache.axis.AxisFault axisFaultException) {
1506: throw axisFaultException;
1507: }
1508: }
1509:
1510: public AttachementWrapper[] getAllAttachemnt(int in0)
1511: throws java.rmi.RemoteException {
1512: if (super .cachedEndpoint == null) {
1513: throw new org.apache.axis.NoEndPointException();
1514: }
1515: org.apache.axis.client.Call _call = createCall();
1516: _call.setOperation(_operations[16]);
1517: _call.setUseSOAPAction(true);
1518: _call.setSOAPActionURI("");
1519: _call.setEncodingStyle(null);
1520: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1521: Boolean.FALSE);
1522: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1523: Boolean.FALSE);
1524: _call
1525: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1526: _call.setOperationName(new javax.xml.namespace.QName(
1527: "http://soap.salome_tmf.objectweb.org",
1528: "getAllAttachemnt"));
1529:
1530: setRequestHeaders(_call);
1531: setAttachments(_call);
1532: try {
1533: java.lang.Object _resp = _call
1534: .invoke(new java.lang.Object[] { new java.lang.Integer(
1535: in0) });
1536:
1537: if (_resp instanceof java.rmi.RemoteException) {
1538: throw (java.rmi.RemoteException) _resp;
1539: } else {
1540: extractAttachments(_call);
1541: try {
1542: return (AttachementWrapper[]) _resp;
1543: } catch (java.lang.Exception _exception) {
1544: return (AttachementWrapper[]) org.apache.axis.utils.JavaUtils
1545: .convert(_resp, AttachementWrapper[].class);
1546: }
1547: }
1548: } catch (org.apache.axis.AxisFault axisFaultException) {
1549: throw axisFaultException;
1550: }
1551: }
1552:
1553: public FileAttachementWrapper[] getAllAttachFiles(int in0)
1554: throws java.rmi.RemoteException {
1555: if (super .cachedEndpoint == null) {
1556: throw new org.apache.axis.NoEndPointException();
1557: }
1558: org.apache.axis.client.Call _call = createCall();
1559: _call.setOperation(_operations[17]);
1560: _call.setUseSOAPAction(true);
1561: _call.setSOAPActionURI("");
1562: _call.setEncodingStyle(null);
1563: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1564: Boolean.FALSE);
1565: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1566: Boolean.FALSE);
1567: _call
1568: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1569: _call.setOperationName(new javax.xml.namespace.QName(
1570: "http://soap.salome_tmf.objectweb.org",
1571: "getAllAttachFiles"));
1572:
1573: setRequestHeaders(_call);
1574: setAttachments(_call);
1575: try {
1576: java.lang.Object _resp = _call
1577: .invoke(new java.lang.Object[] { new java.lang.Integer(
1578: in0) });
1579:
1580: if (_resp instanceof java.rmi.RemoteException) {
1581: throw (java.rmi.RemoteException) _resp;
1582: } else {
1583: extractAttachments(_call);
1584: try {
1585: return (FileAttachementWrapper[]) _resp;
1586: } catch (java.lang.Exception _exception) {
1587: return (FileAttachementWrapper[]) org.apache.axis.utils.JavaUtils
1588: .convert(_resp,
1589: FileAttachementWrapper[].class);
1590: }
1591: }
1592: } catch (org.apache.axis.AxisFault axisFaultException) {
1593: throw axisFaultException;
1594: }
1595: }
1596:
1597: public UrlAttachementWrapper[] getAllAttachUrls(int in0)
1598: throws java.rmi.RemoteException {
1599: if (super .cachedEndpoint == null) {
1600: throw new org.apache.axis.NoEndPointException();
1601: }
1602: org.apache.axis.client.Call _call = createCall();
1603: _call.setOperation(_operations[18]);
1604: _call.setUseSOAPAction(true);
1605: _call.setSOAPActionURI("");
1606: _call.setEncodingStyle(null);
1607: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1608: Boolean.FALSE);
1609: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1610: Boolean.FALSE);
1611: _call
1612: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1613: _call.setOperationName(new javax.xml.namespace.QName(
1614: "http://soap.salome_tmf.objectweb.org",
1615: "getAllAttachUrls"));
1616:
1617: setRequestHeaders(_call);
1618: setAttachments(_call);
1619: try {
1620: java.lang.Object _resp = _call
1621: .invoke(new java.lang.Object[] { new java.lang.Integer(
1622: in0) });
1623:
1624: if (_resp instanceof java.rmi.RemoteException) {
1625: throw (java.rmi.RemoteException) _resp;
1626: } else {
1627: extractAttachments(_call);
1628: try {
1629: return (UrlAttachementWrapper[]) _resp;
1630: } catch (java.lang.Exception _exception) {
1631: return (UrlAttachementWrapper[]) org.apache.axis.utils.JavaUtils
1632: .convert(_resp,
1633: UrlAttachementWrapper[].class);
1634: }
1635: }
1636: } catch (org.apache.axis.AxisFault axisFaultException) {
1637: throw axisFaultException;
1638: }
1639: }
1640:
1641: public ParameterWrapper[] getAllUseParams(int in0)
1642: throws java.rmi.RemoteException {
1643: if (super .cachedEndpoint == null) {
1644: throw new org.apache.axis.NoEndPointException();
1645: }
1646: org.apache.axis.client.Call _call = createCall();
1647: _call.setOperation(_operations[19]);
1648: _call.setUseSOAPAction(true);
1649: _call.setSOAPActionURI("");
1650: _call.setEncodingStyle(null);
1651: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1652: Boolean.FALSE);
1653: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1654: Boolean.FALSE);
1655: _call
1656: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1657: _call.setOperationName(new javax.xml.namespace.QName(
1658: "http://soap.salome_tmf.objectweb.org",
1659: "getAllUseParams"));
1660:
1661: setRequestHeaders(_call);
1662: setAttachments(_call);
1663: try {
1664: java.lang.Object _resp = _call
1665: .invoke(new java.lang.Object[] { new java.lang.Integer(
1666: in0) });
1667:
1668: if (_resp instanceof java.rmi.RemoteException) {
1669: throw (java.rmi.RemoteException) _resp;
1670: } else {
1671: extractAttachments(_call);
1672: try {
1673: return (ParameterWrapper[]) _resp;
1674: } catch (java.lang.Exception _exception) {
1675: return (ParameterWrapper[]) org.apache.axis.utils.JavaUtils
1676: .convert(_resp, ParameterWrapper[].class);
1677: }
1678: }
1679: } catch (org.apache.axis.AxisFault axisFaultException) {
1680: throw axisFaultException;
1681: }
1682: }
1683:
1684: public int getID(int in0, java.lang.String in1)
1685: throws java.rmi.RemoteException {
1686: if (super .cachedEndpoint == null) {
1687: throw new org.apache.axis.NoEndPointException();
1688: }
1689: org.apache.axis.client.Call _call = createCall();
1690: _call.setOperation(_operations[20]);
1691: _call.setUseSOAPAction(true);
1692: _call.setSOAPActionURI("");
1693: _call.setEncodingStyle(null);
1694: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1695: Boolean.FALSE);
1696: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1697: Boolean.FALSE);
1698: _call
1699: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1700: _call.setOperationName(new javax.xml.namespace.QName(
1701: "http://soap.salome_tmf.objectweb.org", "getID"));
1702:
1703: setRequestHeaders(_call);
1704: setAttachments(_call);
1705: try {
1706: java.lang.Object _resp = _call
1707: .invoke(new java.lang.Object[] {
1708: new java.lang.Integer(in0), in1 });
1709:
1710: if (_resp instanceof java.rmi.RemoteException) {
1711: throw (java.rmi.RemoteException) _resp;
1712: } else {
1713: extractAttachments(_call);
1714: try {
1715: return ((java.lang.Integer) _resp).intValue();
1716: } catch (java.lang.Exception _exception) {
1717: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
1718: .convert(_resp, int.class)).intValue();
1719: }
1720: }
1721: } catch (org.apache.axis.AxisFault axisFaultException) {
1722: throw axisFaultException;
1723: }
1724: }
1725:
1726: public void update(int in0, java.lang.String in1,
1727: java.lang.String in2) throws java.rmi.RemoteException {
1728: if (super .cachedEndpoint == null) {
1729: throw new org.apache.axis.NoEndPointException();
1730: }
1731: org.apache.axis.client.Call _call = createCall();
1732: _call.setOperation(_operations[21]);
1733: _call.setUseSOAPAction(true);
1734: _call.setSOAPActionURI("");
1735: _call.setEncodingStyle(null);
1736: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
1737: Boolean.FALSE);
1738: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
1739: Boolean.FALSE);
1740: _call
1741: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
1742: _call.setOperationName(new javax.xml.namespace.QName(
1743: "http://soap.salome_tmf.objectweb.org", "update"));
1744:
1745: setRequestHeaders(_call);
1746: setAttachments(_call);
1747: try {
1748: java.lang.Object _resp = _call
1749: .invoke(new java.lang.Object[] {
1750: new java.lang.Integer(in0), in1, in2 });
1751:
1752: if (_resp instanceof java.rmi.RemoteException) {
1753: throw (java.rmi.RemoteException) _resp;
1754: }
1755: extractAttachments(_call);
1756: } catch (org.apache.axis.AxisFault axisFaultException) {
1757: throw axisFaultException;
1758: }
1759: }
1760:
1761: }
|