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



Anshul, I am not sure what you mean about nested object support. Can you
elaborate? There is no limitations on having nested objects (or
structures within structures).

However, if you have arrays, whether nested or not, then always specify a
length field for each array and ensure detect length fields is enabled.




"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 04/15/2020 11:38:56
PM:

From: anshul narang <narang.anshul@xxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxxxxxxxx>
Date: 04/15/2020 11:39 PM
Subject: [EXTERNAL] Re: [WEB400] Reg: Suggestions Required for Web
Services for IBMi
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

Woohoo !

Thanks Nadir !
This has been one of the talking points with different clients. Now Iws
gives flexibility of payload which leads to more flexibility and easy
maintainability.

2 ) I just wanted to inquire about support of multiple nested objects
In
output arrays in near future. Last time we spoke there was roadmap to
support this feature.

( Right now we can manage the objects of the json array using length
functionality. It works good for single object in ds as of now)


Thanks
Anshul


On Wed, Apr 15, 2020 at 10:49 PM Nadir Amra <amra@xxxxxxxxxx> wrote:

Hi all,

I hope you are all doing well in this age of the pandemic.

Regarding returning a payload on an error HTTP status code, where
previously you could not do that. Just wanted to let you know in the
latest HTTP group PTFs for 7.2, 7.3, and 7.4, you will have ability to
indicate one of the following:

(1) Do not return payloads on errors (this is current default)
(2) Return all output parameters on errors
(3) Return a character field parameter on error

The third option allows you to send any type of payload (e.g. json,
xml,
html) as long as you set the content-type http header correctly.

More details on the web site[1].

Let me know if you have any questions. Take care.

[1] https://www.ibm.com/support/pages/node/633935



"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 01/24/2020
05:03:56
PM:

From: Suren K <suren7437@xxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxxxxxxxx>
Date: 01/24/2020 05:04 PM
Subject: [EXTERNAL] [WEB400] Reg: Suggestions Required for Web
Services for IBMi
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

Hi All,

I am planning to introduce Web Services for my IBMi application. I
need
some suggestion to choose which Web Services to go with.

This web services which i am planning will be mainly focused for
REST
Based
API Calls. Also i did a small POC in my application using Scott's
YAJL

tool
using DATA-INTO and DATA-GEN for Parsing JSON Document into Data
Structure
and vice versa. So i am planning to use Scott's YAJL tool as well.

Initially i thought of using IWS, but i could see the below two
drawbacks
with IWS
1) In Error Scenario the JSON body will not be sent back to Client
2) It Supports only 4 HTTP methods (GET, PUT, DELETE and POST) but
as
per
my application requirement i need to use PATCH method as well.
Do any one knows when IBM will fix the above two stuffs? If it is
within





As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.