Define the input parameters

Define the input message of the Web function.

Even though input parameters are not allowed in Genero Web Service operations, each Web function can have one global variable or module variable that defines the input message of the function. This variable must be a record in which each field represents one of the input parameters of the Web function.

The name of each field corresponds to the name used in the SOAP request. These fields are filled with the contents of the SOAP request by the Web Services engine just before executing the corresponding BDL function.

Example

DEFINE add_in RECORD
  a INTEGER,
  b INTEGER
END RECORD
Note: Genero version 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.