Skip to main content
13-Aquamarine
September 29, 2022
Question

Arbortext Editor: calling a web service via web request

  • September 29, 2022
  • 1 reply
  • 904 views

Hi together,

 

we would like to call a web request from ACL and also we will get a response string from this web request. 

Do you know an opportunity to do that? With javascript, vbscript maybe? 

Unfortunately we have no experience with that.


Greetings from germany

1 reply

16-Pearl
September 30, 2022

We would use Java for this.

Alternatives are Jscript/VBscript using MSXML APIs e.g. https://helloacm.com/using-xmlhttp-in-vbscript/

If you wish to use Javascript then you must realise it is the Rhino Java engine. Therefore, you must still call into Java e.g. https://stackoverflow.com/questions/22157910/using-rhino-js-engine-to-make-http-requests

The ACL code itself does not natively support HTTP to the best of my knowledge (would love to be proven wrong!).