save the service url and not the capabilities url in onlineresource url