Re: IWS, REST APIs, and Logging

Stephen Piland <Stephen-anE3zL/[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <BN8PR04MB60513563C4E19D6DDFBDA5F7B0409@BN8PR04MB6051.namprd04.prod.outlook.com>
Any thoughts on the timeline on this?  Just curious.  We've been on Version 2.6 for a long time.

-----Original Message-----
From: WEB400 <[email protected]> On Behalf Of Nadir Amra
Sent: Tuesday, April 27, 2021 12:59 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <[email protected]>
Subject: Re: [WEB400] IWS, REST APIs, and Logging

When we implement logging of payloads, It will fail, but you would still have a log of the payload. 


"WEB400" <[email protected]> wrote on 04/27/2021 12:05:56 
PM:

> From: Jon Paris <[email protected]>
> To: "Web Enabling the IBM i (AS/400 and iSeries)" 
<[email protected]>
> Date: 04/27/2021 12:06 PM
> Subject: [EXTERNAL] Re: [WEB400] IWS, REST APIs, and Logging
> Sent by: "WEB400" <[email protected]>
> 
> Yup - that could be useful I agree - although I suspect that IWS 
> would fail anyway while attempting the unpacking.
> 
> 
> Jon Paris
> 
> > On Apr 27, 2021, at 1:00 PM, Stephen Piland 
> <Stephen-anE3zL/[email protected]> wrote:
> > 
> > True.  I agree that it would diminish the value of IWS.  I was 
> hoping that turning on some logging, etc would allow us to capture 
> the payload/body IF it was 'malformed' and it can't unpack into the 
> parameters.
> > 
> > -----Original Message-----
> > From: WEB400 <[email protected]> On Behalf Of Jon 
Paris
> > Sent: Tuesday, April 27, 2021 11:02 AM
> > To: Web Enabling the IBM i (AS/400 and iSeries) 
<[email protected]>
> > Subject: Re: [WEB400] IWS, REST APIs, and Logging
> > 
> > Well it kinda goes against the whole point of IWS which is to 
> avoid you having to concern your self with such issues.  The payload
> is unpacked into the parameters and vice-versa for you.
> > 
> > If you really need to access the body why use IWS at all?
> > 
> > 
> > 
> > Jon Paris
> > 
> >> On Apr 27, 2021, at 11:23 AM, Stephen Piland 
> <Stephen-anE3zL/[email protected]> wrote:
> >> 
> >> I haven't seen any way to do this so far, but I thought I'd ask 
> the group...
> >> 
> >> Is there any way to capture the 'payload'/body sent in?  Ideally,
> pre-execution of the program or service program call from within 
> IWS.  If not, is there a way to capture it in the called pgm perhaps
> as a BLOB that could be stored?
> >> 


-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
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: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.