REQUEST_RESULT (for a service)
This REQUEST_RESULT
element specifies the number of seconds the GAS waits for the DVM
to respond to pending transactions.
Syntax
<REQUEST_RESULT>seconds</REQUEST_RESULT>
- seconds specifies the number of seconds to wait for a response from a transaction request.
Child elements
There are no child elements.
Usage
You use the REQUEST_RESULT
timeout to provide information to the user when a
Web service transaction is taking longer than expected. It specifies the number of seconds to wait
for the DVM to respond to the GAS, after which the GAS sends an HTTP 400 error page to the front-end
to inform the user that the request has taken too long to fulfill.
The front-end cannot recover from a HTTP 400 error page, and any Web service client application must send a new request.
Usage example for Web service
<REQUEST_RESULT>60</REQUEST_RESULT>
In this usage example, the REQUEST_RESULT
timeout is set to 60 seconds. It is
referenced by the GWS proxy to release the DVM in charge of a service that
has not responded in the given time frame.
REQUEST_RESULT
timeout is not set (the default), the GWS proxy never releases the DVM and will wait until DVM responds to the request.