cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic interface determination

Former Member
0 Kudos

Hi,

I am doing one scenario where I need to determine interface dynamically. So I have created 2 message mappings and 2 Interface mappings in IR. Where as in interface determination in ID, I am using these 2 interfaces mapping with condition where I need to check substring from input1.

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

<ns0:MT_test xmlns:ns0="urn:aa-bb:test">

<Input>

<Input>

<Input1>1234567890</Input1>

</Input>

</Input>

</ns0:MT_test>

Condition:

/p1:MT_test/Input/Input/[(substring('Input1',4,2) = "45")]

For this I already referred and other web bogs and xPath functions but till I am not able to get any answer.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Can't we use context objects instead of xpath ?

Former Member
0 Kudos

Hi

See Below Links

/people/robin.schroeder/blog/2006/11/15/using-dynamic-receiver-determination-with-sync-interface

/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16

List of receivers can be dyamically determined and assigned at runtime using enhanced receiver determination .

Thanks

Former Member
0 Kudos

Hi Sridhar,

Thanks for reply.

See here my receiver is not dynamic but i have to process 2 different messages base on some input1.

Regards,

Sunil Bhavsar.

Former Member
0 Kudos

Hi

Check with this

/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi

Former Member
0 Kudos

Sridhar,

I think there is no need to use any BPM. Simpley we can use condition in interface determination. But I am not sure why this is not working for me.

Former Member
0 Kudos

hi

Go through this

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

Former Member
0 Kudos

Same one i referred earlier, but i think becuase of substring function there is a problem. To know more about Xpath i also referred <a href="http://www.w3schools.com/xpath/xpath_functions.asp">http://www.w3schools.com/xpath/xpath_functions.asp</a>

Former Member
0 Kudos

there is some typo in condition

/p1:MT_test/Input/Input/[(substring(Input1,4,2) = "45")]