SlideShare a Scribd company logo
Home » Blogs » Data Management
How to use Informatica Power Center as a RESTful Web Service Client?
By SatishKumar | July 2 3, 2 019
Introduction
In today’s world DATA is ubiquitous and critical to the business which eventually increases the
need for integration across different platforms like Cloud, Web Service Provider etc. When it
comes to Data Integration, business needs effective communication between their software
systems and ETL tool to fulfill their needs.
This blog post explains what a REST Web Service is, how you can create a Power Center
workflow, use REST based method to access the web services via HTTP Transformation.
REST Overview
Web Service provides a common platform that allows two different applications on various
platforms to communicate and exchange messages between them over HTTP protocol. Web
Services can be accessed using different methods or styles. In Web Service world
REpresentational State Transfer(REST) is a stateless client-server architecture in which Web
Services are exposed as URLs. The typical method of accessing Web resource in a RESTful
system is through various HTTP methods such as GET, POST, PUT and DELETE.
REST can use SOAP Web Services and any protocol such as HTTP, SOAP.
High-Level REST Architecture
FIGURE 1: HIGH-LEVEL REST ARCHITECTURE
REST call using Informatica Power Center
Let us explain with the help of a sample web service which is used in a Retail Industry. In a
Retail industry, customer can purchase various items from the retailer through online and offline
and we need a centralized repository called a Data Warehouse where all the transactional data is
fed into. The item details are then further normalized into Data Marts to form a common schema
which will have facts and dimensions. On a large scale environment, this could be a cumbersome
task in designing a data model.
To overcome this we have business needs to access the data over the network and the best way
will be to use the web service. So the final order details, pricing, payment details, and shipping
Choose Category
Data Management (51)
Data Science (22)
Data Engineering (11)
Intelligence (10)
Cloud Services (4)
Customer Experience (3)
Corporate (1)
featured (1)
POPULAR READS
D ATA MAN AGEMEN T | J ul y 2 3 , 2 019
How to use Informatica Power Center
as a RESTful Web Service Client?
D ATA MAN AGEMEN T | J ul y 2 3 , 2 019
How to integrate Informatica Data
Quality(IDQ) with Informatica MDM
D ATA MAN AGEMEN T | J ul y 2 5 , 2 019
Deterministic Matching versus
Probabilistic Matching
D ATA MAN AGEMEN T | J ul y 2 5 , 2 019
Informatica MDM MDE Batch Process
in a nutshell
skip to main content Blog Resources Events Careers Contact Us
I N T E L L I G E N C E I N D U S T R I E S W H AT W E O F F E R A B O U T U S 
SUBSCRIBE
information are translated internally and saved in a third party system which is either in an XML
or JSON format. The third-party system hosted over a secured network is accessed via a URL.
Since this system is based on REST API calls, we use Informatica Power Center as a client to
access the server which is a web service API. Informatica Data Quality (IDQ) can also be integrated
separately with the Power Center and Informatica MDM to strengthen enterprise data quality.
In Power Center, you can use an HTTP transformation to send a request and receive a response
from a REST Web service.
Success Story
5.5% revenue uplift for an Insurance Provider
with a Customer-360 view
Learn More Success Story
Pre-requisites to configure REST call using HTTP Transformation
Valid REST based URL supporting either XML or JSON
Valid SSL certificates to connect to REST URL outside of the network
Basic Authentication Mechanism(User Name and Password)
Step by Step Process
Creating a Source File
Create a source file which specifies the search parameters to be passed as input to the HTTP
transformation.
FIGURE 2: SOURCE FILE
Create HTTP Transformation
Create HTTP transformation with the following input ports:
Username
Password
OrderNumber
FIGURE 3: HTTP TRANSFORMATION
Base URL
Set the Base URL to get the Order details based on the input parameters passed from the
source file.
Base URL: https://test-swaggerUI/orders/search
SUBSCRIBE
FIGURE 4: BASE URL SETTINGS
Set the HTTP Header parameters
Header parameters in HTTP transformation contain header data for request and response in a
specified format such as XML or JSON. Following are the parameters:
Default Value: Specify the acceptable values supported by the web service. By default, the
response will be in JSON. If you need XML you need to specify as ‘text/xml’
HTTP Name: For REST API the default value is “Accept”
FIGURE 5: HEADER PARAMETER SETTINGS
HTTP Method Selection Type
Specify the type of HTTP method on the URL. In our example we are trying to get the order
detail information, so specify the type as “GET”
SUBSCRIBE
FIGURE 6: HTTP METHOD SELECTION TYPE
HTTP Output
Pass the HTTP output to either a flat file or an XML parser to parse the information and load it
into the target table. In this example, we write the output of the HTTP to a flat file.
This is how the final mapping will look like.
Final Mapping
FIGURE 7: FINAL MAPPING
Create a connection in Workflow manager and run the workflow
Navigate to Workflow manager ->Connections-> Applications->HTTP Transformation
FIGURE 8: HTTP APPLICATION TYPE
Name: Enter the name of the HTTP Transformation which is understandable
SUBSCRIBE
User Name: Enter the username of the REST API URL call
Password: Enter the password for the URL
Authentication Type: Select the Authentication type as “Basic”
Create a workflow for the mapping and run the workflow. Finally, view the output. In our
example, for the Order Number “ORD-123”
FIGURE 9: FINAL OUTPUT
Issues faced while connecting to HTTP Transformation
While using HTTP Transformation the most common issue is “SSL Certificate Error”. So when
you run the workflow which is using the final URL you will get the below errors in session logs
Root Cause
This error is caused because the connection to the web service URL or Rest API does not
include the certificate data that is needed to authenticate the connection from the certificate
provider’s end. The certificate bundle does not contain a certificate from a Certificate Authority
that the Web service Provider uses.
Resolution
Download the SSL certificates for the URL and add to the certificate files located under
$INFA_HOME/server/bin/ca-bundle.crt
Refer the below KB article to know how to add those certificates
HOW TO: Extract certificates from a HTTPS URL and add to ca-bundle.crt file
SUBSCRIBE
Conclusion
This concludes how to create a Power Center Workflow using REST based methods to access a
web service using HTTP Transformation, invoke HTTP commands to get data from the web
service resource.
Satish Kumar
Senior Technical Consultant
He has having around 6 plus years of experience in
development and implementation of ETL and MDM
solutions.
The Retail Industry and IT
Data Management: A Match
Made in Heaven (Or at Least
in the Cloud)
By JohnHarrington | Feb ruary 16, 2 02 3
Data Governance and BCBS
239: How our Service Pods
can help
By JohnHarrington | January 31, 2 02 3
Next-Generation MDM -
Architecting Intelligence
for the Future
By Jeff Pohlmann | May 5 , 2 02 2
MORE READS
Stay Updated On The Trending Topics On Data And
Analytics.
S U B S C R I B E
    
