Export service_url, and use urlparse to parse service_url