[jboss-user] [JBossWS] - Is it possible to set timeout on the server instead of clien
hstang
do-not-reply at jboss.com
Wed Aug 12 12:20:29 EDT 2009
Hi everyone,
I searched the forums here and I noticed that other developers are inserting the kind of code:
| BindingProvider provider = (BindingProvider) somePort;
| provider.getRequestContext().put("org.jboss.ws.timeout", 120);
|
to configure the timeout for the client.
But is there a way to set the default timeout setting on the JBossWS side so that *any* potential web service client(outside of java) can assume a default timeout setting?
I'm trying to implement a long-running-web-service that could take a long time to finish (possibly 10 minutes?) and I would like to hold that connection long enough so that a response will get back the client.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249269#4249269
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249269
More information about the jboss-user
mailing list