Can anyone give a hint how to set separate connect and read timeouts when calling external webservice from JBossWS-Native client?
All I’ve found so far is how to set a single timeout:
bindingProvider.getRequestContext().put("org.jboss.ws.timeout", 1000);
The same question (unanswered for a long time) on JBoss forum:
http://community.jboss.org/thread/103582
Vesions in use: jbossws-native-2.0.1.SP2 and jbossws-native-3.1.1.GA on JBoss 4.2.x.
Examined the source – it’s not possible at all. There’s single timeout.
Went to jbossws jira willing to file a feature request.
But found JBWS-3114 and this message:
Rechecked the source – it’s there!
Unfortunately, according to compatibility matrix, jbossws-3.4.0 is supported only since JBoss AS 5.0.1.