on 04-07-2011 11:33 AM
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!
Hi Veronica,
There are two clear options to approach the solution: be it 7.11 or earlier
1. Go for 1..Onbounded Operation mapping. In your operation mapping on the target side add the different inbound interfaces. You have to define seperate message mappings for each of your target message types and use them in the operation mapping.
2. The rather simplistic solution would be to go for conditional interface determination. A well know approach, if you have multiple interfaces to be mapped from a single interface for the same receiver system. Define seperate Message and Operation mappings for each of your Inbound Interfaces and then in Integration Directory use conditional Interface determination to call the appropriate operation mapping based on the condition checking on input payload (XPath).
I will strongly suggest the second option for better maintainability and monitoring of your interface.
You certainly dont need multiple operations, that's for different purpose altoghether
Regards,
Suddhasatta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Multimapping will do the trick for you...
Just check following blogs:
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
/people/ranga.rajan2/blog/2010/03/17/multi-mapping-with-a-simple-scenario--fledgling-kit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why do you need to create message type names and service interface names with interface number ?
May I know the utility ? As far as I know , message type or service interface or operations are created in ESR
I dont think they can be changed dynamically
I am not sure about it , lets see fellow SDN'rs reply
thanks
Ninad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.