|
Ds is the way but even if you use a ds, IWS will create the code to--
handle all the fields included in the DS. At 7.4 the limit is around
6/7.000 fields. The problem is Java not IWS.
HTH
--
Marco Facchinetti
Mr S.r.l.
Tel. 035 962885
Cel. 393 9620498
Skype: facchinettimarco
Il giorno mar 17 ago 2021 alle ore 18:09 Jon Paris <
jon.paris@xxxxxxxxxxxxxx<mailto:jon.paris@xxxxxxxxxxxxxx>> ha scritto:
A DS is the way to go for sure - the smaller the number of parms theservice
better as with regular calls.
The limit on parms is documented in the IWS manual as follows:
"A procedure in an ILE service program (*SRVPGM) that is to be
externalized as a web service can have a maximum of 7 parameters. An
ILE program (*PGM) can have a maximum of 32 parameters on IBM i 6.1
and 255 parameters on IBM i 7.1 and subsequent releases".
The limit may have increased since then - although I would never
want to go above 3 or 4 anyway so I have never felt the need to
check. The
program limitation is a little restrictive - they should probablyASHORE@xxxxxxxxxxxxxxxxxxxx<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx>>
raise that if only to accommodate existing procedures that have more than that.
I _think_ the limits arise from the Java tooling rather than IWS itself.
David might know the answer to that.
Jon Paris
On Aug 17, 2021, at 9:57 AM, Jean-Marc DUVAL via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>> wrote:
les liens ou pièces jointes que si vous êtes sûr de l'expéditeur.
Alan,
That’s what I am going to test… I will return my result.
De : Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>>
Envoyé : mardi 17 août 2021 15:55
À : Jean-Marc DUVAL <jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx>> Cc : RPG
programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>> Objet : RE: web
services parameters limitation
ATTENTION : Ce message provient d'une source EXTERNE. Veuillez
n'ouvrir
instead – and pass that ONE data structure as the parameter
Hi Jean-Marc
Instead of having so many parameters, why not use a data structure
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<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx%3cmailto>:
inrpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>>>
‘If you're going through hell, keep going.’
Winston Churchill
From: Jean-Marc DUVAL [mailto:jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx>]
Sent: Tuesday, August 17, 2021 9:52 AM
To: Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx><mailto:ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>>>
Cc: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx><mailto:
Subject: [EXTERNAL] RE: web services parameters limitationmembers of the list 😉
Alan,
Yes i did, but don’t find answers, that why I ask it to the very
expert
jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx>>>
De : Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx><mailto: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><mailto:
Objet : RE: web services parameters limitationles liens ou pièces jointes que si vous êtes sûr de l'expéditeur.
ATTENTION : Ce message provient d'une source EXTERNE. Veuillez
n'ouvrir
believe there IS a limitation that I seem to remember has been
Okay
However – I have since blown some of the cob webs from my mind,
and I
increased
V7r4be
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
what I was searching forASHORE@xxxxxxxxxxxxxxxxxxxx<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx>>
“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<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx%3cmailto>:
ASHORE@xxxxxxxxxxxxxxxxxxxx<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx>>works…
‘If you're going through hell, keep going.’
Winston Churchill
From: Jean-Marc DUVAL [mailto:jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx>]
Sent: Tuesday, August 17, 2021 9:31 AM
To: Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx><mailto: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
I think 32 parameters is more that I can use ☹rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>>>
De : Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx><mailto: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><mailto:
Cc : Jean-Marc DUVAL <jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx><mailto:jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx>>>
Objet : RE: web services parameters limitationles liens ou pièces jointes que si vous êtes sûr de l'expéditeur.
ATTENTION : Ce message provient d'une source EXTERNE. Veuillez
n'ouvrir
more than one parameter.
Hi Jean Marc
When I first looked into IWS some months ago – I had a problem in
using
Someone suggested that a particular ptf had to be applied. Thisrectified my problem
was that told me
Unfortunately, I am unable to locate my notes as to what ptf and
who it
If you were successful in the past, but never had more than oneparameter, this maybe the problem
I will continue looking for my notes, but maybe someone else willwhat I am speaking of
know
If you have been successful in using more than one parameter, thenI am looking for is obviously NOT the answer
what
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<mailto:ASHORE@xxxxxxxxxxxxxxxxxxxx%3cmailto>:
https://urldefense.com/v3/__https:/lists.midrange.com/mailman/listinfoOf Jean-Marc DUVAL via RPG400-L
‘If you're going through hell, keep going.’
Winston Churchill
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx>] On
Behalf
Sent: Tuesday, August 17, 2021 8:17 AMrpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>>>
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx><mailto:
Cc: Jean-Marc DUVAL <jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx><mailto:jean-marc.duval@xxxxxxxxxxx<mailto:jean-marc.duval@xxxxxxxxxxx>>>
Subject: [EXTERNAL] web services parameters limitationparameters in REST web services ?
Hi,
I would like to know if there were a limitation for the number of
I am in 7.2 version and use V2.6 web services.work...
I am trying to build a web service with 32 parameters and it does
not
--RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>>
This is the RPG programming on IBM i (RPG400-L) mailing list To
post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx><mailto:
To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.com/v3/__https://lists.midrange.com/mailman/lis<https://urldefense.com/v3/__https:/lists.midrange.com/mailman/lis>
tinfo/rpg400-l__;!!J76aczzK!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5
EsmKRxzRg9j9dPGurbExtUz3_gZ5UBog$ <
/rpg400-l__;!!J76aczzK!hJfeCbICExD8MkS28BKrduaOb8EpyotYEPH1ElicTc1sVrK
O-XsWyBhEjg87yGXuuhjHgg$
https://urldefense.com/v3/__https:/archive.midrange.com/rpg400-l__;!!JRPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>>
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx><mailto:
Before posting, please take a moment to review the archives at
https://urldefense.com/v3/__https://archive.midrange.com/rpg400-l_<https://urldefense.com/v3/__https:/archive.midrange.com/rpg400-l_>
_;!!J76aczzK!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzRg9j9dPG
urbExtUz3_RbjRm9w$ <
76aczzK!hJfeCbICExD8MkS28BKrduaOb8EpyotYEPH1ElicTc1sVrKO-XsWyBhEjg87yG
XuQNbb-w$
https://urldefense.com/v3/__https:/amazon.midrange.com__;!!J76aczzK!hJ.support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx>> for any subscription related questions.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx><mailto:
link:
Help support midrange.com<https://urldefense.com/v3/__http:/midrange.com__;!!J76aczzK!hsxGuSgwWiwMeQ--xiUDN0KB23LgGYLWvvZRaWdGF8TNmlCaSwcuwjozB0a1EvyN0IDgNw$> by shopping at amazon.com<https://urldefense.com/v3/__http:/amazon.com__;!!J76aczzK!hsxGuSgwWiwMeQ--xiUDN0KB23LgGYLWvvZRaWdGF8TNmlCaSwcuwjozB0a1EvzxmQGpmQ$> with our
affiliate
https://urldefense.com/v3/__https://amazon.midrange.com__;!!J76aczzK<https://urldefense.com/v3/__https:/amazon.midrange.com__;!!J76aczzK>
!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzRg9j9dPGurbExtUz38Jhym
bgw$ <
feCbICExD8MkS28BKrduaOb8EpyotYEPH1ElicTc1sVrKO-XsWyBhEjg87yGVyT1WhIA$
--related questions.
--
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://urldefense.com/v3/__https://lists.midrange.com/mailman/lis<https://urldefense.com/v3/__https:/lists.midrange.com/mailman/lis>
tinfo/rpg400-l__;!!J76aczzK!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5
EsmKRxzRg9j9dPGurbExtUz3_gZ5UBog$ or email:
RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives at
https://urldefense.com/v3/__https://archive.midrange.com/rpg400-l__;!!J76aczzK!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzRg9j9dPGurbExtUz3_RbjRm9w$<https://urldefense.com/v3/__https:/archive.midrange.com/rpg400-l__;!!J76aczzK!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzRg9j9dPGurbExtUz3_RbjRm9w$> .
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription
link:
Help support midrange.com<https://urldefense.com/v3/__http:/midrange.com__;!!J76aczzK!hsxGuSgwWiwMeQ--xiUDN0KB23LgGYLWvvZRaWdGF8TNmlCaSwcuwjozB0a1EvyN0IDgNw$> by shopping at amazon.com<https://urldefense.com/v3/__http:/amazon.com__;!!J76aczzK!hsxGuSgwWiwMeQ--xiUDN0KB23LgGYLWvvZRaWdGF8TNmlCaSwcuwjozB0a1EvzxmQGpmQ$> with our
affiliate
https://urldefense.com/v3/__https://amazon.midrange.com__;!!J76aczzK<https://urldefense.com/v3/__https:/amazon.midrange.com__;!!J76aczzK>
!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzRg9j9dPGurbExtUz38Jhym
bgw$
--
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://urldefense.com/v3/__https://lists.midrange.com/mailman/listi<https://urldefense.com/v3/__https:/lists.midrange.com/mailman/listi>
nfo/rpg400-l__;!!J76aczzK!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmK
RxzRg9j9dPGurbExtUz3_gZ5UBog$ or email:
RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives at
https://urldefense.com/v3/__https://archive.midrange.com/rpg400-l__;!!J76aczzK!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzRg9j9dPGurbExtUz3_RbjRm9w$<https://urldefense.com/v3/__https:/archive.midrange.com/rpg400-l__;!!J76aczzK!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzRg9j9dPGurbExtUz3_RbjRm9w$> .
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription
related questions.
Help support midrange.com<https://urldefense.com/v3/__http:/midrange.com__;!!J76aczzK!hsxGuSgwWiwMeQ--xiUDN0KB23LgGYLWvvZRaWdGF8TNmlCaSwcuwjozB0a1EvyN0IDgNw$> by shopping at amazon.com<https://urldefense.com/v3/__http:/amazon.com__;!!J76aczzK!hsxGuSgwWiwMeQ--xiUDN0KB23LgGYLWvvZRaWdGF8TNmlCaSwcuwjozB0a1EvzxmQGpmQ$> with our
affiliate
link:
https://urldefense.com/v3/__https://amazon.midrange.com__;!!J76aczzK<https://urldefense.com/v3/__https:/amazon.midrange.com__;!!J76aczzK>
!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzRg9j9dPGurbExtUz38Jhym
bgw$
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://urldefense.com/v3/__https://lists.midrange.com/mailman/listinf<https://urldefense.com/v3/__https:/lists.midrange.com/mailman/listinf>
o/rpg400-l__;!!J76aczzK!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzR
g9j9dPGurbExtUz3_gZ5UBog$ or email:
RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives at
https://urldefense.com/v3/__https://archive.midrange.com/rpg400-l__;!!J76aczzK!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzRg9j9dPGurbExtUz3_RbjRm9w$<https://urldefense.com/v3/__https:/archive.midrange.com/rpg400-l__;!!J76aczzK!nPuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzRg9j9dPGurbExtUz3_RbjRm9w$> .
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription
related questions.
Help support midrange.com<https://urldefense.com/v3/__http:/midrange.com__;!!J76aczzK!hsxGuSgwWiwMeQ--xiUDN0KB23LgGYLWvvZRaWdGF8TNmlCaSwcuwjozB0a1EvyN0IDgNw$> by shopping at amazon.com<https://urldefense.com/v3/__http:/amazon.com__;!!J76aczzK!hsxGuSgwWiwMeQ--xiUDN0KB23LgGYLWvvZRaWdGF8TNmlCaSwcuwjozB0a1EvzxmQGpmQ$> with our affiliate
link:
https://urldefense.com/v3/__https://amazon.midrange.com__;!!J76aczzK!n<https://urldefense.com/v3/__https:/amazon.midrange.com__;!!J76aczzK!n>
PuYtwIkByf8Og4qZKwkvQ7H0VQLr3xPSU3wq5EsmKRxzRg9j9dPGurbExtUz38Jhymbgw$
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.