× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



<Dave>
Do you know of any quick examples or tutorials on using XML with RPG?  If 
we have some good samples to clone, it might be an option.
</Dave>

You asked the right guy:-)  I have been drowning in RPG and XML for the
better part of this year.  You can find the RPG XML Parser that I have been
working on at http://mowyourlawn.com.  I am planning a new release in the
next two weeks that changes quite a few of the DOMParse API's input parms.
I am also going to be releasing a framework for processing XML with RPG on
the iSeries sometime soon.

Hope that helps,
Aaron Bartell

-----Original Message-----
From: Dave Murvin [mailto:davem@xxxxxxxx]
Sent: Tuesday, August 26, 2003 7:36 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Arrays of Structures as a parameter in V5R1


At 06:34 AM 8/26/2003, you wrote:

>Just a suggestion here, but is it possible to pass the information via XML?
>Maybe even make the RPG program a web service that can consume a simple XML
>request and output XML?  It would be simple for Java to process the web
>service and parse the result XML.  This would also make it a loosely
coupled
>connection which would allow other process to use the RPG web service
>instead of just Java, _and_ you could have the same thing on a different
>back end written in something other than RPG if they need ever arose

I had not thought of using XMT.  We are dealing with a third party that 
already has most of the web applications created, we just need to specify 
and code all the interfaces in the next couple of months.  They indicated 
that they have experience calling an RPGLE program from their end, so that 
is what we thought of.  We also have the problem that our internal skill 
set (one full time, one part time programmer) does not include XML or 
parsing XML from RPG.  Given our time constraints, I don't believe that we 
would have much time to develop the skills.

Do you know of any quick examples or tutorials on using XML with RPG?  If 
we have some good samples to clone, it might be an option.

In the mean time, I will probably start with Duane's option 2 suggestion to 
use structures of arrays.

Thanks for the suggestions.

Dave Murvin
DRM Enterprises, Inc.


_______________________________________________
This is the RPG programming on the AS400 / 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 thread ...

Follow-Ups:

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

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.