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