Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8569489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:20:49+00:00 2026-06-11T18:20:49+00:00

I have been through Stack Overflow and followed an online tutorial for SSL And

  • 0

I have been through Stack Overflow and followed an online tutorial for SSL And WebHttpBinding.

I am getting back the same error as mentioned there. I have reverted back to the old web config as shown below. My https site is working fine, and I added my WCF as part of the site to avoid having to open a new port.

I’m trying to reach something like this now when I get the error:

https://localhost/_vti_bin/TestingSQL/sample.svc/mex

<?xml version="1.0"?>
<configuration>
  <system.serviceModel>
<services>
  <service name="SharePointBits.Samples.WCFService.SampleService" behaviorConfiguration="SharePointBits.Samples.WCFService.SampleServiceBehavior">
<host> 
<baseAddresses> 
            <add baseAddress="https://testsite/_vti_bin/TestingSQL/Sample.svc"/> 
        </baseAddresses> 
    </host>

    <endpoint address="https://localhost/_vti_bin/TestingSQL/Sample.svc" binding="wsHttpBinding" contract="SharePointBits.Samples.WCFService.ISampleService" 
bindingConfiguration="wsHttpBindingEndpointBinding">
          <identity>
            <dns value="localhost"/>
      </identity>
  </endpoint>
  <endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange"/>
  </service>
</services>
<bindings>
  <wsHttpBinding>
    <binding name="wsHttpBinding">
      <security mode="Transport">
        <transport clientCredentialType="None"/>
      </security>
    </binding>
  </wsHttpBinding>
</bindings>
<behaviors>
  <serviceBehaviors>
    <behavior name="SharePointBits.Samples.WCFService.SampleServiceBehavior">
      <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
      <serviceMetadata httpsGetEnabled="true"/>
      <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
      <serviceDebug includeExceptionDetailInFaults="true"/>
    </behavior>
    <!--<behavior name="">-->
      <!--<serviceMetadata httpGetEnabled="true" />-->
    <!--</behavior>-->
  </serviceBehaviors>
    </behaviors>
  </system.serviceModel>
</configuration>'

After I added my web address a new error occurs:

Could not find a base address that matches scheme https for the
endpoint with binding MetadataExchangeHttpsBinding. Registered base
address schemes are [].

I tried both ways and both have errors.

Adding an absolute address to metadatabinding gets me this error:

The HttpsGetEnabled property of ServiceMetadataBehavior is set to true
and the HttpsGetUrl property is a relative address, but there is no
https base address. Either supply an https base address or set
HttpsGetUrl to an absolute address.

Using the base address I get this error:

Could not find a base address that matches scheme https for the
endpoint with binding MetadataExchangeHttpsBinding. Registered base
address schemes are [].

Note: I have changed the code above using the base address.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T18:20:50+00:00Added an answer on June 11, 2026 at 6:20 pm

    You have a MEX endpoint with an address that makes WCF think it’s relative, but you haven’t provided a base address. Change the MEX endpoint for example to:

    <endpoint address="https://testsite/_vti_bin/TestingSQL/mex" 
              binding="mexHttpsBinding" 
              contract="IMetadataExchange"/>
    

    Either that, or specify a BaseAddress and use that on your endpoints.

    In addition, you may want to tweak the serviceMetaData element, specifically the httpsGetUrl.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry if this question has already been answered elsewhere. I looked through stack overflow
I've been through quite a number of articles on Stack Overflow that answered the
I have been reading up on File's Owner here on Stack Overflow and a
Inspired by this earlier stack overflow question I have been considering how to randomly
So I have a nasty stack overflow I have been trying to track down
I've been digging through Stack Overflow as well as a number of Google searches,
Ok this is my first post on Stack Overflow I have been reading for
I have been through every option to try to find a way to get
I have been through the Apple Developer guides and tutorials and I been through
I have been through numerous similar questions on this forum but my issue still

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.