cancel
Showing results for 
Search instead for 
Did you mean: 

XPath not found in Receiver determination

Harish
Active Contributor
0 Kudos

Hi Experts,

I have a requirement to route one message two different receiver. the message is having only one node:

XSD

     <LIST>

          <Data>ABCGFDFDFD</Data>

     </LIST>

so i am using Xpath query in Receiver determination level to find our the receiver. The issue is RD not able to find the Xpath.

Can some one please suggest what can be done.

Thanks

Harish

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

probably the xpath is not working

1. have you tested that in any Xpath tester ? - http://www.xpathtester.com/

2. have you tested that in scenario TEST menu in Integration Directory before running the flow ?

it allows to evaluate the xpath before sending the real message

Regards,

Michal Krawczyk

Harish
Active Contributor
0 Kudos

Hi Michal,

thanks for your reply. I tested the xpath in ID test configuration. I am unable to reach to the path for simle condition.

I tried to change the prefix from p1 to ns0, but still not working. Is there any way to debuge the issue.

Thanks

Harish

gagandeep_batra
Active Contributor
0 Kudos

Hi Harish

try use simple condition and check whether it is work or not then go for complex like below.

/p1:LIST/Data = 'ABCGFDFDFD'

Regards

Gagandeep

Answers (1)

Answers (1)

zameerf
Contributor
0 Kudos

What is the condition you use for the above given input payload in xpath?

You can try to do a test configuration in ID by modifying the conditions and check if your receiver is determined properly before doing end to end test.

Harish
Active Contributor
0 Kudos

Hi Farook,

I am checking in Test configuration.

I tried to change the prefix from p1 to ns0, but still not working. Is there any way to debuge the issue.

Thanks

Harish

zameerf
Contributor
0 Kudos

Can you share the condition you have used? and also the exact input xml?

Harish
Active Contributor
0 Kudos

The Input is:

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

<ns:Invoice_Digital_Signature_XSD xmlns:ns="http://unilever.com/Xproc/ProcComm/TchTrnsfrm/Invoic/xi">

<LIST>

<Data>UNA</Data>

</LIST>

</ns:Invoice_Digital_Signature_XSD>

and Condition is

/ns0:Invoice_Digital_Signature_XSD/LIST/Data = UNA

I am getting p1 as xml tage from XSD.

zameerf
Contributor
0 Kudos

Did you try with this condition?

/ns:Invoice_Digital_Signature_XSD/LIST/Data = UNA