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)
Thanks for your reply but i solved that problem using Jboss ESB's internal HTTP
router class: org.jboss.soa.esb.actions.routing.http.HttpRouter
One can send soap messages with it as well, and set connection/socket Timeouts
(http properties) etc as well.
Thanks.
View the original post :