× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Scott Klement has a helpful presentation on his website that I used that
enabled me to produce a webservice consumer in RPGLE using HTTPAPI (I had
to combine Scott's presentation on the YAJL interfaces to work with the
JSON responses, but there were few other differences to how Scott presented
it).

http://www.scottklement.com/presentations/#HTTPAPI

http://www.scottklement.com/presentations/#YAJL


-Paul.

On 1 October 2016 at 18:33, Mike Jones <mike.jones.sysdev@xxxxxxxxx> wrote:

Hi Sean,

Here are a couple of articles for doing that:
http://www.mcpressonline.com/rpg/cool-things-ile-rpg-as-a-
web-services-client.html

http://www.ibm.com/developerworks/ibmi/library/i-amrawsdl2rpg/

Mike


date: Sat, 1 Oct 2016 13:55:31 +0200
from: "Sean Courtney" <scourtney@xxxxxxxxxxx>
subject: RPGLE to consume a webservice

Hello all,

Has anybody used RPGLE to consume a web service using the HTTPAPI (or
other
technologies).

I need to send a parameter to the web service and receive a reply in my
rpg
program.

If anybody has either a working example or good links for more
information
on this theme then please pass it on to me.

Thanks in advance for the help.


Mit freundlichen Gr??en / Kind regards / Bien ? vous,

Se?n Courtney
Eiresoft


--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


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.