The Url should come from the configuration. Either application configuration or layer configuration.