0

I'm using JAX-WS and Spring to create a webservice client from a given WSDL. The JaxWsPortProxyFactoryBean is quite easy to configure if you have the WSDL and know the enpoint address up front. But now I want to set the enpoint address dynamically at runtime because it isn't know at the startup of the application. Does anybody know if and how this can be done with the JaxWsPortProxyFactoryBean?

Gert-Jan
  • 752
  • 1
  • 8
  • 21
  • See http://stackoverflow.com/a/2490895/116509 – artbristol Aug 10 '12 at 07:56
  • Thanks, that worked. I can cast my service to BindingProvider and then set the value for ENDPOINT_ADDRESS_PROPERTY. It only seems a bit clumsy for such a common situation. – Gert-Jan Aug 10 '12 at 11:30

0 Answers0