Debugging

The Genero Web Services gives you the ability to log the data your Web Service application is receiving from or sending to another application. The data is written to the standard error stream of the console; if needed, it can be redirected to a file. To turn on the debugging feature, set the FGLWSDEBUG environment variable before starting the application. The level of debugging depends on the value set for the FGLWSDEBUG variable.

You can set the FGLWSDEBUG environment variable using the values defined in the following table:

Table 1. FGLWSDEBUG variable values
Value Definition
0 No data displayed; debug turned off.
1 Display socket errors.
2 Display incoming and outgoing XML requests.
3 Display incoming and outgoing requests.