I just tried that route as well but lost me on the pcml requirement. Not wanting to go there. Is there a way around that?

Jay



On Feb 13, 2019, at 4:53 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:

Consider using the IWS wizard and setting up for REST web services? Ignore the SOAP pieces and use the REST.

I am a novice at it but it does what you are asking for, without YAJL. Much simpler on the RPG end; and the server setup is 10 minutes (once you see how it is set up).

The wizard interview messed me up but it is pretty straight forward.

On 2/13/2019 3:08 PM, Jay Vaughn wrote:
and ultimately what I'm really wanting to do here to get back to how I used
to process these backend YAJL rpg pgms is...

create/configure my HTTP server to accept a program with 2 parms...

d jsonOBJ s 65535 varying

d myPgm pi
d jsonINP like(jsonOBJ)
d jsonOUT like(jsonOBJ)

Can someone help me with that?

Jay

On Wed, Feb 13, 2019 at 3:42 PM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:

I'm setting out to establish a POC for our company using SK's guide at

https://www.common.org/scotts-iland-blog/rpg-and-yajl/

I have the http server created and running.
I have YAJL deployed to the i.
I have YAJLCALLR compiled into YAJLREST lib.

I'm trying to logically progress down the path in small steps so I can
understand the moving pieces.

When I invoke from the browser... http://ourSystem:port/rest/YAJLCALLR I
would expect to at least see the *pgm object of YAJLCALLR last used date
set to today instead of remaining blank?

I'm at a loss (early in the game unfortunately) as to what I'm missing.
The good news is that I have written many YAJL rpg pgms at another
employer who had already had the endpoint setup - though slightly different
than what Scott shows in his guide.

So if I can just get over this initial configuration hump, I'm thinking I
should be home free.

Any help would be appreciated,

Jay

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
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: https://amazon.midrange.com

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-2019 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].