cancel
Showing results for 
Search instead for 
Did you mean: 

Question on having occurence in operation mapping

Former Member
0 Kudos

Hi Experts,

While configuring operation mapping, for both source and target operations, we can choose occurrence for them.

i have a question that in which scenario we should choice other occurrence (not default 1) for operations.

in message mapping signature tab, we could adjust occurrence for message type to perform 1:n or other mappings.

then what's the difference of uses for these two occurrence setup?

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Hi Aditya,

>>While configuring operation mapping, for both source and target operations, we can choose occurrence for them.

i have a question that in which scenario we should choice other occurrence (not default 1) for operations.

Generally their application is in multi-mapping scenarios or scenarios where you need to change the min and max occurrence of the parent node, but because of some restrictions you can't do the same in Data type creation or in the XSD.

>>in message mapping signature tab, we could adjust occurrence for message type to perform 1:n or other mappings.

then what's the difference of uses for these two occurrence setup?

When you do in message mapping you need to use in operation mapping too.

Regards

Suraj

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos
in message mapping signature tab, we could adjust occurrence for message type to perform 1:n or other mappings.
then what's the difference of uses for these two occurrence setup?

We define Message mappings then why to define Interface Mapping?

The occurence change in Message Mapping means that you create the required number of messages (payloads)....while the change of occurence in Interface mapping mean that you create a separate Interface (which defines direction and mode) for each of the payloads....which in turn create a separate call to the end system....if this facility of changing occurence in Interface Mapping was not provided then multi-mapping wont have existed....only one message would have have created which would have gone into only one target system.

Regards,

Abhishek.

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi Experts,

>

> While configuring operation mapping, for both source and target operations, we can choose occurrence for them.

> i have a question that in which scenario we should choice other occurrence (not default 1) for operations.

>

> in message mapping signature tab, we could adjust occurrence for message type to perform 1:n or other mappings.

> then what's the difference of uses for these two occurrence setup?

I think as per the earlier post it is answered that the occurrence changes are needed in case of N:M mapping or what is called has multimapping.

> in message mapping signature tab, we could adjust occurrence for message type to perform 1:n or other mappings.

> then what's the difference of uses for these two occurrence setup?

as you have asked, the need here is to change the occurrence in operation mapping is for the runtime to understand that there are multiple interface calls to send out messages plus the operation mapping is in a way linked to the message mapping