SERVICE_APPLICATION_TIMEOUT_COMPONENT
The SERVICE_APPLICATION_TIMEOUT_COMPONENT
element creates a set of
timeout values to be used when configuring a web service.
Syntax
<SERVICE_APPLICATION_TIMEOUT_COMPONENT Id=component-id>
[
<DVM_AVAILABLE>...</DVM_AVAILABLE>]
[
<KEEP_ALIVE>...</KEEP_ALIVE>]
[
<REQUEST_RESULT>...</REQUEST_RESULT>]
</SERVICE_APPLICATION_TIMEOUT_COMPONENT>
- component-id is the unique identifier for this set of timeout definitions.
Child elements
The
SERVICE_APPLICATION_TIMEOUT_COMPONENT
element may contain the following
child elements:- Zero or one
DVM_AVAILABLE
element. - Zero or one
KEEP_ALIVE
element. - Zero or one
REQUEST_RESULT (for a service)
element.
Usage
You use this element to provide your web service with a base set of time-out parameters. Timeouts
provide a mechanism to the Genero Application Server (GAS) or web service to react to time-based
events; such as user inactivity, or the time it takes to start a new application. Each timeout
element specifies the number of seconds to wait prior to having the GAS perform the task related to
the timeout event.
Important:
When configuring this setting, you must ensure it is less than the Common Gateway Interface (CGI) timeout of the web server you are using.
You can use this element within the COMPONENT_LIST
element
of the GAS configuration file to define timeout components that can be referenced by
Id
when configuring an application; providing a set of timeout values for the
application.
Usage example
<SERVICE_APPLICATION_TIMEOUT_COMPONENT Id="cpn.ws.timeout.set1">
<DVM_AVAILABLE>$(app.timeout.dvmavailable)</DVM_AVAILABLE>
<KEEP_ALIVE>360</KEEP_ALIVE>
<REQUEST_RESULT>45</REQUEST_RESULT>
</SERVICE_APPLICATION_TIMEOUT_COMPONENT>
In this example, the Id
value - "cpn.ws.timeout.set1" - can be referenced when
defining a web service in the SERVICE_LIST
. The settings defined by that component
are inherited.
Parent elements
This element is a child of the COMPONENT_LIST
element.