Use the I4GL WSDL located on the Axis server to generate the Genero
web service client stub via the tool called fglwsdl.
For exampl, the WSDL file of the I4GL zipcode demo is located on
$INFORMIXDIR/AXIS2C/services/ws_zipcode/zipcode_details.wsdl. So do following
command:
$ fglwsdl -noFacets zipcode_details.wsdl
It will generate these two Genero files:
- ws_zipcode_zipcode_detailsservice.4gl
- It contains the Genero functions to connect to the server in SOAP
over HTTP.
- Take a look into that file if you are interested into Genero HTTP
and XML low-level APIs.
- ws_zipcode_zipcode_detailsservice.inc
- It contains the Genero data types and variables used for XML serialization.
- Take a look into that file if you are interested into Genero XML
to BDL variable mapping.
Note: Option -noFacets is required for this demo because
the I4GL CHAR data type will be generated as string in Genero what
can lead to XML serialization error if not present.