cancel
Showing results for 
Search instead for 
Did you mean: 

User Defined Message Search not working

Zilch
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello community,

I have created a User Defined Message Search in a SAP PI 7.4 single stack system. In the message log I see that the extractor is triggered but it does not return a result. So I was assuming that something is wrong with the XPath expression I have given. But when I take XPath expression and payload from PI and run it in XMLSpy the value is retrieved as expected.

I was not sure if I have to include namespace information in the XPath expression but in XMLSpy it works without. In PI it does not.

Any idea?

BR

Rainer

Accepted Solutions (0)

Answers (4)

Answers (4)

PRAGSMATIC
Participant
0 Kudos

I can clearly see that the XML request is having namespace as ...Ariba... which is applicable to each of the child element.

define namespace and its prefix in UDS and change your xpath with the namespace prefix. It will definitely work.

former_member186851
Active Contributor
0 Kudos

Are you pointing to write interface in UDMS?

If possible post the UDMS setting.

Zilch
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Evgeniy,

it is a synchronous scenario and I have first set up UDMS, then sent a message with the test tool and checked the message log (loggin is enabled).

There I only find 'Extractor applied' and 'Extractor returned no value'.

I have other scenarios with different message type and namespaces where it works, where I see 'Extractor applied' and 'Extractor returned value [XYZ] from message'.

Regards

Rainer

former_member190293
Active Contributor
0 Kudos

Hi Rainer!

Just to be sure, don't you try to search for the previously processed messages?

Regards, Evgeniy.