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
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
The REQUEST_RESULT timeout for a web service is not set by default. This means the GWS proxy never releases the DVM and will wait until the DVM responds to the request.
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>10</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. The timeout elements defined within the application's configuration, override the
inherited ones.
Parent elements
This element is a child of the COMPONENT_LIST
element.