Is there a way to use "X-Forwarded-Host" header to rewrite <soap:address> in WSDL for JBoss WS?
Issue
- We are setting the
<wsdl-host>
to"jbossws.undefined.host"
instandalone.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.