SAAJ uses URL.openConnection() eventually.
Can you try the following (JVM options)
-Dsun.net.client.defaultConnectTimeout=<value in milliseconds>
-Dsun.net.client.defaultReadTimeout=<value in milliseconds>
suggested in this thread :
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4143518
from JDK 5 onwards there is
setConnectTimeout(..) API on URLConnection but SAAJ does not make use of this feature currently as there is no standard way in the SAAJ spec to obtain these properties.
If you think appropriate, please file an RFE(P4 bug) on SAAJ at
https://saaj.dev.java.net and then we will evaluate. In the meantime if the above properties work for you then i guess you are fine right ?.
Thanks
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]
http://forums.java.net/jive/thread.jspa?messageID=233032