cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver Deter Routing

former_member229310
Active Participant
0 Kudos

Hello,

I have a SOAP sender  sending message via XI protocol.

The sender can send 2 different formats of SOAP message

1) SOAP message having payload as a flat file.  - Receiver 1

2) SOAP message having payload as a xml file  - Receiver 2

As the same sender interface is being used for both the scenarios how can I put any condition routing in the Receiver determination for a SOAP message using XI protocol.

Thanks in advance....

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184681
Active Contributor
0 Kudos

Hi,

It doesn't sound feasible with conditions in Receiver Determination as you described it now. Can you influence the data that is sent by the sender? If so, you could use the following payloads:

<data>

<type>FLAT</type>

<payload>some flat file content</payload>

</data>

<data>

<type>XML</type>

<payload><content>...</content></payload>

</data>

Then you can put a simple condition in RD:

IF data/type = FLAT then receiver 1

IF data/type = XML then receiver 2

Regards,

Greg