Hello I'm using a JaxWsPortProxyFactoryBean (from Spring framework) to access a web-service. I would like to change the timeout of the http queries I'm sending. Is there a way to do this?
Thank you by advance for any help
Hello I'm using a JaxWsPortProxyFactoryBean (from Spring framework) to access a web-service. I would like to change the timeout of the http queries I'm sending. Is there a way to do this?
Thank you by advance for any help
Looks like there is a way as per the documentation of JaxWsPortProxyFactoryBean it has a the following method
addCustomProperty(String name, Object value)
Use JAXWSProperties.CONNECT_TIMEOUT or "com.sun.xml.ws.request.timeout" appropriately.
Check: https://jax-ws.dev.java.net/guide/HTTP%5FTimeouts.html