.net - WCF base address -


I have a wcf service that was accessible via http or https This is a shared hosting Runs in the environment.

I canceled SSL hosting. I. Private IP for SSL was removed, etc.

I have not made any changes to my configuration.

Now, if I just get my service like

I get the following error:

A base know that The compulsory BasicHttpBinding could not match the plan for the end point with https. The registered base address schemes are [http].

Notice that a plan of https is mentioned in the error message

Any help on any of this < / P>

Not updated with config information:.

& lt; BaseAddressPrefixFilters & gt; & Lt; Add prefix = "http://mysite.com/" /> & Lt; / BaseAddressPrefixFilters & gt; & Lt; / ServiceHostingEnvironment & gt; & Lt; Services & gt; & Lt; Service transaction support = "MySiteServiceBehavior" name = "MySite.MyService" & gt; & Lt; Clear /> & Lt; Endpoint address = "" bond = "basicHttpBinding" bindingConfiguration = "MySiteBasicBinding" name = "MySiteBasicEndpoint" contract = "MySite.IMyService" /> & Lt; Endpoint address = "" bond = "basicHttpBinding" bindingConfiguration = "MySiteBasicSslBinding" name = "MySiteBasicSslEndpoint" contract = "MySite.IMyService" /> & Lt; endpoint address = "json" endpointConfiguration = "myJson" type = "webHttpEndpoint" binding = "WebHttpBinding" bindingConfiguration = "MySiteBasicBinding" name = "jsonEndpoint" contract = "MySite.IMyService" behaviorConfiguration = "MySite.MyServiceBehavior.json" / & gt ; & Lt; Endpoint address = "json" endpointConfiguration = "myJson" type = "webHttpEndpoint" binding = "webHttpBinding" binding configuration = "MySiteBasicSslBinding" name = "jsonSslEndpoint" contract = "MySite.IMyService" behavior = configuration = "MySite.MyServiceBehavior.json" /> & Lt; Endpoint address = "Max" binding = "Max HTPS binding" contract = "IMATAdata Exchange" / & gt; & Lt; Endpoint address = "Max" binding = "MaxHttpending" contract = "IMAXADEXXchange" /> & Lt; Host & gt; & Lt; BaseAddresses & gt; & Lt; AddAddress = "http://MySite.com/MyService.svc" /> & Lt; BaseAddress = "https://MySite.com/MyService.svc" /> Add ** --- There is still problem with this line Comment ** ** & lt; / BaseAddresses & gt; & Lt; / Host & gt; & Lt; / Services & gt; & Lt; / Services & gt; & Lt; Binding & gt; & Lt; BasicHttpBinding & gt; & Lt; Binding name = "MySiteBasic Bending" /> & Lt; Binding name = "MySiteBasic SSL bonding" & gt; & Lt; Safety Mode = "Transportation" /> & Lt; / Binding & gt; & Lt; / BasicHttpBinding & gt; & Lt; WebHttpBinding & gt; & Lt; Binding name = "MySiteBasic Bending" /> & Lt; Binding name = "MySiteBasic SSL bonding" & gt; & Lt; Safety Mode = "Transportation" /> & Lt; / Binding & gt; & Lt; / WebHttpBinding & gt; & Lt; / Binding & gt; & Lt; Behavior & gt; & Lt; ServiceBehaviors & gt; & Lt; Behavior Name = "MySitesVisibility" & gt; & Lt; ServiceMetadata httpGetEnabled = "true" httpsGetEnabled = "true" /> ** ** The problem with HTTPSGetEnabled is set to false ** & lt; / Behavior & gt; & Lt; / ServiceBehaviors & gt; & Lt; Endpoint beehaviors & gt; & Lt; Transaction name = "MySite.MyServiceBehavior.json" & gt; & Lt; -! & Lt; EnableWebScript / & gt; - & gt; & Lt; / Behavior & gt; & Lt; / EndpointBehaviors & gt; & Lt; / Behavior & gt; & Lt; StandardEndpoints & gt; & Lt; WebHttpEndpoint & gt; & Lt; Mankandpoint name = "Mayjasn" Shaytaanuwadit = "true" automatic format Cynskshm = "true" / & gt; & Lt; / WebHttpEndpoint & gt; & Lt; / StandardEndpoints & gt;

The UPDATE

I also delete any / all terms related to https and it worked. I'm just surprised that it was necessary.

It looks like you still httpsGetEnabled their behavior element serviceBehaviors.

Comments