cancel
Showing results for 
Search instead for 
Did you mean: 

Payload from Two diff Outbound interfaces and Business Service

Former Member
0 Kudos

Hi All:

I created a scenario....where messge is coming from two diff outbound message interface..and have only one inbound inteface...

Message_One is coming from one OA interface.

Message_Two is coming from other OA interface.

I am using only one Inbound interface...

Message Mapping

Source Message:

MessageOne

MessageTwo

Target Message:

Message.

Now for this I cretaed one IP

<b>Fork</b> (two receive steps..for message one and mesage two)

<b>Transformation</b> (Interface Mapping between (Message one, Message Two) and Message

<b>Send.</b>

Here is the source from the Test Tab of the IR tool.

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns1:MT_Message_One xmlns:ns1="http://t-systems.com/XI/Demo/BPM">

<CutomerName>Gillette</CutomerName>

<CutomerID>AA123</CutomerID>

<ProductName>PN</ProductName>

<ProductID>1234</ProductID>

</ns1:MT_Message_One>

</ns0:Message1>

<ns0:Message2>

<ns1:MT_Message_Two xmlns:ns1="http://t-systems.com/XI/Demo/BPM">

<ProductCost/>

<ProductManufaturingDate/>

<ProductExpDate/>

<ProductID/>

</ns1:MT_Message_Two>

</ns0:Message2>

</ns0:Messages>

Now below information is coming from first File

<CutomerName>Gillette</CutomerName>

<CutomerID>AA123</CutomerID>

<ProductName>PN</ProductName>

<ProductID>1234</ProductID>

This infromation is coming from second file

<ProductCost/>

<ProductManufaturingDate/>

<ProductExpDate/>

<ProductID/>

Question how my input message looks for both??

I am using HTTP client to send the two diff message from two diff Business Service to same BPM.

Is it like

<b> <ns1:MT_Message_One xmlns:ns1="http://t-systems.com/XI/Demo/BPM">

<CutomerName>Gillette</CutomerName>

<CutomerID>AA123</CutomerID>

<ProductName>PN</ProductName>

<ProductID>1234</ProductID>

</ns1:MT_Message_One></b>

<b> <ns1:MT_Message_Two xmlns:ns1="http://t-systems.com/XI/Demo/BPM">

<ProductCost/>

<ProductManufaturingDate/>

<ProductExpDate/>

<ProductID/>

</ns1:MT_Message_Two>

</ns0:Message2></b>

Thanks & Regards,

Farooq Farooqui

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes now I achived it...

It like the same as I mentioned

<ns1:MT_Message_One xmlns:ns1="http://t-systems.com/XI/Demo/BPM">

<CutomerName>Gillette</CutomerName>

<CutomerID>AA123</CutomerID>

<ProductName>PN</ProductName>

<ProductID>1234</ProductID>

</ns1:MT_Message_One>

<ns1:MT_Message_Two xmlns:ns1="http://t-systems.com/XI/Demo/BPM">

<ProductCost/>

<ProductManufaturingDate/>

<ProductExpDate/>

<ProductID/>

</ns1:MT_Message_Two>

</ns0:Message2>