How can I update SOAPClient "wsdl" property dynamically?
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.