Click here to Skip to main content
13,900,427 members
Rate this:
Please Sign up or sign in to vote.
See more:
          <binding name="wsHttpBinding_https" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
            <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
            <!--<security mode="Message">-->
            <security mode="Transport">
              <transport clientCredentialType="Windows"/>
      <service behaviorConfiguration="RegistrationUserBehavior" name="UserInformationAPI.Service.Library.RegistrationUserLibrary">
        <endpoint address="https://localhost:4588/UserInformationAPI.Service.Host/RegistrationUser.svc" binding="wsHttpBinding" contract="UserInformationAPI.Service.Contract.IRegistrationUser" bindingConfiguration="wsHttpBinding_https">
            <dns value="localhost" />
        <endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
        <behavior name="RegistrationUserBehavior">
          <serviceMetadata httpsGetEnabled="true" httpsGetUrl="https://localhost:4588/UserInformationAPI.Service.Host/RegistrationUser.svc/wsdl" />
          <serviceDebug includeExceptionDetailInFaults="true"/>
sureshsankar 27-Jun-13 7:10am
help with me friends
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

have you enabled Https in config file?

<servicemetadata httpsgetenabled="true">
sureshsankar 27-Jun-13 7:40am
Yes I have hosted in Https in config file,So how to solve below error
Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http]
ArunRajendra 28-Jun-13 2:18am
Can you post the full web.config file
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

You would need to enable SSL on IIS to accept https connections.
You can do that in IIS Control panel ( of the server where you are hosting this service) and enable SSL

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190306.1 | Last Updated 3 Jan 2014
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100