Import the libraries

The methods associated with creating and publishing a Web Service are contained in the classes that make up the Genero Web Services Library (com). If your application uses other classes, you need to import those. If you are using the wsError record, you must import the WSHelper module.

If the functions where the operations of the service are defined is in a separate Genero BDL module, ( service_implementation in the example), you need to import this so that the service module can publish the service operation.

IMPORT com
IMPORT xml
IMPORT FGL WSHelper
IMPORT FGL service_implementation

Backward compatibility for globals

If you are creating a service that uses legacy code (Genero 3.20 or prior) (.inc and .4gl), import Genero Web Services Library (com) and any other classes your service application uses.
IMPORT com