SERVICE_APPLICATION_TIMEOUT_COMPONENT

The SERVICE_APPLICATION_TIMEOUT_COMPONENT element creates a Web service application timeout component, which define a set of timeout values to be used when configuring a Web service. It takes an attribute Id, which specifies the unique identifier for this set of timeout definitions. It is this unique identifier that is referenced by a Web service, providing that Web service with a base set of timeout values.

The GAS handles the Web Services Server side. It takes care of the DVM requested by a Web Services client.

Syntax

<SERVICE_APPLICATION_TIMEOUT_COMPONENT Id="sTimeOutID">
  <DVM_AVAILABLE>dvmTimeOut</DVM_AVAILABLE>
  <KEEP_ALIVE>dvmKeepAliveTimeOut</KEEP_ALIVE>
  <REQUEST_RESULT>requestTimeOut</REQUEST_RESULT>
</SERVICE_APPLICATION_TIMEOUT_COMPONENT>

Child elements

The SERVICE_APPLICATION_TIMEOUT_COMPONENT element may contain the following child elements.

  1. Zero or one DVM_AVAILABLE element.
  2. Zero or one KEEP_ALIVE element.
  3. Zero or one REQUEST_RESULT (for a service) element.

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_TIMEOUT_COMPONENT>

In this example, the Id value - cpn.ws.timeout.set1 - can be referenced when defining a Web service. When a Web service references a component by its Id value, it inherits the settings defined by that component.

Important: 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.

Parent elements

This element is a child of one of the following elements: COMPONENT_LIST