Step 3: Create a 4GL record for the output parameters

Add another modular 4GL record where all members map to one of your I4GL web service output parameter, and keep the parameter order as defined in I4GL .4cf file.

You must then specify the web service output message name via the Genero XML attribute called XMLName, and assign it to the FUNCTION NAME as defined in the I4GL .xcf file concatenated to response.

For example, in the I4GL zipcode demo there are two parameters: city and state. So add following record at the beginning of the Genero file:
DEFINE zipcode_details_out RECORD ATTRIBUTE(XMLName="zipcode_detailsresponse)
  city CHAR(100),
  state CHAR(100)
  END RECORD
Note: Genero Web Services supports complex data type as output parameters.