I read this article (written by Scott Klement) a few years ago and it was a great intro to the principles of using a webservice to read data on another computer in the cloud. Fast forward to this week, and since I’ve just written a webservice control procedure, I was looking for this document to

Read More

Lets start with this ‘REST vs SOAP is not the right question to ask you silly billy! SOAP is a protocol – REST is an architectural style (a design for network-based software architectures) REST concepts are referred to as resources. A representation of a resource must be stateless. It is represented via some media type.

Read More

How to Debug HTTPAPI RPG Programs If you are using the IBM i HTTPAPI (LIBHTTP) opensource utilities, you already realize how easy it is to talk to an internet web service from within your IBM i RPG programs but sometimes even the best-laid plans go wrong. This is when you need to learn how about

Read More

Lets look at an example RPG program talking to a webservice As an RPG Programmer you are probably writing a ton of code to talk to remote webservices out there in internet land. If you are just learning webservice programming, it can seem like a daunting exercise. So, to help you with your first steps

Read More

Most IBM i shops using webservices to talk to the Internet, will convert the data they are sharing into a web-service format like XML or JSON before sending it out. Obviously the responses will be in the same format and they need to convert it back into native IBM i format to use it. That

Read More

I’m in the final stages of a fun project writing web-services to interface INFOR System21 (on an IBM i aka AS400) with ACSIS Visitrack (on Windows Server), we are consuming (receiving) and serving (sending) all data in a standard alphameric layout But… as any RPG programmer will know… the conversion between alpha to numeric is

Read More

HTTPAPI (LIBHTTP) on IBM i is the bomb. Luckily I am not boarding a plane at the moment, so I can use that kind of language without getting strip-searched by some burly TSA agents. Me, GLad I[‘m not typing this from an airport After spending far too long investigating various techniques to get my IBM

Read More

So, for a recent project I wanted to create a simple webservice, a “heartbeat” program that would be written in RPG and would reply to anbody calling it from anywhere on the network with a simple response that indicated that it worked. A webservice is routine that can be called over a TCP/IP network. •

Read More