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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:21:34+00:00 2026-05-28T02:21:34+00:00

This should be a straightforward question. I am unable to connect to a specific

  • 0

This should be a straightforward question.

I am unable to connect to a specific endpoint using WCFTestClient tool. I have a service config. like this:

<service name="CO.Services.SvcTest">
        <endpoint address="ep1" binding="basicHttpBinding" bindingConfiguration=""
          bindingNamespace="http://api.CO.com/Services/Tester/ep1"
          contract="CO.Services.ISvcTest" />
        <endpoint address="ep2" binding="basicHttpBinding" bindingConfiguration=""
          bindingNamespace="http://api.CO.com/Services/Tester/ep2"
          contract="CO.Services.ISvcTest_v2" />
        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration=""
          name="" contract="IMetadataExchange" />
      </service>

If I pass ‘http://localhost:2659/Tester.svc/ep1‘ or ‘http://localhost:2659/Tester.svc/ep2‘ I get “Cannot obtain Metadata from…” but if I pass ‘http://localhost:2659/Tester.svc it works and shows me both endpoints.

Does anyone know what am I missing?

EDIT1: Is this even possible?

  • 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-28T02:21:35+00:00Added an answer on May 28, 2026 at 2:21 am

    That’s the correct behavior.

    In WCF a service’s metadata is served at the service’s base address by default.

    If you’re hosting your service in a custom process, you can customize the URL of the base address or even add new ones using the baseAddresses configuration section. If you’re hosting the service in IIS, which seems to be your case, then the base address is always the URL of the .svc file.

    EDIT:
    If you want two completely separate endpoints, then you will have to create two service implementations, one for each contract, and configure them with different elements in your configuration file. As long as the endpoints are part of the same service, you will only be able to retrieve the metadata from the service’s base address, which in your case is the URL of the .svc file.

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

Sidebar

Related Questions

It seems like this should be straightforward but I'm boggling. I've got my listview
This should be pretty straightforward I would think. I have this string: [quote=Joe Johnson|1]Hi![/quote]
This should be a straightforward question, but I haven't found a clear answer yet.
This should be a fairly straightforward question, but I haven't been able to find
Hopefully this should be a fairly straightforward question, I just don't know enough about
This seems like a fairly straightforward question, but I couldn't find this particular use-case
Not sure what the correct title for this question should be. I have the
This should be a pretty straightforward classes and interfaces question, but please bear with
This should be a fairly common question, but I haven't found a straightforward answer
This question should be quite straightforward, maybe stupid but I just can't find the

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.