Skip to Content

Receiver Deter Routing

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....

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 27, 2012 at 07:13 AM

    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

    Add comment
    10|10000 characters needed characters exceeded