W H O W E A R E C A R E E R S E V E N T S R E S O U R C E S B L O G C O N T A C T U S
Sitemap Terms of Use Privacy Policy
Mastech InfoTrellis, INC. © 2023
Mastech InfoTrellis is the wholly-owned subsidiary of Mastech Digital
SUBSCRIBE
Ad

More Related Content

Similar to How to use Informatica Power Center as a RESTful Web Service Client? (20)

Aspmvc
AspmvcAspmvc
Aspmvc
durai arasan
 
SharePoint 2010 Global Deployment
SharePoint 2010 Global DeploymentSharePoint 2010 Global Deployment
SharePoint 2010 Global Deployment
Joel Oleson
 
Ssh 1
Ssh 1Ssh 1
Ssh 1
Suresh G
 
S S H 1
S S H 1S S H 1
S S H 1
Suresh G
 
Cloud 12 08 V2
Cloud 12 08 V2Cloud 12 08 V2
Cloud 12 08 V2
Pini Cohen
 
Producing an OData feed in 10 minutes
Producing an OData feed in 10 minutesProducing an OData feed in 10 minutes
Producing an OData feed in 10 minutes
Woodruff Solutions LLC
 
Microsoft Lending Reference Architecture
Microsoft Lending Reference ArchitectureMicrosoft Lending Reference Architecture
Microsoft Lending Reference Architecture
Mike Walker
 
Application Architecture -Data, Process, Rule-
Application Architecture -Data, Process, Rule-Application Architecture -Data, Process, Rule-
Application Architecture -Data, Process, Rule-
Masahiko Umeno
 
REST: So What's It All About? (SAP TechEd 2011, MOB107)
REST: So What's It All About? (SAP TechEd 2011, MOB107)REST: So What's It All About? (SAP TechEd 2011, MOB107)
REST: So What's It All About? (SAP TechEd 2011, MOB107)
Sascha Wenninger
 
MAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
MAX 2008: Build collaborative applications with Flex LCDS and CairngormMAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
MAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
Xavier Agnetti
 
Unit I - Introduction to E-Commerce.pptx
Unit I - Introduction to E-Commerce.pptxUnit I - Introduction to E-Commerce.pptx
Unit I - Introduction to E-Commerce.pptx
pragyadheer1
 
Fm 2
Fm 2Fm 2
Fm 2
sambavade
 
Pinterest like site using REST and Bottle
Pinterest like site using REST and Bottle Pinterest like site using REST and Bottle
Pinterest like site using REST and Bottle
Gaurav Bhardwaj
 
Angular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesAngular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP Services
WebStackAcademy
 
SCWCD : The web client model : CHAP : 1
SCWCD  : The web client model : CHAP : 1SCWCD  : The web client model : CHAP : 1
SCWCD : The web client model : CHAP : 1
Ben Abdallah Helmi
 
Boxcars and Cabooses: When One More XHR Is Too Much
Boxcars and Cabooses: When One More XHR Is Too MuchBoxcars and Cabooses: When One More XHR Is Too Much
Boxcars and Cabooses: When One More XHR Is Too Much
Peter Chittum
 
Integrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Integrating SFDC and Oracle ERP with IBM Websphere CastIron ApplianceIntegrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Integrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Sandeep Chellingi
 
Integrating Salesforce.com and Oracle ERP Using IBM WebSphere Cast Iron
Integrating Salesforce.com and Oracle ERP Using IBM WebSphere Cast IronIntegrating Salesforce.com and Oracle ERP Using IBM WebSphere Cast Iron
Integrating Salesforce.com and Oracle ERP Using IBM WebSphere Cast Iron
Prolifics
 
Software as Service
Software as ServiceSoftware as Service
Software as Service
abhigad
 
Rest API Automation with REST Assured
Rest API Automation with REST AssuredRest API Automation with REST Assured
Rest API Automation with REST Assured
TO THE NEW Pvt. Ltd.
 
SharePoint 2010 Global Deployment
SharePoint 2010 Global DeploymentSharePoint 2010 Global Deployment
SharePoint 2010 Global Deployment
Joel Oleson
 
Cloud 12 08 V2
Cloud 12 08 V2Cloud 12 08 V2
Cloud 12 08 V2
Pini Cohen
 
Microsoft Lending Reference Architecture
Microsoft Lending Reference ArchitectureMicrosoft Lending Reference Architecture
Microsoft Lending Reference Architecture
Mike Walker
 
Application Architecture -Data, Process, Rule-
Application Architecture -Data, Process, Rule-Application Architecture -Data, Process, Rule-
Application Architecture -Data, Process, Rule-
Masahiko Umeno
 
REST: So What's It All About? (SAP TechEd 2011, MOB107)
REST: So What's It All About? (SAP TechEd 2011, MOB107)REST: So What's It All About? (SAP TechEd 2011, MOB107)
REST: So What's It All About? (SAP TechEd 2011, MOB107)
Sascha Wenninger
 
MAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
MAX 2008: Build collaborative applications with Flex LCDS and CairngormMAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
MAX 2008: Build collaborative applications with Flex LCDS and Cairngorm
Xavier Agnetti
 
Unit I - Introduction to E-Commerce.pptx
Unit I - Introduction to E-Commerce.pptxUnit I - Introduction to E-Commerce.pptx
Unit I - Introduction to E-Commerce.pptx
pragyadheer1
 
Pinterest like site using REST and Bottle
Pinterest like site using REST and Bottle Pinterest like site using REST and Bottle
Pinterest like site using REST and Bottle
Gaurav Bhardwaj
 
Angular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesAngular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP Services
WebStackAcademy
 
SCWCD : The web client model : CHAP : 1
SCWCD  : The web client model : CHAP : 1SCWCD  : The web client model : CHAP : 1
SCWCD : The web client model : CHAP : 1
Ben Abdallah Helmi
 
Boxcars and Cabooses: When One More XHR Is Too Much
Boxcars and Cabooses: When One More XHR Is Too MuchBoxcars and Cabooses: When One More XHR Is Too Much
Boxcars and Cabooses: When One More XHR Is Too Much
Peter Chittum
 
Integrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Integrating SFDC and Oracle ERP with IBM Websphere CastIron ApplianceIntegrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Integrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Sandeep Chellingi
 
