Step 2: Import the stub file

To explain how you code a Genero client application that accesses a SOAP Web service, this documentation uses the example of a calculator client application. This application accesses the Add operation in the MyCalculator Web service. To write the client, you simply need to access the WSDL for the Web service. To learn how to program the service, see Writing a Web server application.

Include the following line at the top of the module, where ws_calculator is the stub file created command from the WSDL by the fglwsdl tool:

IMPORT FGL ws_calculator