Create JSON & XML in RPGLE

Composing JSON and XML with RPG-XML Suite

Compose JSON in RPG / RPGLE Icon

JSON Composition
Subprocedure
APIs

RPG-XML Suite’s JSON APIs function as a collection of RPG subprocedures, designed to help you construct both beautified and condensed JSON documents.

Compose XML Templates in RPG / RPGLE Icon

XML Template
Subprocedure
Generator

Build complex XML for your REST and SOAP web service needs. Utilize RPG-XML Suite’s template engine to build out convenient RPGLE composition subprocedures.

Characters Converting with CCSID & Unicode Icon

Text Conversions,
CCSID Handling,
Encoding / Decoding

RPG-XML Suite helps you perform many common text and data conversions including: Base 64 encoding, CCSID conversion, query string encoding, XML encoding, and more.

Creating API data in the RPG-XML Suite workflow

Create JSON and XML in RPG / RPGLE Graphic - Step 1 Calling APIs

Web service workflow - Calling APIs from your IBM i

Calling a remote API begins with your RPG application composing an HTTP request configured to the API’s requirements. After sending a request and receiving a response, your RPG program parses the response into IFS files, program variables, DB2, etc.

Web service workflow - Calling APIs from your IBM i

Calling a remote API begins with your RPG application composing an HTTP request configured to the API’s requirements. After sending a request and receiving a response, your RPG program parses the response into IFS files, program variables, DB2, etc.

Create JSON and XML in RPG / RPGLE Graphic - Step 1 Calling APIs
Create JSON and XML in RPG Graphic - Step 3 Offering APIs

Web service workflow - Offering IBM i web services

Offering web services begins with a business partner calling your IBM i, followed by your RPGLE program parsing the request. The creation step begins when your program starts composing an XML or JSON response. Lastly, your iSeries system transmits your response.

Web service workflow - Offering IBM i web services

Offering web services begins with a business partner calling your IBM i, followed by your RPGLE program parsing the request. The creation step begins when your program starts composing an XML or JSON response. Lastly, your iSeries system transmits your response.

Create JSON and XML in RPG Graphic - Step 3 Offering APIs

Creating JSON with the RXS JSON APIs

Compose request and response data for HTTP calls on your IBM i using RXS JSON subprocedures

Many of our customers utilize the RXS JSON composition APIs within their IBM i web services. The process for creating JSON with RXS is simple, involving 2 main steps. First, your program declares JSON elements as objects and arrays containing “key : value” pairs, as well as data types. The second step involves passing the composed JSON structure into a handler and deciding where it should go (such as the IFS or a string).

This simple pack of JSON-centric subprocedures helps developers to quickly and easily create JSON in RPG. To begin creating JSON on your IBM i, contact our team here for a free, no-commitment proof of concept.

Create JSON Subprocedure APIs in RPG Graphic

Many of our customers utilize the RXS JSON composition APIs within their IBM i web services. The process for creating JSON with RXS is simple, involving 2 main steps. First, your program declares JSON elements as objects and arrays containing “key : value” pairs, as well as data types. The second step involves passing the composed JSON structure into a handler and deciding where it should go (such as the IFS or a string).

This simple pack of JSON-centric subprocedures helps developers to quickly and easily create JSON in RPG. To begin creating JSON on your IBM i, contact our team here for a free, no-commitment proof of concept.

Create JSON Subprocedure APIs in RPG Graphic

Composing XML with Template Subprocedure Generators

Eliminate the countless hours and costs associated with manual coding; build out complex XML in RPGLE

RPG-XML Suite’s XML template subprocedure generator is the most robust in the industry, capable of creating XML to your every specification. Creating templates is a simple two-part process; the first step involves setting up a customized XML document, while the second step involves using that document to create an RPG subprocedure. RPG-XML Suite helps you compose XML precisely as you need it, with minimal effort on your part.

To see how easy RPG-XML Suite is to use, contact us here to request a free proof of concept and we will build out an RXS program based on your API needs.

Creating XML with Templates in RPG / RPGLE Graphic

Composing XML with Template Subprocedure Generators

Eliminate the countless hours and costs associated with manual coding; build out complex XML in RPGLE

RPG-XML Suite’s XML template subprocedure generator is the most robust in the industry, capable of creating XML to your every specification. Creating templates is a simple two-part process; the first step involves setting up a customized XML document, while the second step involves using that document to create an RPG subprocedure. RPG-XML Suite helps you compose XML precisely as you need it, with minimal effort on your part.

To see how easy RPG-XML Suite is to use, contact us here to request a free proof of concept and we will build out an RXS program based on your API needs.

Creating XML with Templates 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 followed some example code on your website and have a simple app up and running very similar to what my client needs. I just need to adapt it to their JD Edwards World Database. Your software is making me look like a hero!"

Carl Galgano - EDI Consulting