Endpoint address in generated WSDL doesn't reflect virtualHost in @WebContext

Solution Verified - Updated -

Issue

  • How can I make the host name in the <soap:address> element of my published WSDL match the host name in the virtualHost attribute of my endpoint's @WebContext annotation?
  • My JBoss server is hosted behind a load balancer or proxy server. This means the internal JBoss server has a different host name than the external-facing proxy server. How can I make my WSDL's <soap:address> use the external address?

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 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