It doesn't matter if the RPG program is the final consumer or (transforms
and) passes the response to it's caller...

Call the other web-service using whatever make it easiest...

HTTPAPI if you're familiar with it...

On of the IBM provided tools for calling a webservice...

Charles

On Wed, Jan 31, 2018 at 11:28 AM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
wrote:

I have an existing RPGLE/CGI app where the client needs to call a separate
webservice. For security reasons, the client can't call the webservice
directly. So I want my RPGLE code to act as the go-between. What's the
most efficient way for RPGLE/CGI to call a webservice and return the
response verbatim to its client? I've used HTTPAPI in cases where RPGLE is
the final consumer, but I'm not sure if there's a better way in this
situation.

TIA


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.