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



Yes , i have also been struggling with some issues with IWS .

1) Dclcase issues -field is not ignorable thought it matches with pcml and
case. Uppercase works perfectly fine
2) I have been trying to find solution for tags if no data is not there.

I should have used Yajl from the start and now I am way too far with IWS.




On Thu, Jul 18, 2019 at 1: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.

--

Thank You

Anshul Narang
715-921-4968

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.