I am building a service that talks to multiple devices using SOAP over https. These devices expose the same webservice API (same wsdl). New devices can be added to this scheme any time at runtime.
I need to dynamically query each of these devices and any that may be added in the future. Each of these devices have a self signed certificate for ssl. The service that I am building needs to be implemented using Spring Integration.
Given the above I have two main questions:
- In Spring Integration how can I, dynamically at runtime, assign the service uri.
- How do I trust all the certs.
Any help would be greatly appreciated.