How to change end point address but not wsa:to
I have a web service client generated from a wsdl using jax-ws.
The serivice runs on a service bus and the wsdl is not available at runtime.
So I need to provide the local wsdl while creating a service and then,
provide the acutal end point using BindingProvider.ENDPOINT_ADDRESS_PROPERTY
**My problem is, when I set this property in the binding provider's context, the wsa:to element is also set to this URL,**
I want only the end point to change, but the wsa;to element should remain what is there in the wsdl.
Any suggestions how to go about this?