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 result 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.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.

A human-readable description of the error code is available in the SQLCA.SQLERRM register

The result code returned by the method provides additional information about the execution status.

You may also check the wsError variable and its description in case of error, and stop the program if needed.