|
That's not how IWS works AT ALL...
The idea behind IWS is that you can write an RPG program, fairly normal,
no special XML or anything... then just point IWS at it, and it works.
It does not attempt to take XML and generate RPG parameters for it!!
IWS does have limitations. It can only handle 7 parameters and they
must be either passed by reference or be a 10i 0 field.
But, those fields can be data structures, and the structures can have
many parameters...
Or, you could just pass one large character string, and you could put
XML data inside that character string...
On 10/8/2013 4:36 PM, Alan Campin wrote:
No, using a large number of parameters would point to a design error. If--
IWS takes a XML document and creates a parameter for every XML element,
sounds like it is a design error. That is stupid in my opinion. You know
you are going to have XML documents with more than 500 elements. The
only
solution they can come up with is to pass the XML document by one
parameter
for each XML element? .
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.