A
Ale
Hello,
I've a client calling a web service method (using JAX-WS), which
randomically doesn't receive any answer or error, or exception, so
that client waits forever without dying.
I can't touch the web service code, but I can add a client timeout;
the issue is that using these props
System.setProperty("sun.net.client.defaultConnectTimeout", "300000");
System.setProperty("sun.net.client.defaultReadTimeout", "300000");
it doesn't work because they only deal with network connection (which
of course doesn't disconnect)
Any suggestion ?
Thanks a lot,
Ale
I've a client calling a web service method (using JAX-WS), which
randomically doesn't receive any answer or error, or exception, so
that client waits forever without dying.
I can't touch the web service code, but I can add a client timeout;
the issue is that using these props
System.setProperty("sun.net.client.defaultConnectTimeout", "300000");
System.setProperty("sun.net.client.defaultReadTimeout", "300000");
it doesn't work because they only deal with network connection (which
of course doesn't disconnect)
Any suggestion ?
Thanks a lot,
Ale