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