When and why should we use transformers and flow services?
How are they different from each other?

Answers were Sorted based on User's Feedback



When and why should we use transformers and flow services? How are they different from each other?..

Answer / dinesh

When we are performing only one data operation we can go
ahead with directly invoking the corresponding flow
service. If we want to perform the multiple operations in a
single step, it is good to go with transformers in a map
step. This increases the memory usage and readability.

Is This Answer Correct ?    34 Yes 2 No

When and why should we use transformers and flow services? How are they different from each other?..

Answer / satya

Mapping is the process of performing transformations to
resolve data representation differences between services or
document formats. By linking variables to each other on the
Pipeline tab, you can accomplish name transformations and
structural transformations. However, to perform value
transformations you must execute some code or logic.
Developer provides two ways for you to invoke services: You
can insert INVOKE steps or you can insert transformers onto
the Pipeline tab. Transformers are the services you use to
accomplish value transformations on the Pipeline tab.

Is This Answer Correct ?    20 Yes 2 No

When and why should we use transformers and flow services? How are they different from each other?..

Answer / mallik gedda

Both invoking Flow services and
transformers can be used to provide the same functionality,
but there are certain differences
In case of transformers the order of execution
is not strict(i.e the order of transformer execution)
is not determined and multiple transformers can be
executed at the same time.
And also transformers cannot be used whenever the
underlying data structure dimension is different(for ex:
can't execute a transformer on a document when iterating
over a loop on a document list)

Is This Answer Correct ?    18 Yes 2 No

When and why should we use transformers and flow services? How are they different from each other?..

Answer / aarthi srinivasachari

My input:
1) One disadvantage : If there is an exception in the
transformer service, all the pipeline values of the running
flow service will be lost and cannot be caught in
the 'lastError' service. This makes debugging quite tough.

To sum up :
2) Transformers and service invoke does Value
transformations. But with Transformers, in a single step,
multiple transformations can be done.
3) Memory efficient: when compared to using multiple invoke
steps - a single step with multiple transformers consumes
lesser memory.
4) The order of execution of transformers cannot be
controlled. This is more based on the order of transformers
listed in flow.XML (As we know array in XML may be read
from bottom to top)
5) While using transformers, we dont have to worry about
dropping the in/out variables.

Is This Answer Correct ?    13 Yes 0 No

When and why should we use transformers and flow services? How are they different from each other?..

Answer / guest

Most of the above answers are correct and one more
advantage is the service out paramters of the transformer
service dont get added to the main pipeline. whereas in
case of invoke the service out parameters flow to the main
pipeline also.

Is This Answer Correct ?    13 Yes 1 No

When and why should we use transformers and flow services? How are they different from each other?..

Answer / bhaskar

Adding to the above answers, transformers can be used for
any element under a document list on which we are looping
over but cannot be used for child document list which is
under the parent document list on which we are looping
over. Usage of transformers will increase the performance
of the service.

Is This Answer Correct ?    8 Yes 1 No

When and why should we use transformers and flow services? How are they different from each other?..

Answer / guest

Services that you insert using the INVOKE step might also
perform value transformations. However, only transformers
can accomplish multiple value transformations in a single
flow step.

Is This Answer Correct ?    7 Yes 2 No

When and why should we use transformers and flow services? How are they different from each other?..

Answer / amar desai

Transformer emcompass mapping logic. Flow Service can be
implemented as a trsndsformer.

Is This Answer Correct ?    6 Yes 7 No

When and why should we use transformers and flow services? How are they different from each other?..

Answer / sunny

transformer is to be apply in a supply to passes through
the spacified voltage. you can also use it for break up or
break down voltage .

Is This Answer Correct ?    2 Yes 38 No

Post New Answer

More WebMethods Interview Questions

Who is Best Prime Minister of India

3 Answers  


Which value have to set for EnableAudit log while package replication?

1 Answers   TCS,


What Are Transformers?

3 Answers  


If v want to run the server with some other port number , what v need to do ?? Developer:

3 Answers   IBM,


what is the difference between lexical ooperators,logical operators?which one is mainly used in filter,broker?why?

2 Answers   Emphasis, HCL, iGate,






What Is Dimensionality?

2 Answers  


what is indices in MAP flow step?

1 Answers  


In webMethods Integration Platform, where is the lock information stored (such as names of elements that are locked, when they were locked, etc.)?

2 Answers  


2. What are the different ports in IS?

5 Answers   IBM,


gate ways in webmethods

4 Answers   IBM,


hai this is prasad webmethods is used to integrate the applications but ,we can do that same by using java also ,then why do we use webmethods please send me the answer

2 Answers  


Explain header handlers in web services

0 Answers   CTS, Satyam,


Categories