Compiling GWS server applications

When compiling, remember to include the WSHelper library.

It is recommended that the library file WSHelper.42m, included in the $FGLDIR/lib directory of the Genero Web Services package, is included in every GWS Server application. If your application uses the fglwsdl tool to generate information, it is imported into the generated file.

If your application uses the fglwsdl tool with the legacy option to generate information, you need to link WSHelper into your application at compilation time. See Backward compatibility for globals.

Examples compiling

Compiling the Example 1: Writing the entire server application program:

fglcomp example1.4gl

Compiling the Example 2: Writing a server using third-party WSDL (the fglwsdl tool) program:

fglcomp example2main.4gl my_function.4gl example1Service.4gl