× 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.



I would say step back and get one of the examples that walk you fully through the process, and then come back to your program. Maybe by getting an example working, something will click as to what you are missing with your version.

https://www.common.org/ibm/rpg-and-yajl/
http://timunderwood.net/100MEDIA/ServeJSON.pdf





Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Booth Martin
Sent: Monday, August 27, 2018 9:26 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: RPG & webservice

OK, friends, this s where I prove I am an idiot. But it can't be helped I guess.

I have done those 3 bullet items. I can't make it work.

(I am doing all this because I really like doing it and it keeps my mind active
and keeps me out of the barrooms and brothels. Whether I ever get it
working isn't the point. From that angle, this is a resounding success. It's
meeting my goal. )


On 8/27/2018 5:01 PM, Bradley Stone wrote:
Booth.

If you want simple, stick with the Apache server. I've said this a
few times in this thread already and offered examples.

If you're using YAJL, it has a function to write the JSON to stdout..
so it's actually VERY simple.

1. Create a web instance
2. Change your program to write the JSON to std out 3. Execute the
program from a browser to test.

Super simple as it sounds like you have the JSON building already done.


Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #6<https://www.bvstools.com/mailtool.html>: Easily
send group emails with Distribution Lists

--
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: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.