× 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 understand how you would be confused...

wipe all the scott klement webservice api stuff from your head for a
second...

last company i was at, i was tasked with writing RPGLE pgms with YAHL (with
no PCML h-spec) and they would receive a string parm in (json format) and a
string parm out (json format), that would I would of course produce in my
rpgle pgm.
These backend pgms i wrote were invoked from an http endpoint.
I'm trying to recreate that same http endpoint now.

Jay

On Thu, Feb 14, 2019 at 9:34 AM Arco Simonse <arco400@xxxxxxxxx> wrote:

Hi Jay,

Your statements do confuse me. You want an http endpoint, but you also
don't want to set up a webservice? I don't see how that would happen.

You will want to rethink what you want to use, and probably reread
Scott's presentation you mentioned
(ttps://www.common.org/scotts-iland-blog/rpg-and-yajl/) with more
attention. It is all explained there in detail.

The way you want to do with the program with an input and output
parameter is simply not how this works.
The program that is called from your instance will not have parameters.
In the program you need to retrieve the URI content, extract the input
parameter, do your work with that data, and write your output in the
response with yajl_writeStdout.

Regards,
-Arco

Op do 14 feb. 2019 om 14:17 schreef Jay Vaughn <jeffersonvaughn@xxxxxxxxx
:


so, i think i need to clarify... i don't need an http endpoint setup to
accommodate a true webservice (detecting the various methods
get/put/post/delete)... I simply need an http endpoint that will allow
an i
program to be called and accept a 65535 varying string and return a 65535
varying string.

The reason is because this company has already established methods for
rest
API's.
I'm actually on the quest to put an end to jdbc/odbc queries by utilizing
an http server with an endpoint to accept above mentioned parms, use YAJL
to return output in JSON format and regain gatekeeper title of the i
database.

The whole webservice concept really just needs to be ignored.

so surely, someone has setup this type of endpoint before?

thanks

Jay

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-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


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.