Using web services a practical example

Based on the customer feedback in the latest version of Advanced ETL Processor we have introduced support for the web services

What are the web services.

The simplest way to describe it as a way of communicating with the web servers. The application sends a request to the web server using XML and receives back a reply as XML. One of the examples would be converting Fahrenheit to Celsius or getting the current currency exchange rate. A lot of modern websites such as eBay, Amazon are using web services as a standard API for developers.

Converting Fahrenheit to Celsius

In order to communicate with temperature conversion web service we need to build HTTP Request Header and HTTP Request Body dynamically, There are several ways of doing it the easiest way is to use “In Place Replace transformation” function

Generating HTTP Request Header

During execution #value# is replaced with body length

HTTP Request Body

During execution #value# is replaced with temperature

Web Service URL

Transformation

There is a detailed example in the default repository

For more technologies supported by our ETL Software see Advanced ETL Processor Versions and Visual Importer ETL Versions

Confused? Ask question on our ETL Forum

  • knowledgebase/using_web_services_a_practical_example.txt
  • Last modified: 17/09/2018 09:43
  • by admin