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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T06:26:14+00:00 2026-05-19T06:26:14+00:00

I created WCF service (last year) that is consumed by Silverlight application and it

  • 0

I created WCF service (last year) that is consumed by Silverlight application and it doesn’t have metadata (doesn’t have IMetadataExchange endpoint).

Now I need WCF service to be consumed by windows console application and I can’t add reference to service. I click ‘Add Service’ discover solution’s services, selected ‘required’ service and clicked ‘Ok’ button.

Instead of service reference created I got the following error:

The HTML document does not contain Web
service discovery information.
Metadata contains a reference that
cannot be resolved:
‘http://localhost/EnrollmentService.svc’.
There was no endpoint listening at
http://localhost/EnrollmentService.svc
that could accept the message. This is
often caused by an incorrect address
or SOAP action. See InnerException, if
present, for more details. The remote
server returned an error: (404) Not
Found. If the service is defined in
the current solution, try building the
solution and adding the service
reference again.

Should I work on adding metadata support for WCF service or it should be another solution?

Please advice.

  • 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-19T06:26:16+00:00Added an answer on May 19, 2026 at 6:26 am

    You can use a WCF Service without exposing metadata.

    Metadata is used to generate a proxy by Visual Studio or any other tool. So, in case you don’t expose metadata, you are going to have to create/write these proxy classes yourself.

    As long as you use correct service address and right data contracts, you are good to go.

    Accessing WCF service without creating Proxy

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

Sidebar

Related Questions

We have created a WCF service hosted in a windows service that handles Authentication
How to update WCF service reference dynamically in silverlight ? Suppose I have created
I have created a WCF service with some endpoints(with mex endpoint). If i create
I have created a WCF service, now this WCF service has to call a
I have created WCF service in project. Now using Jquery I am successfully able
I’ve created a winform application that communicates with a WCF service. The winform displays
I have created a WCF service that uses windows authentication and would like to
We have created a WCF RESTful service for a WPF(UI) Application. The UI sends
I created a WCF service that uses TagLib# ( http://developer.novell.com/wiki/index.php/TagLib_Sharp ) which relies on
I created a WCF service (.NET 3.5) that grabs data from a db and

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.