if (log.isDebugEnabled()) { debug("Exteneded service with request class '"+request.getClass().getName()+"' called for CA '"+cadata.getName()+"'"); }
    public ExtendedCAServiceResponse extendedService(Admin admin, int caid, ExtendedCAServiceRequest request)            throws ExtendedCAServiceRequestException, IllegalExtendedCAServiceRequestException, ExtendedCAServiceNotActiveException, CADoesntExistsException {        // Get CA that will process request        CADataLocal cadata = null;        ExtendedCAServiceResponse returnval = null;        try {            cadata = cadatahome.findByPrimaryKey(new Integer(caid));            returnval = cadata.getCA().extendedService(request);        } catch (javax.ejb.FinderException fe) {            throw new CADoesntExistsException(fe);        } catch (UnsupportedEncodingException ue) {            throw new EJBException(ue);        } catch(IllegalKeyStoreException e){            throw new EJBException(e);        }        return returnval;    }