Testing the web service integration
Since bpm’online calls web services as part of a business process, you need to set up a test process that would display the retrieved values of its response parameters. The simplest way of implementing this is to map the response parameters to fields of an auto-generated page or pre-configured page.
1.Open the Process designer and design a process with a [Call web service] element and a pre-configured page (Fig. 1).
2.Set up the properties of the [Call web service] element as shown on (Fig. 2).
Note
In the [API key] field, enter your actual API key instead of “00000000000000000000000000000000”. You will need to register on https://fixer.io/ to obtain your API key.
3.In the pre-configured page designer, set up the pre-configured page element by adding three decimal fields (one for each currency): “Australian dollar”, “Euro”, “Ruble”, text field “Base currency” and date “Date” field. Save the page.
4.In the pre-configured page properties area, map the fields to the corresponding outgoing parameters of the [Call web service] element (Fig. 3, Fig. 4).
5.Save and run the process.
As a result, a pre-configured page (Fig. 5) will open with the currency exchange rates passed to its fields.
See also
•[Call web service] process element
•[Pre-configured page] process element
•How to use web service integration for updating currency exchange rates in the [Currencies] lookup