• 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:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Tags:

    Sponsored by
    JAMS Software

    One Scheduler. IBM i, Windows, Linux, and More.

    IBM i teams trust JAMS to schedule and orchestrate jobs across every platform in their environment. Centralized visibility, cross-platform dependency management, and alerts that reach the right person before the business feels it.

    Fewer than 5% of IBM i shops run IBM i only. The rest are managing cross-platform dependencies — often without a clear picture of how they connect. JAMS draws that map, enforces those dependencies automatically, and gives your team a single place to monitor, manage, and recover when something goes wrong.

    If you are running hundreds of CL scripts and custom RPG processes, bring them as-is. JAMS runs them exactly as they do today — except now they are visible, monitored, and part of an orchestrated workflow instead of scattered across folders only one person knows about.

    No consumption-based pricing. No surprise bills when your workload spikes. You pay based on how many machines JAMS talks to — that’s it.

    Learn More → https://jamsscheduler.com/lp/ibm-i

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) 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

    How Trek Solved Its IBM i-to-Cloud Data Integration Challenge Infor Cloud EDI . . . DocOrigin Replaces JetForm . . . Empowered with Web Services . . .

    Leave a ReplyCancel 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

  • Big Blue Ships Bob 2.0 And Premium Package For IBM i
  • Your IBM i Jobs Don’t Live On An Island Anymore
  • FalconStor Creates Cloud Clean Room To Prove Backup Recoveries Work
  • Talking Git On IBM i With A Bunch Of IBM i Gits
  • IBM i PTF Guide, Volume 28, Number 22
  • More Power Systems Price Hikes, This Time They Are “Directional”
  • AI Is Not Just For Developers, It Is For Everyone At Your Company
  • Guru: Finding Data In The Forest – Exploring Three-Part Naming In SQL
  • Former IBMer’s New Book Puts The Midrange In The Spotlight
  • Have You Tried To Buy A Server Lately?

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