Writing a Web Services server application / Writing a Web services server function |
As stated in the introduction, input parameters in Genero Web Service operations are not allowed. However, 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.
DEFINE add_in RECORD a INTEGER, b INTEGER END RECORD