I was wondering if any discoveries have been made on this post. I had attempted similar code in the 3.0.2 GA release of jbossws and also could not get the timeout to occur. Really, what is needed is to have the socket throw and exception if the response does not come back in an acceptable time frame.
Thank you for any help and it would be greatly appreciated.
In fact I have found a simple solution to this problem. Try setting
properties of the JVM (both values are in milliseconds). It works for me. And I'm still using
((BindingProvider)port).getRequestContext().put(StubExt.PROPERTY_CLIENT_TIMEOUT, new Integer(500));as well, because sometimes it is necessery (I think when I can connect to remote side but I don't get any answer for a long time).
Thank you very much. That worked beautifully.