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