Step 4: Generate BDL 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 BDL application in order to call the Java barcode library functions. These files contain the BDL interface to access the Java library where you will find the two functions, readImage and buildImage, defined in BDL.

In the final step we modify the existing application, Step 5: Modify your BDL application.