Title: fglwsdl generates globar variables as the parameters Post by: Lu?s T. on November 21, 2019, 04:00:36 pm When reading the documentation (https://4js.com/online_documentation/fjs-fgl-3.10.00-manual-html/#fgl-topics/c_gws_client_get_wsdl.html) about how to genererate a WS Client, it says:
Quote Since BDL functions cannot have complex structures as parameters, the data types are defined as global or modular variables. Is this still true? I generate a .inc file from a WSDL and include it in a simple 4gl: Code
where tGlobalEndpointType seems quite complex: Code
Title: Re: fglwsdl generates globar variables as the parameters Post by: Reuben B. on November 25, 2019, 09:50:23 pm fglwsdl was introduced in Genero 2.00 http://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/fgl_whatsnew_200.html
Since then ... IMPORT FGL introduced in Genero 2.50 http://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/fgl_whatsnew_250.html Methods, INOUT and other syntax introduced in Genero 3.20 http://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/fgl_whatsnew_320_2.html The code fglwsdl generates could be described as 2.00 era code as it has not been changed to incorporate the later syntax. The new fglrestful tool which is the equivalent of fglwsdl for RESTful Web Services does use the latest and greatest syntax.. There is a task in the system GWS-830 for us to look at updating the code generated by fglwsdl to use the latest syntax available. If important to you, ask to be added as a requestor to GWS-830 Title: Re: fglwsdl generates globar variables as the parameters Post by: Lu?s T. on November 26, 2019, 07:08:31 pm Thanks.
I tried to find the GWS-830 but did not find it. If anyone can add me has a requestor, I'l be glad to. Title: Re: fglwsdl generates globar variables as the parameters Post by: Reuben B. on November 26, 2019, 09:16:49 pm The task has not been marked as public. Once it is marked public, the link will be https://4js.com/support/issue/?id=GWS-830 (As background, when our developers create a task internally it will be marked as private by default).
Your support contact will be able to add you as a requestor. |