The point here is SAAJ does not define an API for setting the timeout directly 
using the SOAPConnection. So you need to use some kind of proprietary stuff.
Forget about Axis, you can't use it with JBossWS. Take a look at the 
JBossWS-Native (I assume that's what you're using) 
org.jboss.ws.core.client.HTTPRemotingConnection that is used under the hood by 
org.jboss.ws.core.soap.SOAPConnectionImpl (which in turn is the JBossWS-Native 
impl of SOAPConnection).
HTTPRemotingConnection basically receives and endpoint object which can be an 
instance of EndpointInfo. That can contain a properties map including 
org.jboss.ws.timeout property. Setting that, you should be able to basically 
achieve what you get setting the same prop in the request context when 
performing a call through a ws port.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243831#4243831

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243831
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to