#1 2012-03-26 04:55:30

SinghBhattiG
New member
Registered: 2012-03-26
Posts: 1

Changed Data in MDM is transferred to external system via WebService

Hello all,

I am a beginner, so excuse me for asking this.

When a data changes in MDM, we want to transfer these changes to external transactional system by calling their WebService.

The scenario I am expecting is:
A. Normal Use
1. User updates a master data in MDM
2. MDM detects the change
3. MDM calls a WebService with the changed data
4. The result returned is OK.

B. Error use
1. User updates a master data in MDM
2. MDM detects the change
3. MDM calls a WebService with the changed data
4. The result returned is NOT OK or WebService timesout, MDM issues a warning either via email or some other means.

So the questions I have are:
1. How do I configure that a change in a specific attribute of a table, a particular WebService should be called?
2. How do I configure that if that WebService fails then how do I raise alarm?
3. What tools do I need to achieve the above?

Many thanks in advance.

G
Australia

Offline

 

#2 2012-03-26 09:29:10

csonnefraud
Talend Team
Registered: 2007-11-15
Posts: 322
Website

Re: Changed Data in MDM is transferred to external system via WebService

Hi SinghBhattiG,

Welcome to the forum !

What you want here can be achieved using a "Before-Saving" process. A process defines multiple steps to achieve a data validation for instance.
When you save data in MDM, the "Before-Saving" process will run a "plugin" you'll have previously set.

One of the plug-ins available in any Talend MDM platform is the "callJob" plug-in, which invokes a Talend Job.
So, you'll have to design a Talend Job that calls the Web Service you need, and which outputs a saving validation/denial according to your business rule.

I suggest that you have a look at the MDM Studio Documentation, "3.5.1 - Processes", and also "3.5.1.3 - How to set schema for a before saving/deleting Job".

So, in a nutshell :

1. Use a "Before_Saving" process, for the given entity, calling a Talend Job (callJob plugin) ("3.5.1 - Processes")
2. For the output <report> document, use the attribute type="error" ("3.5.1.3 - How to set schema for a before saving/deleting Job")
3. "Before-Saving" process, "callJob" plugin, Talend Job (have a look at the tWebService component).

Hope that helps !

Cyril.

Last edited by csonnefraud (2012-03-26 09:32:29)

Offline

 

Board footer

Powered by FluxBB