Is there a way to use "X-Forwarded-Host" header to rewrite <soap:address> in WSDL for JBoss WS?

Solution Unverified - Updated -

Issue

  • We are setting the <wsdl-host> to "jbossws.undefined.host" in standalone.xml in order to rewrite <soap:address> in WSDL with the requester's host. With this setup, if the "Host" header is specified in the request <soap:address> is rewritten to that value.
  • However, in our network the value of "Host" header is modified by a router in between, so we would like to use "X-Forwarded-Host" instead of "Host" for the <soap:address> rewrite.
  • Is there any way to use "X-Forwarded-Host" instead of "Host" to rewrite <soap:address> in WSDL for JBoss EAP?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content