Skip to Content
0
Former Member
Apr 07, 2011 at 10:33 AM

Mapping a message in different types of messages depending field value

31 Views

Hi gurus!

I need your help!, I need to create a scenario where I receive a message with a JMS adapter, for which I define an outbound service interface type, but depending on the value of a field (interface) to map in order to create different service inbound interface type.

For example, I get the MT that is associated with a Service Interface SI_OUT:

<MT_TRX>

<interface> 101 </ Interface>

<message>

nombre="AVISO"> <campo 8500070609 </ field>

nombre="ESTADO"> <campo PCDS </ field>

</ MESSAGE>

</ MT_TRX>

As the interface has the value 101 with a Message Mapping I want to create the Service Interface SI_IN_101 whit message type MT_101.

If interface = 102, the Service Interface should be SI_IN_102 and message type_102... etc.

Can be mapped to different types of Service Interface, need different Operations?

Thank you very much for your help, I don't know how to solve the problem!