|
Is the call coming in over the Internet or over a private network or VPN connection ?
First and foremost that's a consideration for potential exposures.
Also how much volume ? (CPU exposure and rate limiting needed to be
considered)
Since you're using node you can:
-Write your own REST service with:
Node (Can use the node toolkit which uses XMLSERVICE) RPG (ILEAstic or
CGI) Python Java
-Use IWS to expose RPG calls as REST
If on an internal/secure network you could use:
-Mapepire, but your interactions would be using Web Sockets, plus it's
still pretty new. (limited to CL commands and SQL I believe) -Connect
to XMLSERVICE over http, odbc or SSH -Connect directly via ODBC.
If external:
-Are you able to llimit the IP addresses hitting the app ?
-Do you have an external firewall with rate limiting ? (Cloudflare or
something similar)
For you if Node is your thing, creating the service in Node may be the best option.
If each call is truly a few milliseconds, you can probably make the call and just wait for the response sending back the PF outfile results.
Hope this helps.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.