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