Use of the gLite-WMS in CMS for production and analysis