com.WebServiceEngine.ProcessServices

Specifies the wait period for an HTTP input request, to process an operation of one of the registered Web Services.

Syntax

com.WebServiceEngine.ProcessServices(
   timeout INTEGER )
  RETURNING status INTEGER
  1. timeout is the timeout in seconds.

Usage

The com.WebServiceEngine.ProcessServices() class method specifies the wait period for an HTTP input request, to process an operation of one of the registered Web Services.

The timeout parameter defines the wait period for an HTTP input request, to process an operation of one of the registered Web Services. The value -1 specifies an infinite waiting time.

The status returned by the method provides information about the execution of the last web operation. A return status of zero means OK. For a complete list of error codes, see Error codes of com.WebServicesEngine

The execution status is typically handled in a CASE / END CASE block, to treat all possible execution cases. For a complete example of execution status handling, see Process the requests.

Note: If the com.WebServiceEngine.Flush() method is used, the return status handling must be done in the web operation function, while com.WebServiceEngine.ProcessServices() will return the code -31, to indicated that a flush was done.