Step 4: Generate 4GL stub to access the Java library

Use the fglwsdl tool to generate the client stub to access the BarcodeService:
$ fglwsdl http://localhost:9090/BarcodeService?WSDL

This will create two 4GL files that must be compiled and linked into your 4GL application in order to call the Java™ barcode library functions. These files contain the 4GL interface to access the Java library where you will find the two functions, readImage and buildImage, defined in 4GL.