I inherited from another team the WCF web service developed on the .net framework 3.5. When installed on a sandbox, the WS URL looks like this:
URL: https: // <EnvironmentName> / fr / webservices / <someWebServiceName> .svc
I was asked to get this URL from the web service method code at runtime. Do you have any ideas?
I would think that there should be an environment variable that can be easily used to get the url. Any fee will be appreciated.
Thank!
source
share