/************************************************************************
*
* Copyright (c) 2003-2004, C&C Research Laboratories, NEC Europe Ltd.
*
* Copyright in this library belongs to C&C Research Laboratories,
* Rathausallee 10, 53757 Sankt Augustin, Germany.
*
* This software may not be used, sold, licensed, transferred, copied
* or reproduced in whole or in part in any manner or form or in or
* on any media by any person other than in accordance with the terms
* of the Licence Agreement supplied with the software, or otherwise
* without the prior written consent of the copyright owners.
*
* This software is distributed WITHOUT ANY WARRANTY, without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE, except where stated in the Licence Agreement supplied with
* the software.
*
*  Created By :           Federico Crazzolara
*  Created for Project :  GEMSS (IST-2001-37153)
*
************************************************************************/



/**
 * X509ExchServiceSoapBindingSkeleton.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package de.nece.ccrl.tokenservice;

public class X509ExchServiceSoapBindingSkeleton implements de.nece.ccrl.tokenservice.SecurityTokenService, org.apache.axis.wsdl.Skeleton {
    private de.nece.ccrl.tokenservice.SecurityTokenService impl;
    private static java.util.Map _myOperations = new java.util.Hashtable();
    private static java.util.Collection _myOperationsList = new java.util.ArrayList();

    /**
    * Returns List of OperationDesc objects with this name
    */
    public static java.util.List getOperationDescByName(java.lang.String methodName) {
        return (java.util.List)_myOperations.get(methodName);
    }

    /**
    * Returns Collection of OperationDescs
    */
    public static java.util.Collection getOperationDescs() {
        return _myOperationsList;
    }

    static {
        org.apache.axis.description.OperationDesc _oper;
        org.apache.axis.description.FaultDesc _fault;
        org.apache.axis.description.ParameterDesc [] _params;
        _params = new org.apache.axis.description.ParameterDesc [] {
            new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://schemas.ccrl.nece.de/sessid", "SessionId"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("http://schemas.ccrl.nece.de/sessid", "SessionIdType"), de.nece.ccrl.schemas.sessid.SessionIdType.class, false, false), 
            new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2002/12/secext", "RequestSecurityToken"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2002/12/secext", "RequestSecurityTokenType"), org.xmlsoap.schemas.ws._2002._12.secext.RequestSecurityTokenType.class, false, false), 
        };
        _oper = new org.apache.axis.description.OperationDesc("requestSecurityToken", _params, new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2002/12/secext", "RequestSecurityTokenResponse"));
        _oper.setReturnType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2002/12/secext", "RequestSecurityTokenResponseType"));
        _oper.setElementQName(new javax.xml.namespace.QName("tokenservice.ccrl.nece.de", "RequestSecurityToken"));
        _oper.setSoapAction("");
        _myOperationsList.add(_oper);
        if (_myOperations.get("requestSecurityToken") == null) {
            _myOperations.put("requestSecurityToken", new java.util.ArrayList());
        }
        ((java.util.List)_myOperations.get("requestSecurityToken")).add(_oper);
        _fault = new org.apache.axis.description.FaultDesc();
        _fault.setName("fault");
        _fault.setQName(new javax.xml.namespace.QName("http://schemas.ccrl.nece.de/error", "Error"));
        _fault.setClassName("de.nece.ccrl.tokenservice.ErrorMsg");
        _fault.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        _oper.addFault(_fault);
    }

    public X509ExchServiceSoapBindingSkeleton() {
        this.impl = new de.nece.ccrl.tokenservice.X509ExchServiceSoapBindingImpl();
    }

    public X509ExchServiceSoapBindingSkeleton(de.nece.ccrl.tokenservice.SecurityTokenService impl) {
        this.impl = impl;
    }
    public org.xmlsoap.schemas.ws._2002._12.secext.RequestSecurityTokenResponseType requestSecurityToken(de.nece.ccrl.schemas.sessid.holders.SessionIdTypeHolder sessionid, org.xmlsoap.schemas.ws._2002._12.secext.RequestSecurityTokenType request) throws java.rmi.RemoteException, de.nece.ccrl.tokenservice.ErrorMsg
    {
        org.xmlsoap.schemas.ws._2002._12.secext.RequestSecurityTokenResponseType ret = impl.requestSecurityToken(sessionid, request);
        return ret;
    }

}
