Time out Webservice

Time out Webservice

I am exposing some resful webservices. Is there way to have them timout if execution takes longer than 30 seconds? Right now it will take nearly 4.5 minutes to timeout. 
Hi Thomas,

Good point, in fact there's no reference for REST timeout in Documentation ( Consuming REST APIs / Exposing REST APIs) neither in forums discussions (www.outsystems.com/goto/timeouts-guide), at least i couldn't find.

Since REST API it's implemented via HTTP, i would say that is defined by httpRuntime executionTimeout.

In the begin of the request you can 'SetRequestTimeout' method of HttpRequestHandler (extension) in order to set the timeout of the current HTTP request.

Let us know if it worked for you!

Best regards.
Daniel Martins