Hi Guys,
I am having a scenario where i am receiving a XML(which can be in between 11-15). I am having 150 Trading Partners with whom these datsets have to be shared. Now every Trading partner is having there own character Sets and unique numbers so i have created 150
party agreements for all the Trading partners. I am interested to use a single port. I have created an orchestration to achieve this. Below are the steps i used to create orchestration :-
1) Receiving 11 XML from receive shape.
2) Extracting the value of Node TSP(this value is used to know the trading partners unique number on which i am deciding to which party agreement this XML needs to go) using xpath.
3) I am constructing the message in construct. 3.1) Mapping from XML To EDI. 3.2) As all 11 datasets are having different version. So i am overriding the value ISA and GS in Message Assignment(SourceName).
4) Decide shape to decide on the value of TSP to which port it has to be send.
But according to me this is not an optimized solution. Below are reasons:-
1) I have to create 150 branch into decide shape. As i am receiving 11 different XML messages i need to create decide shape for all the different Xml messages.
2) I have to create 150 different ports which are having 15 operation(depending upon XML we received).
Note:- I have to create 150 different Send Ports only because of Party Agreement. So is there any solution? i only want Single Send port and i can select the party Agreement in the orchestrations.
- Edited by Gagz Friday, May 02, 2014 11:11 AM title edited