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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:38:45+00:00 2026-05-25T00:38:45+00:00

I have a WCF Service (with installer) that I have built and installed in

  • 0

I have a WCF Service (with installer) that I have built and installed in Windows Services. Opened up Admin Tools, Services, and started the service without a problem.

So now I’m beginning a new project (a simple Windows forms app). I want to consume my new WCF, but have no idea how. I can’t seem to add a reference / add a service reference to it.

Any help would be greatly appreciated.

Thanks,
Jason

  • 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-25T00:38:45+00:00Added an answer on May 25, 2026 at 12:38 am

    When the Windows service hosting your WCF service is up and running and properly configured, you should be able to use either Visual Studio’s Add Service Reference or the command-line svcutil tool to connect to that service.

    Just type in the address where the service lives.

    This requires that your service has metadata exchange enabled (as a service behavior) as well as provides at least one MEX (Metadata Exchange) endpoint in its config. Do you have those available??

    Service behavior:

    <behaviors>
       <serviceBehaviors>
           <behavior name="mex">
               <serviceMetadata />
           </behavior>
       </serviceBehaviors>
    </behaviors>
    

    and then your service must reference this configuration.

    Service config:

    <services>
        <service name="YourService" 
            behaviorConfiguration="mex">  <!-- reference the service behavior with the serviceMetadata element ->
            <endpoint .... (your regular endpoint here)  />
            <endpoint name="mex"
                address="mex"
                binding="mexHttpBinding"
                contract="IMetadataExchange" />
        </service>
    </services> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a stack of WCF services installed on a Windows 2008 R2 Standard
I have a WCF service installed on IIS7. I noticed that the first call
I have a WCF service that is running as a windows service. As soon
I have a WCF service hosted in a Windows service that I set to
I have a application written in C#, installed as a [WCF] windows service, which
I have a windows service that opens a WCF endpoint for client connections. This
I have a windows service that exposes a TCP connection (using WCF). This service
I have a Windows Service that is exposing a WCF service thru a net.tcp
I have a WCF service that accesses a SQL database to fetch data .
I have a WCF service that I need to call in a ASP.NET web

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.