Reputation: 14899
I'm trying to have my WCF services run completely off HTTPS. However when WCF generates the WSDL it provides locations that are not secure (http) and not allowed (rejected) by server.
How do i get this:
<wsdl:import namespace="https://www.mydomain.com/ogc/csw/ebrim/wsdl1.1" location="http://www.mydomain.com/ogc/csw?wsdl=wsdl0"/>
to read this (notice location attribute now using https):
<wsdl:import namespace="https://www.mydomain.com/ogc/csw/ebrim/wsdl1.1" location="https://www.mydomain.com/ogc/csw?wsdl=wsdl0"/>
I can specify my namespace in my interface file but i don't' see how to specify location.:
[System.ServiceModel.ServiceContractAttribute(Namespace = "https://www.mydomain.com/ogc/csw/ebrim/wsdl1.1", ConfigurationName = "MyDomain")]
public interface ICatalog
{
I've tried modifying my baseAddress, but that didn't do anything.
Upvotes: 0
Views: 2995