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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.