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



so logs are turned off (per the guide)... but just turned them on.

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

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

Thanks Scott

I’ll investigate logs and find out.

Jay

On Feb 13, 2019, at 5:00 PM, Scott Klement <midrange-l@xxxxxxxxxxxxxxxx>
wrote:

Hi Jay,

I don't see anything in that article that discusses the YAJLCALLR
utility. (In fact, I'm not sure that I ever documented that utility...
but, you're welcome to use it if you like it.)

At any rate, if the program isn't being called, then what is happening?
Are you getting an error? Are there messages in the
/www/your-instance/logs/error_log.xxxxx files related to it?

-SK


On 2/13/2019 2:26 PM, Jay Vaughn wrote:
so had a configuration error - corrected - starts and runs now...

Continuing on this POC, I have deployed YAJL onto our system and also
compiled YAJLCALLR to YAJLREST.

Now I attempt to do the following from the browser, but it does not
seem to
reach our system and invoke YAJLCALLR *pgm.

http://ourSystem:port/rest/YAJLCALLR

Just to be sure I'm progressing down the correct logical path I'd
expect to
see the YAJLCALLR *pgm object with a last used date set - but it is
still
blank.

Has anyone else utilized this yet? What am I missing and
misunderstanding?

Thanks

Jay





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

awesome - that pointed me right to the error - now to examine the
error -
PROBABLY more to come... THANKS!

On Wed, Feb 13, 2019 at 3:11 PM Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
wrote:

1. Check for a joblog (QEZJOBLOG outq if you spool them).
2. Check the log files in the IFS dir for your server (usually
/www/serverNameHere/logs).



-----Original Message-----
From: Jay Vaughn [mailto:jeffersonvaughn@xxxxxxxxx]
Sent: Wednesday, February 13, 2019 2:02 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Help With Getting HTTP Server running

First off, our i is hosted.
Second off, there is nobody that really knows i server configuration
within our shop.

With that said, I just walked through the process of setting up the
http
server for use with yajl rest apis using Scott Klements guide
https://www.common.org/scotts-iland-blog/rpg-and-yajl/

The steps to setup were straightforward. However when I press the
green
server start button within the HTTP servers tab, it will not start -
as
soon as you refresh it is stopped.

What am I missing?

Thanks in advance,

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

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