Integrating Salesforce.com and Oracle ERP Using IBM WebSphere Cast Iron
Integrating Salesforce.com and Oracle ERP Using IBM WebSphere Cast IronIntegrating Salesforce.com and Oracle ERP Using IBM WebSphere Cast Iron
Integrating Salesforce.com and Oracle ERP Using IBM WebSphere Cast Iron
Prolifics
 
Software as Service
Software as ServiceSoftware as Service
Software as Service
abhigad
 
Rest API Automation with REST Assured
Rest API Automation with REST AssuredRest API Automation with REST Assured
Rest API Automation with REST Assured
TO THE NEW Pvt. Ltd.
 

Recently uploaded (20)

TMG - Q3 2025 Earnings Call Slides - v4.pptx
TMG - Q3 2025 Earnings Call Slides - v4.pptxTMG - Q3 2025 Earnings Call Slides - v4.pptx
TMG - Q3 2025 Earnings Call Slides - v4.pptx
Marketing847413
 
Yuriy Chapran: Zero Trust and Beyond: OpenVPN’s Role in Next-Gen Network Secu...
Yuriy Chapran: Zero Trust and Beyond: OpenVPN’s Role in Next-Gen Network Secu...Yuriy Chapran: Zero Trust and Beyond: OpenVPN’s Role in Next-Gen Network Secu...
Yuriy Chapran: Zero Trust and Beyond: OpenVPN’s Role in Next-Gen Network Secu...
Lviv Startup Club
 
waterBeta white paper - 250202- two-column.docx
waterBeta white paper - 250202- two-column.docxwaterBeta white paper - 250202- two-column.docx
waterBeta white paper - 250202- two-column.docx
Peter Adriaens
 
CGG Deck English - Apr 2025-edit (1).pptx
CGG Deck English - Apr 2025-edit (1).pptxCGG Deck English - Apr 2025-edit (1).pptx
CGG Deck English - Apr 2025-edit (1).pptx
China_Gold_International_Resources
 
AlaskaSilver Corporate Presentation Apr 28 2025.pdf
AlaskaSilver Corporate Presentation Apr 28 2025.pdfAlaskaSilver Corporate Presentation Apr 28 2025.pdf
AlaskaSilver Corporate Presentation Apr 28 2025.pdf
Western Alaska Minerals Corp.
 
Harnessing Hyper-Localisation: A New Era in Retail Strategy
Harnessing Hyper-Localisation: A New Era in Retail StrategyHarnessing Hyper-Localisation: A New Era in Retail Strategy
Harnessing Hyper-Localisation: A New Era in Retail Strategy
RUPAL AGARWAL
 
intra-mart Accel series 2025 Spring updates-en.ppt
intra-mart Accel series 2025 Spring updates-en.pptintra-mart Accel series 2025 Spring updates-en.ppt
intra-mart Accel series 2025 Spring updates-en.ppt
NTTDATA INTRAMART
 
From Sunlight to Savings The Rise of Homegrown Solar Power.pdf
From Sunlight to Savings The Rise of Homegrown Solar Power.pdfFrom Sunlight to Savings The Rise of Homegrown Solar Power.pdf
From Sunlight to Savings The Rise of Homegrown Solar Power.pdf
Insolation Energy
 
Mexico Office Furniture Market Share, Size, Growth & Trends (2025-2034)
Mexico Office Furniture Market Share, Size, Growth & Trends (2025-2034)Mexico Office Furniture Market Share, Size, Growth & Trends (2025-2034)
Mexico Office Furniture Market Share, Size, Growth & Trends (2025-2034)
janewatson684
 
2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
ThiNgc22
 
Brandon Flatley - A Skilled Musician
Brandon Flatley - A Skilled MusicianBrandon Flatley - A Skilled Musician
Brandon Flatley - A Skilled Musician
Brandon Flatley
 
www.visualmedia.com digital markiting (1).pptx
www.visualmedia.com digital markiting (1).pptxwww.visualmedia.com digital markiting (1).pptx
www.visualmedia.com digital markiting (1).pptx
Davinder Singh
 
BeMetals_Presentation_May_2025 .pdf
BeMetals_Presentation_May_2025      .pdfBeMetals_Presentation_May_2025      .pdf
BeMetals_Presentation_May_2025 .pdf
DerekIwanaka2
 
Influence of Career Development on Retention of Employees in Private Univers...
Influence of Career Development on Retention of  Employees in Private Univers...Influence of Career Development on Retention of  Employees in Private Univers...
Influence of Career Development on Retention of Employees in Private Univers...
publication11
 
