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 6585489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:40:12+00:00 2026-05-25T16:40:12+00:00

The endpoint at ‘http://localhost:8731/Design_Time_Addresses/WCF/WCFService/’ does not have a Binding with the None MessageVersion. ‘System.ServiceModel.Description.WebHttpBehavior’

  • 0
The endpoint at 'http://localhost:8731/Design_Time_Addresses/WCF/WCFService/' does not have a Binding with the None MessageVersion.  'System.ServiceModel.Description.WebHttpBehavior' is only intended for use with WebHttpBinding or similar bindings.

This is the error I get when I try to the start my WCF service. I have read over every post here about binding errors, but they are all a little different and I can’t figure it out. Here is my app.config:

<system.serviceModel>
    <services>
      <service name="WCF.WCFService">
        <endpoint address="" binding="wsHttpBinding" contract="WCF.IWCFService">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <endpoint
          address="mex"
          binding="mexHttpBinding"
          bindingConfiguration=""
          contract="IMetadataExchange"/>
        <host>
          <baseAddresses>
            <add baseAddress="http://localhost:8731/Design_Time_Addresses/WCF/WCFService/" />
          </baseAddresses>
        </host>
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <serviceMetadata httpGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="true" />
        </behavior>
      </serviceBehaviors>
      <endpointBehaviors>
        <behavior>
          <webHttp />
        </behavior>
      </endpointBehaviors>
    </behaviors>
  </system.serviceModel>

I am hosting my WCF service within a windows service if that makes a difference. MY End goal is to use a winforms application to consume the WCF service. When I run just the WCF service within VS, it works, but when I add the config to the windows service app.config and try to start the WCF service with it, I get the error. Any help would be great.

  • 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-05-25T16:40:13+00:00Added an answer on May 25, 2026 at 4:40 pm

    The exception informs you that your endpoint behavior is not compatible with your binding (wsHttpBinding).

    Remove the <webHttp /> from the endpoint behaviour or use WebHttpBinding instead of wsHttpBinding.

    Use the WebHttpBinding if you want to configure endpoints for web services that use HTTP requests instead of SOAP messages. The WebHttpBehavior (<webHttp />) enables this programming model when used together with WebHttpBinding (or a compatible one).

    And that’s the problem. This behavior is not compatbile with your chosen binding (wsHttpBinding).

    You should also name your endpoint configuration:

    <endpointBehaviors>
        <behavior name="WebHttp">
            <webHttp />
        </behavior>
    </endpointBehaviors>
    

    And use the name to link it to the service’s endpoint:

    <endpoint address="" binding="wsHttpBinding" contract="WCF.IWCFService" 
              behaviorConfiguration="WebHttp"/>
        <identity>
            <dns value="localhost" />
        </identity>
    </endpoint>
    

    This makes sure that your service’s endpoint uses the behavior specified by the WebHttp endpoint behavior (webHttp). Right now you didn’t name it, so the mex endpoint also gets this behavior. This is not needed. Just use mexHttpBinding for the mex endpoint, but do not link it to the same behavior as the service.

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

Sidebar

Related Questions

I have the following WCF endpoint configuration: <service behaviorConfiguration=MyNamespace.ContainerManagementServiceBehavior name=MyNamespace.ContainerManagementService> <endpoint address= binding=basicHttpBinding name=ContainerManagementbasicHttpEndpoint
I have WCF endpoint exposed as defined bellow, <service name=MyApp.Server.Endpoint.Orange behaviorConfiguration=MyTio.Server.Endpoint.OrangeBehavior> <endpoint address= binding=basicHttpBinding
In order not to flood the remote endpoint my server app will have to
I have a wcf webHttp endpoint and noticed today that when called httpGet with
When a WCF 3.5 REST endpoint (via WebServiceHost ) handles a URI request, does
I have a WCF service currently using a TCP endpoint. Rather than create a
I have a WCF endpoint and I have setup my URI Template as such:
I have a WCF client that is calling an arbitrary SOAP endpoint in which
I have an endpoint that has a message handler which does some FTP work.
WCF: Why does passing in a remote endpoint fail when passing the same endpoint

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.