How do I set the timeout for a JAX-WS webservice client?
I know this is old and answered elsewhere but hopefully this closes this down. I’m not sure why you would want to download the WSDL dynamically but the system properties: sun.net.client.defaultConnectTimeout (default: -1 (forever)) sun.net.client.defaultReadTimeout (default: -1 (forever)) should apply to all reads and connects using HttpURLConnection which JAX-WS uses. This should solve your problem … Read more