Region Research (Hiring Trends) Vietnam 2025.pdf
Region Research (Hiring Trends) Vietnam 2025.pdfRegion Research (Hiring Trends) Vietnam 2025.pdf
Region Research (Hiring Trends) Vietnam 2025.pdf
Consultonmic
 
From Dreams to Threads: The Story Behind The Chhapai
From Dreams to Threads: The Story Behind The ChhapaiFrom Dreams to Threads: The Story Behind The Chhapai
From Dreams to Threads: The Story Behind The Chhapai
The Chhapai
 
Network Detection and Response (NDR): The Future of Intelligent Cybersecurity
Network Detection and Response (NDR): The Future of Intelligent CybersecurityNetwork Detection and Response (NDR): The Future of Intelligent Cybersecurity
Network Detection and Response (NDR): The Future of Intelligent Cybersecurity
GauriKale30
 
Top 5 Mistakes to Avoid When Writing a Job Application
Top 5 Mistakes to Avoid When Writing a Job ApplicationTop 5 Mistakes to Avoid When Writing a Job Application
Top 5 Mistakes to Avoid When Writing a Job Application
Red Tape Busters
 
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdfComments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Brij Consulting, LLC
 
India Advertising Market Size & Growth | Industry Trends
India Advertising Market Size & Growth | Industry TrendsIndia Advertising Market Size & Growth | Industry Trends
India Advertising Market Size & Growth | Industry Trends
Aman Bansal
 
TMG - Q3 2025 Earnings Call Slides - v4.pptx
TMG - Q3 2025 Earnings Call Slides - v4.pptxTMG - Q3 2025 Earnings Call Slides - v4.pptx
TMG - Q3 2025 Earnings Call Slides - v4.pptx
Marketing847413
 
Yuriy Chapran: Zero Trust and Beyond: OpenVPN’s Role in Next-Gen Network Secu...
Yuriy Chapran: Zero Trust and Beyond: OpenVPN’s Role in Next-Gen Network Secu...Yuriy Chapran: Zero Trust and Beyond: OpenVPN’s Role in Next-Gen Network Secu...
Yuriy Chapran: Zero Trust and Beyond: OpenVPN’s Role in Next-Gen Network Secu...
Lviv Startup Club
 
waterBeta white paper - 250202- two-column.docx
waterBeta white paper - 250202- two-column.docxwaterBeta white paper - 250202- two-column.docx
waterBeta white paper - 250202- two-column.docx
Peter Adriaens
 
Harnessing Hyper-Localisation: A New Era in Retail Strategy
Harnessing Hyper-Localisation: A New Era in Retail StrategyHarnessing Hyper-Localisation: A New Era in Retail Strategy
Harnessing Hyper-Localisation: A New Era in Retail Strategy
RUPAL AGARWAL
 
intra-mart Accel series 2025 Spring updates-en.ppt
intra-mart Accel series 2025 Spring updates-en.pptintra-mart Accel series 2025 Spring updates-en.ppt
intra-mart Accel series 2025 Spring updates-en.ppt
NTTDATA INTRAMART
 
From Sunlight to Savings The Rise of Homegrown Solar Power.pdf
From Sunlight to Savings The Rise of Homegrown Solar Power.pdfFrom Sunlight to Savings The Rise of Homegrown Solar Power.pdf
From Sunlight to Savings The Rise of Homegrown Solar Power.pdf
Insolation Energy
 
Mexico Office Furniture Market Share, Size, Growth & Trends (2025-2034)
Mexico Office Furniture Market Share, Size, Growth & Trends (2025-2034)Mexico Office Furniture Market Share, Size, Growth & Trends (2025-2034)
Mexico Office Furniture Market Share, Size, Growth & Trends (2025-2034)
janewatson684
 
2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
ThiNgc22
 
Brandon Flatley - A Skilled Musician
Brandon Flatley - A Skilled MusicianBrandon Flatley - A Skilled Musician
Brandon Flatley - A Skilled Musician
Brandon Flatley
 
www.visualmedia.com digital markiting (1).pptx
www.visualmedia.com digital markiting (1).pptxwww.visualmedia.com digital markiting (1).pptx
www.visualmedia.com digital markiting (1).pptx
Davinder Singh
 
