com.WebService.registerInputHTTPVariable

Registers the record variable for HTTP input.

Syntax

registerInputHTTPVariable(
   http-in http-in-type )
  1. http-in is the HTTP input record variable.
  2. http-in-type must be a RECORD with following structure:
    RECORD
      verb  STRING,
      url   STRING,
      headers DYNAMIC ARRAY OF RECORD
        name  STRING,
        value  STRING
      END RECORD
    END RECORD

Usage

The registerInputHTTPVariable() method registers a program variable with a specific structure, that will be filled with the HTTP request headers when a Web Operation arrives.

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