• 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
    Midrange Dynamics North America

    With MDRapid, you can drastically reduce application downtime from hours to minutes. Deploying database changes quickly, even for multi-million and multi-billion record files, MDRapid is easy to integrate into day-to-day operations, allowing change and innovation to be continuous while reducing major business risks.

    Learn more.

    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

  • 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
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

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