web services - Could not find a base address that matches scheme https for the endpoint with binding WSHttpBinding. Registered base address schemes are [http]. -


I have the following configuration for YSHTP bindings inside the configuration file and with transport protection. Meta Data Exchange, Base Address & amp; Bindings are all set to HPPS but it is still giving this problem

   & Lt; / Safety & gt; & Lt; / Binding & gt; & Lt; / WsHttpBinding & gt; & Lt; / Binding & gt; & Lt; Services & gt; & Lt; Service transaction support = "WCFWindowsBasicHttpBinding.Service1Behavior" name = "WCFWindowsBasicHttpBinding.Service1" & gt; & Lt; Endpoint address = "" binding = "wsHttpBinding" binding configuration = "WsHttpEndpointBinding" name = "WsHttpEndpoint" contract = "WCFWindowsBasicHttpBinding.IService1" & gt; & Lt; Identity & gt; & Lt; Dns value = "localhost" /> & Lt; / Identification & gt; & Lt; / Endpoint & gt; & Lt; Endpoint address = "Max" binding = "Max HTPS binding" contract = "IMX" & gt; & Lt; / Endpoint & gt; & Lt; Host & gt; & Lt; BaseAddresses & gt; & Lt; BaseAddress = "https: //localhost/Service1.svc" /> Add & lt; / BaseAddresses & gt; & Lt; / Host & gt; & Lt; / Services & gt; & Lt; / Services & gt; & Lt; Behavior & gt; & Lt; ServiceBehaviors & gt; & Lt; Transaction name = "WCFWindowsBasicHttpBinding.Service1Behavior" & gt; & Lt ;! To avoid disclosing metadata information, set the value below to false and delete the metadata endpoint before deployment - & gt; & Lt; ServiceMetadata httpGetEnabled = "false" /> & Lt ;! - To get exception details in the flaws for debugging purposes, set the price below to true. To avoid exposing exception information, set it to false before deployment - & gt; & Lt; The services included in the debugging include exceptions = DishialInstine = "false" /> & Lt; / Behavior & gt; & Lt; / ServiceBehaviors & gt; & Lt; / Behavior & gt; & Lt; /system.serviceModel>  

Are you hosting a service on IIS? If so, make sure that the website you are posted on is an SSL binding defined in IIS.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -