 <p>This is covered in the <a href="https://jax-ws.java.net/2.2.10/docs/ch05.html#section-jaxws-faq6" rel="nofollow noreferrer">FAQ</a> of JAX-WS:</p> <blockquote> <p><strong>Q. How can I change the Web Service address dynamically for a request ?</strong></p> <pre><code>((BindingProvider)proxy).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "..."); </code></pre> </blockquote>