Calling a Web Service from Natural

Scenario: "I have a web service and want to call this from a Natural application."

This scenario uses the tools IDL Extractor for WSDL and Natural Wrapper of the Designer.

graphics/ws2nat-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 Natural application graphics/blue_3.gif, as shown below.

graphics/ws2nat-solution.png

graphics/blue_1.gif Extract WSDL from web service. See Using the IDL Extractor for WSDL.
graphics/blue_2.gif Generate client interface objects for Natural client application. See Natural Wrapper.
graphics/blue_3.gif Execute call from Natural client to web service. See Sample Generation Result for the Client Side.

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

  • You have Natural and a Natural RPC Server installed. See your Natural documentation for information on installing Natural and setting up a Natural RPC Server.

  • You have an EntireX Broker installed.