setEndpoint('endpoint') on JAX-WS

I have been so used to the simple way to overwrite the URL endpoint you get from the WSDL location with the Oracle's JAX-RPC client proxy, that I have to remember it's that easy on JAX-WS based proxy:

URL endpointUrl;

((BindingProvider)port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
endpointUrl.toExternalForm());

Some reading and video to watch, while your are waiting for your commit,merge, or other integration task to complete: Linus Torvalds on GIT and SCM.

My recent YouTube watch:
Head tracking: http://www.youtube.com/watch?v=Jd3-eiid-Uw
Décompte des manifestants: http://www.youtube.com/watch?v=zFYGxSfVoyU
Blue-ray: http://www.youtube.com/watch?v=eiI-z87Hmlk http://www.youtube.com/watch?v=friS4OOcdgQ
Mergers: http://www.youtube.com/watch?v=cOlznuyPOeM

Comments

Popular posts from this blog

Changing the version of JDK used by JDeveloper

Connection reset from a WCF Web Service

Test locally first, then deploy to the cloud.