Mapping: Call REST Web Service Using Java

Mapping: Call REST Web Service Using Java

Posted by: Informatica Professional Services

A mapping with Java transformation to demonstrate how to invoke a REST based web service from Informatica Powercenter. It supports both GET and PUT methods.

Overview

Overview:Informatica powercenter supports invoking web services, i.e. acting as a web service client through the web service consumer transformation. However, this is limited to the use of SOAP based web services, i.e. REST based web services are not supported by a web service consumer transformation.Alternatively HTTP transformation can be used to invoke a web service endpoint regardless of whether it is using SOAP or REST. The Informatica Powercenter Help has details on how doing this.But HTTP transformation support only the following methods when calls REST web services.
  • GET
  • POST
REST provides other methods such as PUT, DELETE etc.This mapping example demonstrates how to invoke a REST based web service from Informatica Powercenter using JAVA transformation so that it support the PUT method. Download Contents:
  • Workflow XML with mapping and Java transformation
  • Userguide
  • Source file

Features

System Requirements

  • Informatica PowerCenter 9.1 and above.

Resources

Support