That’s essentially what IbmiXmlserviceStd does. Takes the returned HTTP XML data values from the XMLSERVICE CGI call and parses them and coerces them into a DataTable.

I’m sure you can improve on my logic.

Also I have enabled all the CDATA tag stuff in XMLSERVICE so data comes and goes across the wire without corruption. That was problematic before because character translations were weird.

Also as you guys work keep CCSID in mind. I’ve had at least person ask how XMLSERVICE handles French character sets. Not sure, but I think there may be a deficiency in XMLSERVICE today around that.

25yrs of VB usage was hard to change, but people tend to stick their noses up at VB even though VB and C# compile to the same IL.

Gotta be modern….



Richard Schoen
Director of Document Management

e. richard.schoen@xxxxxxxxxxxxxxx<mailto:richard.schoen@xxxxxxxxxxxxxxx>
p. 952.486.6802

From: Liam Allan <mrliamallan@xxxxxxxxxx<mailto:mrliamallan@xxxxxxxxxx>>
Sent: Wednesday, December 12, 2018 8:46 AM
To: Richard Schoen <Richard.Schoen@xxxxxxxxxxxxxxx<mailto:Richard.Schoen@xxxxxxxxxxxxxxx>>; IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx<mailto:opensource@xxxxxxxxxxxx>>
Subject: Re: XMLSERVICE, RPGLE & Java error

Great thanks. I'll keep that in mind. I won't even be using VB 😉

DataTables is probably still a good option. Right now, ILEusion just returns an array of objects for each row in the result set - it would be nice and simple to translate that 😊


Liam Allan
Works Of Barry

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.