Skip to Content
0
Oct 30, 2019 at 09:24 AM

CPI Message Mapping Map Multiple source fields to one Target field

1246 Views

Hello Experts,

I have come across a situation where in the message mapping the Source WSDL has four fields (for example: A, B, C, D) and Target WSDL has only one field X (0.. unbounded) to consume data from those four fields. Any idea how to achieve this or may be via script?

Example:

Requirement is if input XML comes like this in message Mapping:

<A>1</A>

<B>2</B>

<C>3</C>

<D>4</D>

Output should be:

<X>1</X>

<X>2</X>

<X>3</X>

<X>4</X>

Is it somehow possible?

Best Regards,

Sahil Bakshi