class EhcacheWebServiceEndpoint {

    @WebMethod
    public void put(String cacheName, Element element) throws NoSuchCacheException, CacheException {
        net.sf.ehcache.Cache cache = lookupCache(cacheName);
        cache.put(element.getEhcacheElement());
    }

}