com.WebOperation.addOutputHeader

Adds an output header for the current Web Operation definition.

Syntax

addOutputHeader(
   header any-type  )
  1. header defines the program variable that has details for the header. The any-type can be any Genero BDL variable type: RECORD, ARRAY, or simple data type.

Usage

This method adds a header to the Web Operation object for input parameters.

In case of error, the method throws an exception and sets the status variable. Depending on the error, a human-readable description of the problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (status).