This tutorial demonstrates how to use COBOL to interact with a web service.

The extend Interoperability Suite includes RMNet - a library of COBOL callable subprograms for exchanging messages with other computers using the Hypertext Transfer Protocol (HTTP). It also includes XML Extensions - a library of COBOL callable subprograms for processing XML. This tutorial shows you how to integrate both of these features into a COBOL program, which is then capable of requesting information from a web service, and processing responses from the web service.

The actual example used in the tutorial is an interaction with a temperature conversion web service hosted by Most of the resources required to run this demonstration are located in the rmnet sub-directory of your product's samples directory.