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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:12:43+00:00 2026-06-07T03:12:43+00:00

I have a problem as stated in the header. Some backgroun information. There’s a

  • 0

I have a problem as stated in the header. Some backgroun information.

There’s a URL like this https://external_server.something.xy/SomeService/Something which is exposed to the outside world through reverse proxy.

  • The reverse proxy peels off the HTTPS and forwards the traffic to the
    WCF service as plain HTTP and applies HTTPS to the response.
  • The binding is basicHttpBinding (with <transport clientCredentialType="Basic" proxyCredentialType="None" realm="" />).

For this and some contractual reasons a static WSDL file (Something.wsdl) is distributed to clients. Alas, still there’s a lot of code out there that retrieves the WSDL without the distributed static WSDL file and then generating the calls dynamically (for whatever reason).

If I set in the configuration file like <serviceMetadata httpGetEnabled="true" externalMetadataLocation="../Something.wsdl"/> the customer will be welcomed with a HTTP 307 Temporary Redirect.

In any event, with some research I have found that setting IIS host headers would, I believe, affect many other applications too on the same IIS. This is a no-go solution. Is there something I can configure in the web.config or should I investigate URL Rewriting schemes either on the server or on the reverse proxy?

As an added bonus would be, if I could set the URL shown on the help page so it doesn’t show the internal server (so that the link would work, too!).

  • 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-07T03:12:45+00:00Added an answer on June 7, 2026 at 3:12 am

    To answer my own question I (or we) re-wrote the request on reverse proxy, so it’s transparent for the clients and for the internal server. Now it intercepts metadata queries to this service and points them to the static WCF file (through the URI which shows in the help page), which is then just returned.

    The problem was that when I used the externalMetadaLocation tag, IIS returned HTTP 307, which the reverse proxy then relayed to the client. Of course the internal server didn’t know about the external address, so the redirect was with the internal name and hence the problems.

    The other option I was thinking was to write a REST function that would match the Something?wsdl part of the web service, thus it wouldn’t have reached the WCF metadata facilities. After contemplating that for a whle, I became to think about using IWsdlExceportExtension to do the job of receiving the request and then just grabbing the file and returning it (that is, without redirect).

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

Sidebar

Related Questions

I have started working on some algorithm problems when I saw a problem asking
Here is the problem: I have to change header of WAVE file, to be
I have no idea why this is happening; some Google searches have led me
I appreciate any help I can get with this problem: I have 2 search
Edit: This question looks like it might be the same problem, but has no
I have run into this problem in my Codeigniter app: A PHP Error was
I have a web-page that looks like this (simplified example) <table id=events_results_table> <thead> <tr>
I have a .js.erb file in my assets directory. This reads some locale specific
I have problem pertaining to the maintaining state of the particular @Request scope bean.
I just started a graphical C++ course and I have problem getting an overview

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.