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

  • Home
  • SEARCH
  • 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 8496017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:44:04+00:00 2026-06-10T23:44:04+00:00

I have a console app and WCF service app in a solution. I’d like

  • 0

I have a console app and WCF service app in a solution. I’d like to call the WCF app from the console app. I added a service reference to the console app project and tried to reference the service but its namespace is not found. I’m using VS 2010. Any ideas what I’m doing wrong?

  • 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-10T23:44:05+00:00Added an answer on June 10, 2026 at 11:44 pm

    When you add a Service Reference, it’s not the same as an Assembly Reference.

    When you can add a Service Reference, you don’t necessarily know the inner details of the service. In many cases it won’t be your service, it will be another company’s. A service reference just defines the contracts.

    So you won’t find your service using the namespaces or objects you declared on the service side. Rather, your client is actually defining client-side objects of its own based on the contracts. When you added the reference, you could choose the namespace to add it to.

    In Visual Studio, click on your client project in the Solution Explorer and enable the “Show All Files” option. Then you should be able to navigate through the Service Reference and find the hidden files auto-generated the by the Add Service Reference wizard. You will see which namespace it’s declared in by inspecting those files.

    enter image description here

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

Sidebar

Related Questions

So I have wcf rest service which succesfuly runs from a console app, if
I have a VS2010 (RTM) solution which contains: WCF Service project Console WCF client
I have a WCF service deployed in a console app with BasicHTTPBinding and SSL
I have a simple WCF service hosted in a console app and what I
I try to consume WCF service in Silverlight project but in ass Reference dialog
I have hosted a WCF service in windows service. I have console app for
I have a few WCF services I am calling from a console app. I
I have a simple console app that calls a WCF service over net.tcp and
I have a Self-Hosted (Console App) WCF REST service with the following binding: WebMessageEncodingBindingElement
When calling a WCF service from a console app, asp.net app, wpf/winform app, you

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.