Generating the stub file for a GWS client

Use the fglwsdl tool to generate the Genero BDL stub from a WSDL URL or file.

This example requests the MyCalculator Web service information from the specified URL. The output file will have the base name "ws_calculator":
fglwsdl -c -soap12 -o ws_calculator http://localhost:8090/MyCalculator?WSDL

The fglwsdl generates filename.4gl. It contains the definitions of the functions that can be used in your GWS client application to perform the requested Web service operation, and the code that manages the Web service request. In our example, the file is ws_calculator.4gl.

Do not modify this file. Compile and import this file into your GWS client application. For examples, see Call the web service.