|
On Aug 17, 2021, at 9:57 AM, Jean-Marc DUVAL via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:
Alan,
That’s what I am going to test… I will return my result.
De : Alan Shore <ashore@xxxxxxxx>
Envoyé : mardi 17 août 2021 15:55
À : Jean-Marc DUVAL <jean-marc.duval@xxxxxxxxxxx>
Cc : RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Objet : RE: web services parameters limitation
ATTENTION : Ce message provient d'une source EXTERNE. Veuillez n'ouvrir les liens ou pièces jointes que si vous êtes sûr de l'expéditeur.
Hi Jean-Marc
Instead of having so many parameters, why not use a data structure instead – and pass that ONE data structure as the parameter
Alan Shore
Solutions Architect
IT Supply Chain Execution
[cid:image001.png@01D79380.8511EB40]
60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx>
‘If you're going through hell, keep going.’
Winston Churchill
From: Jean-Marc DUVAL [mailto:jean-marc.duval@xxxxxxxxxxx]
Sent: Tuesday, August 17, 2021 9:52 AM
To: Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>>
Cc: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>>
Subject: [EXTERNAL] RE: web services parameters limitation
Alan,
Yes i did, but don’t find answers, that why I ask it to the very expert members of the list 😉
De : Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>>
Envoyé : mardi 17 août 2021 15:36
À : Jean-Marc DUVAL <jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx>>
Objet : RE: web services parameters limitation
ATTENTION : Ce message provient d'une source EXTERNE. Veuillez n'ouvrir les liens ou pièces jointes que si vous êtes sûr de l'expéditeur.
Okay
However – I have since blown some of the cob webs from my mind, and I believe there IS a limitation that I seem to remember has been increased in V7r4
But again – I cannot find what I am looking for
Have you tried a google search?
I did a quick search but couldn’t really find anything – but it might be what I was searching for
“as400 iws parameter limitation”
Alan Shore
Solutions Architect
IT Supply Chain Execution
[cid:image005.png@01D79380.84F95A30]
60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx>
‘If you're going through hell, keep going.’
Winston Churchill
From: Jean-Marc DUVAL [mailto:jean-marc.duval@xxxxxxxxxxx]
Sent: Tuesday, August 17, 2021 9:31 AM
To: Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>>
Subject: [EXTERNAL] RE: web services parameters limitation
Alan,
Thanks for you reply.
I have REST web service with PUT method that have 16 parameters and it works…
I think 32 parameters is more that I can use ☹
De : Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>>
Envoyé : mardi 17 août 2021 14:30
À : RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>>
Cc : Jean-Marc DUVAL <jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx>>
Objet : RE: web services parameters limitation
ATTENTION : Ce message provient d'une source EXTERNE. Veuillez n'ouvrir les liens ou pièces jointes que si vous êtes sûr de l'expéditeur.
Hi Jean Marc
When I first looked into IWS some months ago – I had a problem in using more than one parameter.
Someone suggested that a particular ptf had to be applied. This rectified my problem
Unfortunately, I am unable to locate my notes as to what ptf and who it was that told me
If you were successful in the past, but never had more than one parameter, this maybe the problem
I will continue looking for my notes, but maybe someone else will know what I am speaking of
If you have been successful in using more than one parameter, then what I am looking for is obviously NOT the answer
Let me know
Alan Shore
Solutions Architect
IT Supply Chain Execution
[cid:image006.png@01D79380.84F95A30]
60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx>
‘If you're going through hell, keep going.’
Winston Churchill
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Jean-Marc DUVAL via RPG400-L
Sent: Tuesday, August 17, 2021 8:17 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>>
Cc: Jean-Marc DUVAL <jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx>>
Subject: [EXTERNAL] web services parameters limitation
Hi,
I would like to know if there were a limitation for the number of parameters in REST web services ?
I am in 7.2 version and use V2.6 web services.
I am trying to build a web service with 32 parameters and it does not work...
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l<https://urldefense.com/v3/__https:/lists.midrange.com/mailman/listinfo/rpg400-l__;!!J76aczzK!hJfeCbICExD8MkS28BKrduaOb8EpyotYEPH1ElicTc1sVrKO-XsWyBhEjg87yGXuuhjHgg$>
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l<https://urldefense.com/v3/__https:/archive.midrange.com/rpg400-l__;!!J76aczzK!hJfeCbICExD8MkS28BKrduaOb8EpyotYEPH1ElicTc1sVrKO-XsWyBhEjg87yGXuQNbb-w$>.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com<https://urldefense.com/v3/__https:/amazon.midrange.com__;!!J76aczzK!hJfeCbICExD8MkS28BKrduaOb8EpyotYEPH1ElicTc1sVrKO-XsWyBhEjg87yGVyT1WhIA$>
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx 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 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.