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 tools IDL Extractor for WSDL and COBOL Wrapper of the 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.

What do I need to Install for this Scenario?

  • You have Software AG Designer installed with EntireX plugins and Service Development plugins.

    • For EntireX plugins, see Designer > EntireX Designer under EntireX Installation Packages in the General Installation documentation.

    • For Service Development plugins, refer to the Integration Server documentation.

  • You have an RPC Server for XML/SOAP installed, either

  • On the machine where the COBOL client program is executed, you have the Broker stubs installed. See Administering Broker Stubs under z/OS | Linux | Windows | BS2000 | z/VSE | IBM i.

  • You have an EntireX Broker installed.