generating wmsUrl and cfg sucessfully