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

The Archive Base Latest Questions

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

when I setup the wcf service on a web server, I set the end

  • 0

when I setup the wcf service on a web server, I set the end point address as

<endpoint address="http://www.mydomin.com/clientname/happy.svc" 
              binding="basicHttpBinding" 
              name="happysvcbasic" 
              contract="happysvc.Ihappysvc">

</endpoint>

but when type in above address on a browser, I get a different host name, which is the internal server name, such as,

To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:

svcutil.exe http://internalservername.domain/clientname/happy.svc?wsdl

I tried to add the host/baseaddress tag, but make no difference, what I missed? thanks for help.

  • 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-14T06:33:36+00:00Added an answer on May 14, 2026 at 6:33 am

    When you host via IIS your service in IIS the address is always relative. Assuming you want to achieve something with your endpoint remove the http://

       <endpoint address="clientname" 
    

    And then your endpoint would be
    http://localhost/virtualdirectory/happy.svc/clientname

    The use for this is when you are exposing multiple endpoints, as each endpoint has to have a unique address.

    See or This for more information.

    If you are trying to setup a different dns address for your service you need to change the way you have hosted your website and use host headers.

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

Sidebar

Related Questions

Problem: I have a WCF service setup to be an endpoint for a call
I'm trying to get a WCF service set up on our server using windows
I’m calling a web service via WCF (w/ .NET 4.0) that requires basic HTTP
I've set up a WCF web service to be called from my web site.
What's the most common/best way to setup a WCF service project and applications? Here's
I have a WCF service setup to control a USB fingerprint reader from our
I am trying to set up a streaming WCF service using basicHttpBinding. The service
My web appkication has the following set up.. WCF application hosted on IIS7 Basic
I'm hosting a WCF service in IIS7 on Windows Server 08, sp2. The service
We have a .NET 3.5 Web Service ( not WCF) running under IIS. It

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.