How can I update SOAPClient "wsdl" property dynamically?

Solution Verified - Updated -

Issue

  • I am using a SOAPClient to access the outside web services but hostname is to be changed dynamically.
  • Hostname is stored in the database and I need to retrieve it from database and create the web service URL.
  • In this requirement, only WSDL endpoint (hostname) is to be changed. Remaining parts of the WSDL will not be changed.
  • We will be keeping hostnames in the database and ESB needs to call the different hostnames based on the content of the user input.
  • How I can achieve this?

Environment

  • Red Hat JBoss SOA Platform (SOA-P)
    • 5.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.