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