Hi-
One of my components is implemented as a distributed web service under
Tomcat/Axis2. Currently the IP address of this service is hardcoded in my
.composite XML file passed to SCADomain.newInstance. A problem we're trying
to figure out is how to handle this when that IP address has to change? It
might change for a number of reasons..the original machine is down and
another has to fulfill the request, load balancing, or because of some other
routing criteria we might employ. Is there any clean way in SCA to handle
this? E.g. handling dynamic IP addresses in the composite file? The only
options I've come up with are a bit of a hack...programmatically altering
the XML composite file with the new IP address before loading it in, or
traversing the Component/ComponentReference/Binding lists post-load and
finding the proper binding and doing a setURI with the new IP.
thanks,
Dean.