Parse JSON & XML in RPGLE

RPG-XML Suite's JSON and XML parsing capabilities

Parse JSON in RPG / RPGLE Icon

JSON Parsing
Subprocedure
Generator

RPG-XML Suite’s parsing subprocedure generator enables you to quickly extract web service data from remote REST APIs, greatly reducing your manual coding efforts.

Parse XML in RPG / RPGLE Icon

XML Parsing
Subprocedure
Generator

RPG-XML Suite’s parser not only works with JSON, but XML too. Easily consume XML-based  SOAP and REST web services, directly from your iSeries server.

Parse XML via DOM in RPG / RPGLE Icon

XML DOM Parsing
Subprocedure
APIs

RPG-XML Suite also includes a toolkit of DOM parsing subprocedures, helping you implement a DOM approach in your RPG  business applications.

Parsing in the RPG-XML Suite workflow

Parse JSON and XML in RPG / RPGLE Graphic - Step 4 Calling APIs

Web service workflow - Calling APIs from your IBM i

When calling a remote API, your program will first compose an XML or JSON request, followed by calling an API, then receiving an HTTP response. Parsing XML and JSON is usually the last step, where the response data is parsed into your RPG program for further processing.

Web service workflow - Calling APIs from your IBM i

When calling a remote API, your program will first compose an XML or JSON request, followed by calling an API, then receiving an HTTP response. Parsing XML and JSON is usually the last step, where the response data is parsed into your RPG program for further processing.

Parse JSON and XML in RPG / RPGLE Graphic - Step 4 Calling APIs
Parse JSON and XML in RPG Graphic - Step 2 Offering APIs

Web service workflow - Offering IBM i web services

Offering a web service begins with a business partner calling your IBM i. Parsing comes in next, when your program extracts information contained in the request call. After that, your program creates an XML or JSON response based on the request. Finally, your iSeries machine transmits a response.

Web service workflow - Offering IBM i web services

Offering a web service begins with a business partner calling your IBM i. Parsing comes in next, when your program extracts information contained in the request call. After that, your program creates an XML or JSON response based on the request. Finally, your iSeries machine transmits a response.

Parse JSON and XML in RPG Graphic - Step 2 Offering APIs

RXS JSON & XML Parsing Subprocedure Generator

Integrate JSON & XML parsers with new and existing RPGLE business applications

RPG-XML Suite’s design philosophy is centered around minimizing code and seamlessly integrating with your RPG applications. With little more than a command and a target file, you can begin parsing JSON and XML directly from your IBM i / AS400. RPG-XML Suite’s parsing utility, BLDPRS, lets you output event-based / SAX RPGLE parsers into either source members or an IFS file; after generating the parser, all your program requires is to then configure it.

RPG-XML Suite’s parsing subprocedure generator gets the information you need when calling web services or hosting your own. To try it yourself, contact us here for a free proof of concept.

Parsing JSON and XML in RPG / RPGLE Graphic

RPG-XML Suite’s design philosophy is centered around minimizing code and seamlessly integrating with your RPG applications. With little more than a command and a target file, you can begin parsing JSON and XML directly from your IBM i / AS400. RPG-XML Suite’s parsing utility, BLDPRS, lets you output event-based / SAX RPGLE parsers into either source members or an IFS file; after generating the parser, all your program requires is to then configure it.

RPG-XML Suite’s parsing subprocedure generator gets the information you need when calling web services or hosting your own. To try it yourself, contact us here for a free proof of concept.

Parsing JSON and XML in RPG / RPGLE Graphic

DOM Parsing Subprocedures in RPGLE

Utilize the DOM parsing subprocedure tools to parse out smaller documents than SAX

While SAX is the simplest way to parse, some of our customers prefer to utilize the RPG-XML Suite DOM parsing APIs to process their XML web service data. Built as a series of subprocedures, this portion of the RXS toolkit is useful when parsing out smaller XML documents, or when parsing out a single XPath variable. If you want to leverage the DOM approach in your RPGLE applications, simply contact us here for a free proof of concept.

DOM Parsing in RPG / RPGLE Graphic

While SAX is the simplest way to parse, some of our customers prefer to utilize the RPG-XML Suite DOM parsing APIs to process their XML web service data. Built as a series of subprocedures, this portion of the RXS toolkit is useful when parsing out smaller XML documents, or when parsing out a single XPath variable. If you want to leverage the DOM approach in your RPGLE applications, simply contact us here for a free proof of concept.

DOM Parsing in RPG / RPGLE Graphic

Simplify and transform your IBM i web service architecture

Contact us today for a free web service consultation and proof of concept

Simplify and transform your IBM i web service architecture

Contact us today for a free web service consultation and proof of concept

"I would like to take this opportunity to thank you for being so helpful during our process. Apart from the functionality of the product, you have largely sold your product to us through the support you have shown."

Mark Briggs - Pfizer Australia