[jboss-user] [JBossWS] - Re: sending Soap message with timeout

2009-07-15 Thread alessio.sold...@jboss.com
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=bbop=viewtopicp=4243831#4243831

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243831
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: sending Soap message with timeout

2009-07-15 Thread sbutt
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 : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243839#4243839

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243839
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user