How can one dynamically change the soap:address and also the wsdl:import 'location' in wsdl using JBossWS-CXF ?

Solution Verified - Updated -

Issue

  • Need to set a different host name and a port number in the wsdl then what is used as the default.
  • Alongwith changing these, the 'location' parameter must also be modified dynamically with these above changes when JBossWS-CXF generates the wsdl file.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0.0
    • 6.0.1
  • JBossWS-CXF

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.