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 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.