Calling a Web Service from COBOL

Scenario: "I have a Web service and want to call this from a COBOL application."

This scenario uses the EntireX Workbench tools IDL Extractor for WSDL and COBOL Wrapper of the Software AG Designer.

graphics/ws2cob-simple.png

Solution: Take an existing Web service graphics/blue_1.gif and generate the integration logic graphics/blue_2.gif to call it from a COBOL application graphics/blue_3.gif, as shown below.

graphics/ws2cob-solution.png

graphics/blue_1.gif Extract WSDL from Web service. See Using the IDL Extractor for WSDL.
graphics/blue_2.gif Generate objects for COBOL client application. See COBOL Wrapper.
graphics/blue_3.gif Execute call from COBOL client to Web service.