Jim,
Some web service providers offer alternative interface options (ie. REST or
SOAP) and alternative output options (ie. XML or JSON). You can use
formatted templates to support multiple output options. I offer an ILE
framework. No Java. No JEE application server. Just the Apache based HTTP
server.
The following example converts Fahrenheit to Celsius and returns:
XML
https://rd.radile.com/acvt100/convert.ws?tempin=98.6&type=XML
JSON
https://rd.radile.com/acvt100/convert.ws?tempin=98.6&type=JSON
Sample RPG source code
https://rd.radile.com/rdweb/temp/acvt100.txt
One thought is to adapt that RPG sample to call COBOL programs or
procedures. There's no simpler interface than a "call" op code; no PCML for
example.
Contact me offline if you'd like more information.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.