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 EntireX Workbench tools IDL Extractor for WSDL and Natural Wrapper of the Software AG 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 Software AG 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 under Using the Natural Wrapper.