• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • REST Services For IBM i In developerWorks Spotlight

    February 4, 2015 Alex Woodie

    One of the exciting new features added to IBM i in late 2014 is support for REST-based Web services. The rest of the world has accepted REST services as the de-facto integration standard on the Web, and now this approach is being supported within IBM i too. But how do you actually go about building and managing REST services in IBM i? Let the smart IBMers at developerWorks show you how.

    REST services are very new to IBM i, having been announced by IBM just four months ago and delivered in late December 2014 with the various HTTP Group PTFs that included the REST capabilities in the latest round of Technology Refreshers, specifically IBM i 7.1 TR9 and IBM i 7.2 TR1.

    In “Building a REST service with integrated web services server for IBM i: Part 1,” IBM software engineer Nadir Amra provides a technical overview of REST services through the IBM i lens.

    Amra starts out by providing some context. For several years, IBM i has supported an alternative Web services protocol called SOAP (Simple Object Access Protocol). Developers have been able to use IBM i’s integrated Web services capabilities to expose ILE programs and service programs via the SOAP protocol. While SOAP is still widespread and is popular with first-gen service oriented architecture (SOA) approaches, the pure HTTP approach represented by REST has exceeded the popularity of SOAP. It’s clear that REST is the leader when it comes to Web services technologies.

    The good news for IBM i developers who want to start using the new REST (Representational State Transfer) method is that many of the same techniques they learned with SOAP still apply. “The unmatched simplicity of exposing assets (for example, data or services) as SOAP-based Web services has now been extended to REST-based Web services,” Amra writes.

    In part 1 of his series, Amra familiarizes developers with basic REST concepts, such as URIs versus URLs, root resources, resource methods, and the input and output parameters for resource methods. He also covers how the integrated Web services server in IBM i supports REST services, and how the different data types (JSON and XML) are represented.

    In “Building a REST service with integrated web services server for IBM i: Part 2”, Amra leads the reader through the development and deployment of a simple RESTful application based on RPG. Readers are expected to be familiar with the IBM Web Administration for i GUI, which provides access to the Create Web Services Server wizard.

    Both part 1 and part 2 were published just last week, so they are still fresh, Amra plans one more piece to this series, which will focus on building more complex REST services using ILE assets. We’ll keep an eye out for this piece when it’s done.

    The World Wide Web has evolved tremendously over the past 20 years, and the pace of development can be daunting. But, as Amra writes, the technological advances also present new opportunities for the crafty IBM i developer to exploit.

    “Developing REST APIs is a great way of promoting data sharing and reuse, but more importantly, it enables enterprises to engage customers in new markets,” he writes. “By allowing external developers to access your data through REST, you make it easy for them to build cool new applications and come up with interesting ways to piggyback on your product or data. So unleash your assets!”

    RELATED STORY

    App Dev, Database Top IBM i TR9 and TR1 Enhancements

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    VISUAL LANSA 16 WEBINAR

    Trying to balance stability and agility in your IBM i environment?

    Join this webinar and explore Visual LANSA 16 – our enhanced professional low-code platform designed to help organizations running on IBM i evolve seamlessly for what’s next.

    🎙️VISUAL LANSA 16 WEBINAR

    Break Monolithic IBM i Applications and Unlock New Value

    Explore modernization without rewriting. Decouple monolithic applications and extend their value through integration with modern services, web frameworks, and cloud technologies.

    🗓️ July 10, 2025

    ⏰ 9 AM – 10 AM CDT (4 PM to 5 PM CEST)

    See the webinar schedule in your time zone

    Register to join the webinar now

    What to Expect

    • Get to know Visual LANSA 16, its core features, latest enhancements, and use cases
    • Understand how you can transition to a MACH-aligned architecture to enable faster innovation
    • Discover native REST APIs, WebView2 support, cloud-ready Azure licensing, and more to help transform and scale your IBM i applications

    Read more about V16 here.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    Northeast User Groups Conference:  25th Annual Conference, March 30 - April 1, Framingham, MA
    Profound Logic Software:  Reach Your Modernization Goals. Register for the February 25 Webinar now!
    System i Developer:  Upgrade your skills at the RPG & DB2 Summit in Dallas, March 17-19

    IBM Redpaper Guides You To IBM i Modernization Tools Surrounding The IBM i

    Leave a Reply Cancel reply

Volume 25, Number 06 -- February 4, 2015
THIS ISSUE SPONSORED BY:

ARCAD Software
HelpSystems
Shield Advanced Solutions
COMMON
Krengeltech

Table of Contents

  • BCD Bolsters RPG OA Support in Presto 6
  • Chrono-Logic Change Management Software Targets IBM i
  • How Trek Solved Its IBM i-to-Cloud Data Integration Challenge
  • REST Services For IBM i In developerWorks Spotlight
  • Infor Cloud EDI . . . DocOrigin Replaces JetForm . . . Empowered with Web Services . . .

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Liam Allan Shares What’s Coming Next With Code For IBM i
  • From Stable To Scalable: Visual LANSA 16 Powers IBM i Growth – Launching July 8
  • VS Code Will Be The Heart Of The Modern IBM i Platform
  • The AS/400: A 37-Year-Old Dog That Loves To Learn New Tricks
  • IBM i PTF Guide, Volume 27, Number 25
  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle