It would be nice to have an easy way to set the reference endpoint at runtime for every call.
- To allow to configure different endpoint per environment, so there is no need to recompile the application or use System.property to set endpoints.
- To allow a service to invoke different endpoints depending on a "logic" in a component.
- To provide with greater flexibility on service creation.
For this, an option could be to provide hook points in the OutboundHandler so the endpoint for the ServiceReference that has been set-up through the configuration can be obtained from some other place.