Define the output parameters
Define the output message of the Web function.
Even though output parameters in Genero Web functions are not allowed, 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.