time out with web services

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

time out with web services

julien.bittard
Hello,

I use the OPS 2.8 with tomcat 5.0.28.

I call several web services. Sometimes I have a time out exception because the web services takes a long time to answer.
It is possible to increase this time ?

thank you.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: time out with web services

Erik Bruchez
Administrator
Julien,

This was not possible, but we created a fix that allows you to specify
the timeout with a "timeout" attribute on the <execute> element. The
attribute specifies a connection timeout in milliseconds. The value must
be a non-negative integer, with the value 0 meaning no timeout. If not
specified, the timeout value is the default timeout of the underlying
web service implementation.

I attach a patch that should work with 2.8 as well. Let us know how that
works.

-Erik

[hidden email] wrote:
> Hello,
>
> I use the OPS 2.8 with tomcat 5.0.28.
>
> I call several web services. Sometimes I have a time out exception because the web services takes a long time to answer.
> It is possible to increase this time ?
>
> thank you.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

ops-2.8-ws_timeout_patch_20051104.jar (32K) Download Attachment