Skip to Content
0
Former Member
Apr 21, 2005 at 02:18 AM

Dynamic Response Root node

137 Views

In a synchronous scenario, I need for the response to potentially come back in 2 different forms. For example, the response could back into XI with 1 of the following:

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

<RETURNXML_1>

<CONFIRMATION_CODE>test</CONFIRMATION_CODE>

<ACCOUNT>123456</ACCOUNT>

<PAYMENT_AMOUNT>10.00</PAYMENT_AMOUNT>

</RETURNXML_1>

OR

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

<RETURNXML_2>

<LINE1>af</LINE1>

<LINE2>dfs</LINE2>

<LINE3>ds</LINE3>

</RETURNXML_2>

Therefore, it's necessary for XI to handle different response root nodes depending on what comes back.

Anyone have encountered this?

Thanks.

Bevan