BeMetals_Presentation_May_2025 .pdf
BeMetals_Presentation_May_2025      .pdfBeMetals_Presentation_May_2025      .pdf
BeMetals_Presentation_May_2025 .pdf
DerekIwanaka2
 
Influence of Career Development on Retention of Employees in Private Univers...
Influence of Career Development on Retention of  Employees in Private Univers...Influence of Career Development on Retention of  Employees in Private Univers...
Influence of Career Development on Retention of Employees in Private Univers...
publication11
 
Region Research (Hiring Trends) Vietnam 2025.pdf
Region Research (Hiring Trends) Vietnam 2025.pdfRegion Research (Hiring Trends) Vietnam 2025.pdf
Region Research (Hiring Trends) Vietnam 2025.pdf
Consultonmic
 
From Dreams to Threads: The Story Behind The Chhapai
From Dreams to Threads: The Story Behind The ChhapaiFrom Dreams to Threads: The Story Behind The Chhapai
From Dreams to Threads: The Story Behind The Chhapai
The Chhapai
 
Network Detection and Response (NDR): The Future of Intelligent Cybersecurity
Network Detection and Response (NDR): The Future of Intelligent CybersecurityNetwork Detection and Response (NDR): The Future of Intelligent Cybersecurity
Network Detection and Response (NDR): The Future of Intelligent Cybersecurity
GauriKale30
 
Top 5 Mistakes to Avoid When Writing a Job Application
Top 5 Mistakes to Avoid When Writing a Job ApplicationTop 5 Mistakes to Avoid When Writing a Job Application
Top 5 Mistakes to Avoid When Writing a Job Application
Red Tape Busters
 
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdfComments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Brij Consulting, LLC
 
India Advertising Market Size & Growth | Industry Trends
India Advertising Market Size & Growth | Industry TrendsIndia Advertising Market Size & Growth | Industry Trends
India Advertising Market Size & Growth | Industry Trends
Aman Bansal
 
Ad

