On Wed April 29 2009 12:40:02 pm Valerio Schiavoni wrote: > hello, > assume you have generated via the cxf-codegen-plugin client stubs from > a given wsdl. > This wsdl specify the URI toward which requests must be directed. > > Given the instances of those classes, is it possible to 'redirect' the > requests to a different URI?
Yep. The JAX-WS spec requires this. There is a BindingProvider.ENDPOINT_ADDRESS_PROPERTY key that can be set into the request context to have it send to a different URL. Dan > This is useful in cases where you can't use dynamic clients (i.e. SCA > runtimes where explicit specs for dynamic clients are not given). > > Thanks, > valerio -- Daniel Kulp [email protected] http://www.dankulp.com/blog
