Add upload and wms capabilities support for onlinesrc