Skip to Content
0

Can I map a message based on the content using XPATH condition?

Feb 22, 2017 at 06:46 PM

42

avatar image

Greetings, Can I determine the interface operation based on an XPATH expression?

The caller can only post to 1 target URL so I need to determine the intended operation based on file content as he has 2 potential structures that will be passed. This does not seem to be an obvious configuration option (PI 7.4) but it seems like it would be a common problem.

I can easily create an XPATH expression that will determine which operation to use but the only usage I see in IntegrationBuilder is using XPATH to determine the receiver (the comm-component). The receiver is the same for both messages.

Please advise! Thanks!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Harish Mistri Feb 22, 2017 at 11:20 PM
0

Hi Dan,

One of the possible solutions for your problem is to create a common structure both the operation for the outbound interface. then create multiple inbound interface based on your number of structure and perform multimapping.

regards,

Harish

Share
10 |10000 characters needed characters left characters exceeded
Evgeniy Kolmakov Feb 23, 2017 at 12:18 PM
0

Hi Dan!

Did you try to use conditions in interface determination?

Regards, Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded