001: /**
002: * SSOIdentityManagerSoapBindingStub.java
003: *
004: * This file was auto-generated from WSDL
005: * by the Apache Axis 1.2.1 Jul 21, 2005 (10:26:06 GMT-03:00) WSDL2Java emitter.
006: */package org.josso.gateway.identity.service.ws.impl;
007:
008: public class SSOIdentityManagerSoapBindingStub extends
009: org.apache.axis.client.Stub implements
010: org.josso.gateway.identity.service.ws.impl.SSOIdentityManager {
011: private java.util.Vector cachedSerClasses = new java.util.Vector();
012: private java.util.Vector cachedSerQNames = new java.util.Vector();
013: private java.util.Vector cachedSerFactories = new java.util.Vector();
014: private java.util.Vector cachedDeserFactories = new java.util.Vector();
015:
016: static org.apache.axis.description.OperationDesc[] _operations;
017:
018: static {
019: _operations = new org.apache.axis.description.OperationDesc[5];
020: _initOperationDesc1();
021: }
022:
023: private static void _initOperationDesc1() {
024: org.apache.axis.description.OperationDesc oper;
025: org.apache.axis.description.ParameterDesc param;
026: oper = new org.apache.axis.description.OperationDesc();
027: oper.setName("findUser");
028: param = new org.apache.axis.description.ParameterDesc(
029: new javax.xml.namespace.QName("", "in0"),
030: org.apache.axis.description.ParameterDesc.IN,
031: new javax.xml.namespace.QName(
032: "http://www.w3.org/2001/XMLSchema", "string"),
033: java.lang.String.class, false, false);
034: oper.addParameter(param);
035: oper.setReturnType(new javax.xml.namespace.QName(
036: "http://josso.org/gateway/identity/service/ws/impl",
037: "SSOUser"));
038: oper
039: .setReturnClass(org.josso.gateway.identity.service.ws.impl.SSOUser.class);
040: oper.setReturnQName(new javax.xml.namespace.QName("",
041: "findUserReturn"));
042: oper.setStyle(org.apache.axis.constants.Style.RPC);
043: oper.setUse(org.apache.axis.constants.Use.ENCODED);
044: oper
045: .addFault(new org.apache.axis.description.FaultDesc(
046: new javax.xml.namespace.QName(
047: "http://josso.org/gateway/identity/service/ws/impl",
048: "fault"),
049: "org.josso.gateway.identity.service.ws.impl.SSOIdentityException",
050: new javax.xml.namespace.QName(
051: "http://josso.org/gateway/identity/service/ws/impl",
052: "SSOIdentityException"), true));
053: oper
054: .addFault(new org.apache.axis.description.FaultDesc(
055: new javax.xml.namespace.QName(
056: "http://josso.org/gateway/identity/service/ws/impl",
057: "fault"),
058: "org.josso.gateway.identity.service.ws.impl.NoSuchUserException",
059: new javax.xml.namespace.QName(
060: "http://josso.org/gateway/identity/service/ws/impl",
061: "NoSuchUserException"), true));
062: _operations[0] = oper;
063:
064: oper = new org.apache.axis.description.OperationDesc();
065: oper.setName("findUserInSession");
066: param = new org.apache.axis.description.ParameterDesc(
067: new javax.xml.namespace.QName("", "in0"),
068: org.apache.axis.description.ParameterDesc.IN,
069: new javax.xml.namespace.QName(
070: "http://www.w3.org/2001/XMLSchema", "string"),
071: java.lang.String.class, false, false);
072: oper.addParameter(param);
073: oper.setReturnType(new javax.xml.namespace.QName(
074: "http://josso.org/gateway/identity/service/ws/impl",
075: "SSOUser"));
076: oper
077: .setReturnClass(org.josso.gateway.identity.service.ws.impl.SSOUser.class);
078: oper.setReturnQName(new javax.xml.namespace.QName("",
079: "findUserInSessionReturn"));
080: oper.setStyle(org.apache.axis.constants.Style.RPC);
081: oper.setUse(org.apache.axis.constants.Use.ENCODED);
082: oper
083: .addFault(new org.apache.axis.description.FaultDesc(
084: new javax.xml.namespace.QName(
085: "http://josso.org/gateway/identity/service/ws/impl",
086: "fault"),
087: "org.josso.gateway.identity.service.ws.impl.SSOIdentityException",
088: new javax.xml.namespace.QName(
089: "http://josso.org/gateway/identity/service/ws/impl",
090: "SSOIdentityException"), true));
091: oper
092: .addFault(new org.apache.axis.description.FaultDesc(
093: new javax.xml.namespace.QName(
094: "http://josso.org/gateway/identity/service/ws/impl",
095: "fault"),
096: "org.josso.gateway.identity.service.ws.impl.NoSuchUserException",
097: new javax.xml.namespace.QName(
098: "http://josso.org/gateway/identity/service/ws/impl",
099: "NoSuchUserException"), true));
100: _operations[1] = oper;
101:
102: oper = new org.apache.axis.description.OperationDesc();
103: oper.setName("findRolesByUsername");
104: param = new org.apache.axis.description.ParameterDesc(
105: new javax.xml.namespace.QName("", "in0"),
106: org.apache.axis.description.ParameterDesc.IN,
107: new javax.xml.namespace.QName(
108: "http://www.w3.org/2001/XMLSchema", "string"),
109: java.lang.String.class, false, false);
110: oper.addParameter(param);
111: oper.setReturnType(new javax.xml.namespace.QName(
112: "http://josso.org/gateway/identity/service/ws/impl",
113: "ArrayOfSSORole"));
114: oper
115: .setReturnClass(org.josso.gateway.identity.service.ws.impl.SSORole[].class);
116: oper.setReturnQName(new javax.xml.namespace.QName("",
117: "findRolesByUsernameReturn"));
118: oper.setStyle(org.apache.axis.constants.Style.RPC);
119: oper.setUse(org.apache.axis.constants.Use.ENCODED);
120: oper
121: .addFault(new org.apache.axis.description.FaultDesc(
122: new javax.xml.namespace.QName(
123: "http://josso.org/gateway/identity/service/ws/impl",
124: "fault"),
125: "org.josso.gateway.identity.service.ws.impl.SSOIdentityException",
126: new javax.xml.namespace.QName(
127: "http://josso.org/gateway/identity/service/ws/impl",
128: "SSOIdentityException"), true));
129: _operations[2] = oper;
130:
131: oper = new org.apache.axis.description.OperationDesc();
132: oper.setName("userExists");
133: param = new org.apache.axis.description.ParameterDesc(
134: new javax.xml.namespace.QName("", "in0"),
135: org.apache.axis.description.ParameterDesc.IN,
136: new javax.xml.namespace.QName(
137: "http://www.w3.org/2001/XMLSchema", "string"),
138: java.lang.String.class, false, false);
139: oper.addParameter(param);
140: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
141: oper.setStyle(org.apache.axis.constants.Style.RPC);
142: oper.setUse(org.apache.axis.constants.Use.ENCODED);
143: oper
144: .addFault(new org.apache.axis.description.FaultDesc(
145: new javax.xml.namespace.QName(
146: "http://josso.org/gateway/identity/service/ws/impl",
147: "fault"),
148: "org.josso.gateway.identity.service.ws.impl.SSOIdentityException",
149: new javax.xml.namespace.QName(
150: "http://josso.org/gateway/identity/service/ws/impl",
151: "SSOIdentityException"), true));
152: oper
153: .addFault(new org.apache.axis.description.FaultDesc(
154: new javax.xml.namespace.QName(
155: "http://josso.org/gateway/identity/service/ws/impl",
156: "fault"),
157: "org.josso.gateway.identity.service.ws.impl.NoSuchUserException",
158: new javax.xml.namespace.QName(
159: "http://josso.org/gateway/identity/service/ws/impl",
160: "NoSuchUserException"), true));
161: _operations[3] = oper;
162:
163: oper = new org.apache.axis.description.OperationDesc();
164: oper.setName("initialize");
165: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
166: oper.setStyle(org.apache.axis.constants.Style.RPC);
167: oper.setUse(org.apache.axis.constants.Use.ENCODED);
168: _operations[4] = oper;
169:
170: }
171:
172: public SSOIdentityManagerSoapBindingStub()
173: throws org.apache.axis.AxisFault {
174: this (null);
175: }
176:
177: public SSOIdentityManagerSoapBindingStub(java.net.URL endpointURL,
178: javax.xml.rpc.Service service)
179: throws org.apache.axis.AxisFault {
180: this (service);
181: super .cachedEndpoint = endpointURL;
182: }
183:
184: public SSOIdentityManagerSoapBindingStub(
185: javax.xml.rpc.Service service)
186: throws org.apache.axis.AxisFault {
187: if (service == null) {
188: super .service = new org.apache.axis.client.Service();
189: } else {
190: super .service = service;
191: }
192: ((org.apache.axis.client.Service) super .service)
193: .setTypeMappingVersion("1.2");
194: java.lang.Class cls;
195: javax.xml.namespace.QName qName;
196: javax.xml.namespace.QName qName2;
197: java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
198: java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
199: java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
200: java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
201: java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
202: java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
203: java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
204: java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
205: java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
206: java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
207: qName = new javax.xml.namespace.QName(
208: "http://josso.org/gateway/identity/service/ws/impl",
209: "ArrayOfSSONameValuePair");
210: cachedSerQNames.add(qName);
211: cls = org.josso.gateway.identity.service.ws.impl.SSONameValuePair[].class;
212: cachedSerClasses.add(cls);
213: qName = new javax.xml.namespace.QName(
214: "http://josso.org/gateway/identity/service/ws/impl",
215: "SSONameValuePair");
216: qName2 = null;
217: cachedSerFactories
218: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
219: qName, qName2));
220: cachedDeserFactories
221: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
222:
223: qName = new javax.xml.namespace.QName(
224: "http://josso.org/gateway/identity/service/ws/impl",
225: "ArrayOfSSORole");
226: cachedSerQNames.add(qName);
227: cls = org.josso.gateway.identity.service.ws.impl.SSORole[].class;
228: cachedSerClasses.add(cls);
229: qName = new javax.xml.namespace.QName(
230: "http://josso.org/gateway/identity/service/ws/impl",
231: "SSORole");
232: qName2 = null;
233: cachedSerFactories
234: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
235: qName, qName2));
236: cachedDeserFactories
237: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
238:
239: qName = new javax.xml.namespace.QName(
240: "http://josso.org/gateway/identity/service/ws/impl",
241: "NoSuchUserException");
242: cachedSerQNames.add(qName);
243: cls = org.josso.gateway.identity.service.ws.impl.NoSuchUserException.class;
244: cachedSerClasses.add(cls);
245: cachedSerFactories.add(beansf);
246: cachedDeserFactories.add(beandf);
247:
248: qName = new javax.xml.namespace.QName(
249: "http://josso.org/gateway/identity/service/ws/impl",
250: "SSOIdentityException");
251: cachedSerQNames.add(qName);
252: cls = org.josso.gateway.identity.service.ws.impl.SSOIdentityException.class;
253: cachedSerClasses.add(cls);
254: cachedSerFactories.add(beansf);
255: cachedDeserFactories.add(beandf);
256:
257: qName = new javax.xml.namespace.QName(
258: "http://josso.org/gateway/identity/service/ws/impl",
259: "SSONameValuePair");
260: cachedSerQNames.add(qName);
261: cls = org.josso.gateway.identity.service.ws.impl.SSONameValuePair.class;
262: cachedSerClasses.add(cls);
263: cachedSerFactories.add(beansf);
264: cachedDeserFactories.add(beandf);
265:
266: qName = new javax.xml.namespace.QName(
267: "http://josso.org/gateway/identity/service/ws/impl",
268: "SSORole");
269: cachedSerQNames.add(qName);
270: cls = org.josso.gateway.identity.service.ws.impl.SSORole.class;
271: cachedSerClasses.add(cls);
272: cachedSerFactories.add(beansf);
273: cachedDeserFactories.add(beandf);
274:
275: qName = new javax.xml.namespace.QName(
276: "http://josso.org/gateway/identity/service/ws/impl",
277: "SSOUser");
278: cachedSerQNames.add(qName);
279: cls = org.josso.gateway.identity.service.ws.impl.SSOUser.class;
280: cachedSerClasses.add(cls);
281: cachedSerFactories.add(beansf);
282: cachedDeserFactories.add(beandf);
283:
284: }
285:
286: protected org.apache.axis.client.Call createCall()
287: throws java.rmi.RemoteException {
288: try {
289: org.apache.axis.client.Call _call = super ._createCall();
290: if (super .maintainSessionSet) {
291: _call.setMaintainSession(super .maintainSession);
292: }
293: if (super .cachedUsername != null) {
294: _call.setUsername(super .cachedUsername);
295: }
296: if (super .cachedPassword != null) {
297: _call.setPassword(super .cachedPassword);
298: }
299: if (super .cachedEndpoint != null) {
300: _call.setTargetEndpointAddress(super .cachedEndpoint);
301: }
302: if (super .cachedTimeout != null) {
303: _call.setTimeout(super .cachedTimeout);
304: }
305: if (super .cachedPortName != null) {
306: _call.setPortName(super .cachedPortName);
307: }
308: java.util.Enumeration keys = super .cachedProperties.keys();
309: while (keys.hasMoreElements()) {
310: java.lang.String key = (java.lang.String) keys
311: .nextElement();
312: _call.setProperty(key, super .cachedProperties.get(key));
313: }
314: // All the type mapping information is registered
315: // when the first call is made.
316: // The type mapping information is actually registered in
317: // the TypeMappingRegistry of the service, which
318: // is the reason why registration is only needed for the first call.
319: synchronized (this ) {
320: if (firstCall()) {
321: // must set encoding style before registering serializers
322: _call
323: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
324: _call
325: .setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC);
326: for (int i = 0; i < cachedSerFactories.size(); ++i) {
327: java.lang.Class cls = (java.lang.Class) cachedSerClasses
328: .get(i);
329: javax.xml.namespace.QName qName = (javax.xml.namespace.QName) cachedSerQNames
330: .get(i);
331: java.lang.Object x = cachedSerFactories.get(i);
332: if (x instanceof Class) {
333: java.lang.Class sf = (java.lang.Class) cachedSerFactories
334: .get(i);
335: java.lang.Class df = (java.lang.Class) cachedDeserFactories
336: .get(i);
337: _call.registerTypeMapping(cls, qName, sf,
338: df, false);
339: } else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
340: org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) cachedSerFactories
341: .get(i);
342: org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) cachedDeserFactories
343: .get(i);
344: _call.registerTypeMapping(cls, qName, sf,
345: df, false);
346: }
347: }
348: }
349: }
350: return _call;
351: } catch (java.lang.Throwable _t) {
352: throw new org.apache.axis.AxisFault(
353: "Failure trying to get the Call object", _t);
354: }
355: }
356:
357: public org.josso.gateway.identity.service.ws.impl.SSOUser findUser(
358: java.lang.String in0)
359: throws java.rmi.RemoteException,
360: org.josso.gateway.identity.service.ws.impl.SSOIdentityException,
361: org.josso.gateway.identity.service.ws.impl.NoSuchUserException {
362: if (super .cachedEndpoint == null) {
363: throw new org.apache.axis.NoEndPointException();
364: }
365: org.apache.axis.client.Call _call = createCall();
366: _call.setOperation(_operations[0]);
367: _call.setUseSOAPAction(true);
368: _call.setSOAPActionURI("");
369: _call
370: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
371: _call.setOperationName(new javax.xml.namespace.QName(
372: "http://josso.org/gateway/identity/service/ws/impl",
373: "findUser"));
374:
375: setRequestHeaders(_call);
376: setAttachments(_call);
377: try {
378: java.lang.Object _resp = _call
379: .invoke(new java.lang.Object[] { in0 });
380:
381: if (_resp instanceof java.rmi.RemoteException) {
382: throw (java.rmi.RemoteException) _resp;
383: } else {
384: extractAttachments(_call);
385: try {
386: return (org.josso.gateway.identity.service.ws.impl.SSOUser) _resp;
387: } catch (java.lang.Exception _exception) {
388: return (org.josso.gateway.identity.service.ws.impl.SSOUser) org.apache.axis.utils.JavaUtils
389: .convert(
390: _resp,
391: org.josso.gateway.identity.service.ws.impl.SSOUser.class);
392: }
393: }
394: } catch (org.apache.axis.AxisFault axisFaultException) {
395: if (axisFaultException.detail != null) {
396: if (axisFaultException.detail instanceof java.rmi.RemoteException) {
397: throw (java.rmi.RemoteException) axisFaultException.detail;
398: }
399: if (axisFaultException.detail instanceof org.josso.gateway.identity.service.ws.impl.SSOIdentityException) {
400: throw (org.josso.gateway.identity.service.ws.impl.SSOIdentityException) axisFaultException.detail;
401: }
402: if (axisFaultException.detail instanceof org.josso.gateway.identity.service.ws.impl.NoSuchUserException) {
403: throw (org.josso.gateway.identity.service.ws.impl.NoSuchUserException) axisFaultException.detail;
404: }
405: }
406: throw axisFaultException;
407: }
408: }
409:
410: public org.josso.gateway.identity.service.ws.impl.SSOUser findUserInSession(
411: java.lang.String in0)
412: throws java.rmi.RemoteException,
413: org.josso.gateway.identity.service.ws.impl.SSOIdentityException,
414: org.josso.gateway.identity.service.ws.impl.NoSuchUserException {
415: if (super .cachedEndpoint == null) {
416: throw new org.apache.axis.NoEndPointException();
417: }
418: org.apache.axis.client.Call _call = createCall();
419: _call.setOperation(_operations[1]);
420: _call.setUseSOAPAction(true);
421: _call.setSOAPActionURI("");
422: _call
423: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
424: _call.setOperationName(new javax.xml.namespace.QName(
425: "http://josso.org/gateway/identity/service/ws/impl",
426: "findUserInSession"));
427:
428: setRequestHeaders(_call);
429: setAttachments(_call);
430: try {
431: java.lang.Object _resp = _call
432: .invoke(new java.lang.Object[] { in0 });
433:
434: if (_resp instanceof java.rmi.RemoteException) {
435: throw (java.rmi.RemoteException) _resp;
436: } else {
437: extractAttachments(_call);
438: try {
439: return (org.josso.gateway.identity.service.ws.impl.SSOUser) _resp;
440: } catch (java.lang.Exception _exception) {
441: return (org.josso.gateway.identity.service.ws.impl.SSOUser) org.apache.axis.utils.JavaUtils
442: .convert(
443: _resp,
444: org.josso.gateway.identity.service.ws.impl.SSOUser.class);
445: }
446: }
447: } catch (org.apache.axis.AxisFault axisFaultException) {
448: if (axisFaultException.detail != null) {
449: if (axisFaultException.detail instanceof java.rmi.RemoteException) {
450: throw (java.rmi.RemoteException) axisFaultException.detail;
451: }
452: if (axisFaultException.detail instanceof org.josso.gateway.identity.service.ws.impl.SSOIdentityException) {
453: throw (org.josso.gateway.identity.service.ws.impl.SSOIdentityException) axisFaultException.detail;
454: }
455: if (axisFaultException.detail instanceof org.josso.gateway.identity.service.ws.impl.NoSuchUserException) {
456: throw (org.josso.gateway.identity.service.ws.impl.NoSuchUserException) axisFaultException.detail;
457: }
458: }
459: throw axisFaultException;
460: }
461: }
462:
463: public org.josso.gateway.identity.service.ws.impl.SSORole[] findRolesByUsername(
464: java.lang.String in0)
465: throws java.rmi.RemoteException,
466: org.josso.gateway.identity.service.ws.impl.SSOIdentityException {
467: if (super .cachedEndpoint == null) {
468: throw new org.apache.axis.NoEndPointException();
469: }
470: org.apache.axis.client.Call _call = createCall();
471: _call.setOperation(_operations[2]);
472: _call.setUseSOAPAction(true);
473: _call.setSOAPActionURI("");
474: _call
475: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
476: _call.setOperationName(new javax.xml.namespace.QName(
477: "http://josso.org/gateway/identity/service/ws/impl",
478: "findRolesByUsername"));
479:
480: setRequestHeaders(_call);
481: setAttachments(_call);
482: try {
483: java.lang.Object _resp = _call
484: .invoke(new java.lang.Object[] { in0 });
485:
486: if (_resp instanceof java.rmi.RemoteException) {
487: throw (java.rmi.RemoteException) _resp;
488: } else {
489: extractAttachments(_call);
490: try {
491: return (org.josso.gateway.identity.service.ws.impl.SSORole[]) _resp;
492: } catch (java.lang.Exception _exception) {
493: return (org.josso.gateway.identity.service.ws.impl.SSORole[]) org.apache.axis.utils.JavaUtils
494: .convert(
495: _resp,
496: org.josso.gateway.identity.service.ws.impl.SSORole[].class);
497: }
498: }
499: } catch (org.apache.axis.AxisFault axisFaultException) {
500: if (axisFaultException.detail != null) {
501: if (axisFaultException.detail instanceof java.rmi.RemoteException) {
502: throw (java.rmi.RemoteException) axisFaultException.detail;
503: }
504: if (axisFaultException.detail instanceof org.josso.gateway.identity.service.ws.impl.SSOIdentityException) {
505: throw (org.josso.gateway.identity.service.ws.impl.SSOIdentityException) axisFaultException.detail;
506: }
507: }
508: throw axisFaultException;
509: }
510: }
511:
512: public void userExists(java.lang.String in0)
513: throws java.rmi.RemoteException,
514: org.josso.gateway.identity.service.ws.impl.SSOIdentityException,
515: org.josso.gateway.identity.service.ws.impl.NoSuchUserException {
516: if (super .cachedEndpoint == null) {
517: throw new org.apache.axis.NoEndPointException();
518: }
519: org.apache.axis.client.Call _call = createCall();
520: _call.setOperation(_operations[3]);
521: _call.setUseSOAPAction(true);
522: _call.setSOAPActionURI("");
523: _call
524: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
525: _call.setOperationName(new javax.xml.namespace.QName(
526: "http://josso.org/gateway/identity/service/ws/impl",
527: "userExists"));
528:
529: setRequestHeaders(_call);
530: setAttachments(_call);
531: try {
532: java.lang.Object _resp = _call
533: .invoke(new java.lang.Object[] { in0 });
534:
535: if (_resp instanceof java.rmi.RemoteException) {
536: throw (java.rmi.RemoteException) _resp;
537: }
538: extractAttachments(_call);
539: } catch (org.apache.axis.AxisFault axisFaultException) {
540: if (axisFaultException.detail != null) {
541: if (axisFaultException.detail instanceof java.rmi.RemoteException) {
542: throw (java.rmi.RemoteException) axisFaultException.detail;
543: }
544: if (axisFaultException.detail instanceof org.josso.gateway.identity.service.ws.impl.SSOIdentityException) {
545: throw (org.josso.gateway.identity.service.ws.impl.SSOIdentityException) axisFaultException.detail;
546: }
547: if (axisFaultException.detail instanceof org.josso.gateway.identity.service.ws.impl.NoSuchUserException) {
548: throw (org.josso.gateway.identity.service.ws.impl.NoSuchUserException) axisFaultException.detail;
549: }
550: }
551: throw axisFaultException;
552: }
553: }
554:
555: public void initialize() throws java.rmi.RemoteException {
556: if (super .cachedEndpoint == null) {
557: throw new org.apache.axis.NoEndPointException();
558: }
559: org.apache.axis.client.Call _call = createCall();
560: _call.setOperation(_operations[4]);
561: _call.setUseSOAPAction(true);
562: _call.setSOAPActionURI("");
563: _call
564: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
565: _call.setOperationName(new javax.xml.namespace.QName(
566: "http://josso.org/gateway/identity/service/ws/impl",
567: "initialize"));
568:
569: setRequestHeaders(_call);
570: setAttachments(_call);
571: try {
572: java.lang.Object _resp = _call
573: .invoke(new java.lang.Object[] {});
574:
575: if (_resp instanceof java.rmi.RemoteException) {
576: throw (java.rmi.RemoteException) _resp;
577: }
578: extractAttachments(_call);
579: } catch (org.apache.axis.AxisFault axisFaultException) {
580: throw axisFaultException;
581: }
582: }
583:
584: }
|