2

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

Laurent K
  • 3,503
  • 3
  • 30
  • 36
  • 1
    That's going to be configured way below the level of Spring, I'm guessing, and be done in the guts of the JAX-WS implementation. – skaffman Sep 07 '09 at 13:57

1 Answers1

0

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_Timeouts.html

Riduidel
  • 22,052
  • 14
  • 85
  • 185
shivaspk
  • 610
  • 4
  • 11
  • I did find this page too, but not the String value of the property. Where did you find it? In which version of which JAXWS library is this property defined? Thanks for your help. – Laurent K Sep 11 '09 at 09:34