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



My thought was the client and server program both “speak” JSON between them
and IWS manages the server instance etc. That’s where Scott Klement’s YAJL
and HTTPapi come into play.

Am I wrong? I can see where IWS could be avoided.

On Thu, Jul 18, 2019 at 12:39 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

Agreed - with limitations. This may be possible with IWS but I have no
idea how ... for instance you may need to modify the JSON payload in a way
that cannot be controlled by the "shape" of RPG parameters. You may have
requirements that if there is not data for an element then the tag must not
be there either.

As a result IWS is fine if _you_ are making the rules. i.e. "You want me
to supply web service access to my data? Sure - the JSON will look like
this." But in may cases you are placed in a position where (say) Walmart
makes the rules and _tells__you_ what the JSON has to look like.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 18, 2019, at 12:44 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:

Also IWS saves having to _learn_ "YAJL or whatever", which in my opinion
is a major plus in most RPG shops.

IWS does need a more intuitive interview, but once that swamp is
crossed, it gets the job done.


On 7/18/2019 8:39 AM, Jon Paris wrote:
If you pass an array IWS_converts_ it to JSON Jim. Or XML for that
matter.

Saves having to run YAJL or whatever in the RPG code.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects

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.