EntireX and REST

With the EntireX Adapter you can offer an RPC server - for example a COBOL or Natural RPC server - as a REST resource. A typical starting point is an IDL file, which describes the interface to the RPC server. To create an IDL file, use an IDL extractor (COBOL | Natural) to extract it from the RPC server; creating a REST resource from this IDL file is described in the Integration Server Wrapper documentation (Step 4b: Create or Update a REST Resource). You will find the generated REST resource using the Service Development perspective of the Designer.

See Related Literature and scenarios described below for more information.

graphics/rest.png

The following scenarios are currently supported:


COBOL Scenarios

Calling your COBOL Programs from your REST Client

graphics/cob2rest-table.png "I have a COBOL server program and want to call this from a REST client."
Use the IDL Extractor for COBOL to create an IDL file, and use the Integration Server Wrapper to generate your REST resource from this file. graphics/toc_closed.png More info

Calling a REST API from a COBOL Application

graphics/rest2cob-table.png "I have a REST API and want to call this from a COBOL application."
Use the Integration Server to create a REST API descriptor, then the IDL Extractor for Integration Server to generate Integration Server connections and listeners. Then use the COBOL Wrapper to generate client interface objects and build a COBOL client application. graphics/toc_closed.png More info

Natural Scenarios

Calling your Natural Subprograms from your REST Client

graphics/nat2rest-table.png "I have a Natural server subprogram and want to call this from a REST client."
Use the IDL Extractor for Natural to create an IDL file, and use the Integration Server Wrapper to generate your REST resource from this file.graphics/toc_closed.png More info

Calling a REST API from a Natural Application

graphics/rest2nat-table.png "I have a REST API and want to call this from a Natural application."
Use the Integration Server to create a REST API descriptor, then the IDL Extractor for Integration Server to generate Integration Server connections and listeners. Then use the Natural Wrapper to generate client interface objects and build a Natural client application. graphics/toc_closed.png More info

Related Literature

  • Introduction to the EntireX Adapter

  • REST Developer's Guide in the webMethods Integration Server documentation

  • Configuring a REST Resource Using the URL Template-Based Approach in the online help provided under Software AG Designer Guides > webMethods Service Development Help > Working with REST