The Web Services Extension gives you the ability to log the data your Web Service application is receiving or sending to another application. The data are written to the standard error stream of the console, and can be redirected to a file if needed. To turn on the debugging feature, you have to set the FGLWSDEBUG environment variable before starting the application. The level of debugging depends on the value of the FGLWSDEBUG variable.
Value of the FGLWSDEBUG environment variable:
To debug a Web Service application managed by the Application Server, you have to modify the value of the FGLWSDEBUG environment variable in the Application Server configuration file.
See the Application Server documentation for more details.