You can set the endpoint address using BindingProvider.ENDPOINT_ADDRESS_PROPERTY
Something like this should work for you.
((BindingProvider)stub).getRequestContext().put(
BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "...");
[Message sent by forum member 'raharsha' (raharsha)]