I have a WCF server returning JSON working fine. Until I access the page via SSL (Certificate is installed) I have the following configuration
<system.serviceModel>
<services>
<service name="Analytics">
<endpoint name="jsonEP"
address=""
binding="webHttpBinding"
behaviorConfiguration="json"
contract="IAnalytics"/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="json">
<webHttp faultExceptionEnabled="true" helpEnabled="true" />
</behavior>
</endpointBehaviors>
</behaviors>
What do I need to change to enable my service to be SSL enabled?
I access the entry page with https://mysite/Service/Analytics.svc but the message gives svcutil.exe http://machinename/Service/Analytics.svc?wsdl
when it should be http://mysite/Service/Analytics.svc?wsdl
Also any Get Requests fail ex: http://mysite/Service/Analytics.svc/MyURITemplate/Id/1
thanks.