fgl_ws_setOption()

Sets an option flag with a given value, changing the global behavior of the Web Services engine.

Note: This function is valid for backwards compatibility, but is not a preferred way to handle Genero Web Services. See the com package for the preferred classes and methods for handling Web services.

Syntax

fgl_ws_setOption(
   optionName VARCHAR,
   optionValue INTEGER)
  1. optionName is one of the global option flags.
  2. optionValue is the value of the flag.

Example

CALL fgl_ws_setOption("http_invoketimeout",5)

Possible runtime errors

  • -15511: INVALID_OPTION_NAME