FASUG Application Development Day 2009

Track C Session 2

XML and RPG : Working with Web Services and XML Documents
Charlie Guarino


XML and RPG : Working with Web Services and XML Documents

XML has quickly become a standard method of encoding data. The extraction of this data into useable information is called parsing. RPG provides two different methods for parsing. This two topic session first goes step by step through the process of consuming a web service and displaying its information in a display program. The second part discusses receiving an XML document and successfully parsing it to a database file. The XML-INTO and XML-SAX statements will be reviewed. The challenges and requirements of both statements will be discussed. Included with this session are program listings that you can take back and put to use immediately.
Learning Objectives:

  1. Gain a basic understanding of XML syntax.
  2. Gain a basic understanding of Web services.
  3. Learn how XML parsing has been implemented into RPG.
  4. See live examples of the XML parsers at work


Web Page: Ashway Consulting, LLC.