Creating a Sample OpenROAD Server Application with JSON-RPC Support

113 views
Skip to first unread message

Achini Lankage

unread,
Oct 27, 2020, 9:23:12 AM10/27/20
to OpenROAD Users Mailing List
Hi,

I'm currently facing a problem while creating testapp.json using the JsonConfig4App utility for the “add” 4GL procedure which has mentioned in the link below.

 
I also tried running the image given at Github and it is giving me a w4gl error saying that the external library needs to be registered. I'm not sure if I missed any step instructed in the documentation.



It doesn't compile the application as well when I import it to the workbench.
If anyone can help me with this process would be really appreciated.

Thanks in advance
Achini.

Bodo Bergmann

unread,
Oct 27, 2020, 9:57:10 AM10/27/20
to openroa...@googlegroups.com

Hi Achini

 

What exact OpenROAD version are you using (see first line of the trace window)?

Note: All the JSON (and JSON-RPC) support stuff was introduced in some patch (I recommend to use the latest patch, e.g. 15567), the JsonArray (system) class is one of them.

You do not need to download and import/build the JsonConfig4App utility from GitHub – just use the one provided with your OpenROAD installation.

See this tutorial video: https://www.youtube.com/watch?v=tpPatQavMPQ

 

If this still doesn’t work, could you provide the signature (name, return type, parameter types/names) for the 4GL Procedure you want to call via JsonRpcRequest()?

 

Regards,

Bodo.

 

Bodo Bergmann

Engineering Architect

Actian | OpenROAD Engineering

www.actian.com

GESELLSCHAFTSANGABEN: Actian Germany GmbH | Sitz der Gesellschaft: Halenreie 42, 22359 Hamburg | Geschäftsführung: Stephen Padgett, Marc Monahan | Handelsregister: Amtsgericht Hamburg | HRB 135991 | USt-IdNr: DE252449897

--
You received this message because you are subscribed to the Google Groups "OpenROAD Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openroad-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openroad-users/852eef87-0644-4e99-a13b-3ccfeb8d1657n%40googlegroups.com.

Achini Lankage

unread,
Oct 28, 2020, 7:20:50 AM10/28/20
to OpenROAD Users Mailing List
Thank you very much for the prompt reply Bodo.
I am using the exact example given in the documentation just to understand the basic process.

Anyways the OR patch that I am using is p15017.
Is there any link that can refer to download the latest patch 15567?
I checked the official Actian site for downloads it provides me the option like the screenshot mentioned below. (openroad-6.20.15068-win-x86_64-eval-b)



Thanks in advance,
Achini.

Bodo Bergmann

unread,
Oct 28, 2020, 9:39:10 AM10/28/20
to openroa...@googlegroups.com

Hi Achini,

 

I see that you tried the (old) Evaluation Edition.

Patches are available on the download site (https://esd.actian.com) for OpenROAD Enterprise Editions only.

E.g. there is patch 15567 for the 32-bit Windows version  and patch 15568 for the 64-bit Windows version of OpenROAD.

See https://esd.actian.com/platform/Windows_64-Bit/Actian_OpenROAD/6.2/OpenROAD_6.2.0_Patches

You’ll need a valid Service portal login for downloading the patches (for the version you have licensed).

 

You could also try the OpenROAD 11.1 (64-bit only), which contains all the features for 6.2. patches.

 

In order to get an evaluation license contact sa...@actian.com.

 

Kind regards,

Reply all
Reply to author
Forward
0 new messages