• 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
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    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

  • Security Still Top Concern, IBM i Marketplace Study Says
  • Bob Langieri Shares IBM i Career Trends Outlook for 2023
  • Kisco Brings Native SMS Messaging to IBM i
  • Four Hundred Monitor, February 1
  • 2023 IBM i Predictions, Part 4
  • Power Systems Did Indeed Grow Revenues Last Year
  • The IBM Power Trap: Three Mistakes That Leave You Stuck
  • Big Blue Decrees Its 2023 IBM Champions
  • As I See It: The Good, the Bad, And The Mistaken
  • IBM i PTF Guide, Volume 25, Number 5

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 © 2022 IT Jungle

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.