How to use Informatica Power Center as a RESTful Web Service Client?

  • 1. Home » Blogs » Data Management How to use Informatica Power Center as a RESTful Web Service Client? By SatishKumar | July 2 3, 2 019 Introduction In today’s world DATA is ubiquitous and critical to the business which eventually increases the need for integration across different platforms like Cloud, Web Service Provider etc. When it comes to Data Integration, business needs effective communication between their software systems and ETL tool to fulfill their needs. This blog post explains what a REST Web Service is, how you can create a Power Center workflow, use REST based method to access the web services via HTTP Transformation. REST Overview Web Service provides a common platform that allows two different applications on various platforms to communicate and exchange messages between them over HTTP protocol. Web Services can be accessed using different methods or styles. In Web Service world REpresentational State Transfer(REST) is a stateless client-server architecture in which Web Services are exposed as URLs. The typical method of accessing Web resource in a RESTful system is through various HTTP methods such as GET, POST, PUT and DELETE. REST can use SOAP Web Services and any protocol such as HTTP, SOAP. High-Level REST Architecture FIGURE 1: HIGH-LEVEL REST ARCHITECTURE REST call using Informatica Power Center Let us explain with the help of a sample web service which is used in a Retail Industry. In a Retail industry, customer can purchase various items from the retailer through online and offline and we need a centralized repository called a Data Warehouse where all the transactional data is fed into. The item details are then further normalized into Data Marts to form a common schema which will have facts and dimensions. On a large scale environment, this could be a cumbersome task in designing a data model. To overcome this we have business needs to access the data over the network and the best way will be to use the web service. So the final order details, pricing, payment details, and shipping Choose Category Data Management (51) Data Science (22) Data Engineering (11) Intelligence (10) Cloud Services (4) Customer Experience (3) Corporate (1) featured (1) POPULAR READS D ATA MAN AGEMEN T | J ul y 2 3 , 2 019 How to use Informatica Power Center as a RESTful Web Service Client? D ATA MAN AGEMEN T | J ul y 2 3 , 2 019 How to integrate Informatica Data Quality(IDQ) with Informatica MDM D ATA MAN AGEMEN T | J ul y 2 5 , 2 019 Deterministic Matching versus Probabilistic Matching D ATA MAN AGEMEN T | J ul y 2 5 , 2 019 Informatica MDM MDE Batch Process in a nutshell skip to main content Blog Resources Events Careers Contact Us I N T E L L I G E N C E I N D U S T R I E S W H AT W E O F F E R A B O U T U S  SUBSCRIBE
  • 2. information are translated internally and saved in a third party system which is either in an XML or JSON format. The third-party system hosted over a secured network is accessed via a URL. Since this system is based on REST API calls, we use Informatica Power Center as a client to access the server which is a web service API. Informatica Data Quality (IDQ) can also be integrated separately with the Power Center and Informatica MDM to strengthen enterprise data quality. In Power Center, you can use an HTTP transformation to send a request and receive a response from a REST Web service. Success Story 5.5% revenue uplift for an Insurance Provider with a Customer-360 view Learn More Success Story Pre-requisites to configure REST call using HTTP Transformation Valid REST based URL supporting either XML or JSON Valid SSL certificates to connect to REST URL outside of the network Basic Authentication Mechanism(User Name and Password) Step by Step Process Creating a Source File Create a source file which specifies the search parameters to be passed as input to the HTTP transformation. FIGURE 2: SOURCE FILE Create HTTP Transformation Create HTTP transformation with the following input ports: Username Password OrderNumber FIGURE 3: HTTP TRANSFORMATION Base URL Set the Base URL to get the Order details based on the input parameters passed from the source file. Base URL: https://test-swaggerUI/orders/search SUBSCRIBE
  • 3. FIGURE 4: BASE URL SETTINGS Set the HTTP Header parameters Header parameters in HTTP transformation contain header data for request and response in a specified format such as XML or JSON. Following are the parameters: Default Value: Specify the acceptable values supported by the web service. By default, the response will be in JSON. If you need XML you need to specify as ‘text/xml’ HTTP Name: For REST API the default value is “Accept” FIGURE 5: HEADER PARAMETER SETTINGS HTTP Method Selection Type Specify the type of HTTP method on the URL. In our example we are trying to get the order detail information, so specify the type as “GET” SUBSCRIBE
  • 4. FIGURE 6: HTTP METHOD SELECTION TYPE HTTP Output Pass the HTTP output to either a flat file or an XML parser to parse the information and load it into the target table. In this example, we write the output of the HTTP to a flat file. This is how the final mapping will look like. Final Mapping FIGURE 7: FINAL MAPPING Create a connection in Workflow manager and run the workflow Navigate to Workflow manager ->Connections-> Applications->HTTP Transformation FIGURE 8: HTTP APPLICATION TYPE Name: Enter the name of the HTTP Transformation which is understandable SUBSCRIBE
  • 5. User Name: Enter the username of the REST API URL call Password: Enter the password for the URL Authentication Type: Select the Authentication type as “Basic” Create a workflow for the mapping and run the workflow. Finally, view the output. In our example, for the Order Number “ORD-123” FIGURE 9: FINAL OUTPUT Issues faced while connecting to HTTP Transformation While using HTTP Transformation the most common issue is “SSL Certificate Error”. So when you run the workflow which is using the final URL you will get the below errors in session logs Root Cause This error is caused because the connection to the web service URL or Rest API does not include the certificate data that is needed to authenticate the connection from the certificate provider’s end. The certificate bundle does not contain a certificate from a Certificate Authority that the Web service Provider uses. Resolution Download the SSL certificates for the URL and add to the certificate files located under $INFA_HOME/server/bin/ca-bundle.crt Refer the below KB article to know how to add those certificates HOW TO: Extract certificates from a HTTPS URL and add to ca-bundle.crt file SUBSCRIBE
  • 6. Conclusion This concludes how to create a Power Center Workflow using REST based methods to access a web service using HTTP Transformation, invoke HTTP commands to get data from the web service resource. Satish Kumar Senior Technical Consultant He has having around 6 plus years of experience in development and implementation of ETL and MDM solutions. The Retail Industry and IT Data Management: A Match Made in Heaven (Or at Least in the Cloud) By JohnHarrington | Feb ruary 16, 2 02 3 Data Governance and BCBS 239: How our Service Pods can help By JohnHarrington | January 31, 2 02 3 Next-Generation MDM - Architecting Intelligence for the Future By Jeff Pohlmann | May 5 , 2 02 2 MORE READS Stay Updated On The Trending Topics On Data And Analytics. S U B S C R I B E      W H O W E A R E C A R E E R S E V E N T S R E S O U R C E S B L O G C O N T A C T U S Sitemap Terms of Use Privacy Policy Mastech InfoTrellis, INC. © 2023 Mastech InfoTrellis is the wholly-owned subsidiary of Mastech Digital SUBSCRIBE