There is a WCF service written in C # that exports a custom WSDL schema using the attribute
externalMetadataLocation It is assumed that the service will be deployed on several servers with different domain names, and accordingly, the question arose of how to dynamically change the location attribute of the soap :: address parameter in the WSDL. Is it possible and, if so, how?
I tried to override the behavior when exporting WSDL using SoapExtensionReflector but this does not work.