Define the output parameters

Output parameters in Genero Web Functions are not allowed, but each Web Function can have one global variable or module variable that defines the output message of the function. This message must be a record where each field represents one of the output parameters of the Web Function.

The name of each field corresponds to the name used in the SOAP request. These fields are retrieved from the Web Services engine immediately after executing the BDL function, and sent back to the client.

Example

DEFINE add_out RECORD
  r INTEGER
END RECORD
Note: GWS 2.0 allows you to add optional attributes to the definition of data types. You can use attributes to map the BDL data types in a Genero application to their corresponding XML data types. See Attributes to Customize XML Mapping for additional information.