Financial Services Creatio, customer journey edition
PDF
This documentation is valid for Creatio version 7.16.0. We recommend using the newest version of Creatio documentation.

Testing the web service integration

Since Creatio 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 two consecutive elements: a [Call web service] element and a pre-configured page (Fig. 1).

Fig. 1 A process to obtain currency exchange rates using web service

scr_chapter_process_designer_call_web_servce_example.png 

2.Set up the properties of the [Call web service] element as shown on (Fig. 2).

Fig. 2 The [Call web service] element properties area

scr_chapter_process_designer_web_service_properties.png 

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).

Fig. 3 Setting up page parameters on the pre-configured page properties area

scr_chapter_process_designer_preset_page_currency_map.png 

Fig. 4 Mapping parameters of the pre-configured page to the [Call web service] element

scr_process_designer_map_web_service_params.png 

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.

Fig. 5 Currency exchange rates displayed on a pre-configured page

scr_process_designer_web_service_example.png 

See also

[Call web service] process element

[Pre-configured page] process element

Updating currency exchange rates with web service integration

 

Did you find this information useful?

How can we improve it?