Skip to Content
0

User Defined Message Search not working

Dec 20, 2017 at 10:55 AM

60

avatar image
Former Member

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

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

4 Answers

avatar image
Former Member
Dec 20, 2017 at 12:36 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Evgeniy Kolmakov Dec 20, 2017 at 11:13 AM
0

Hi Rainer!

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

Regards, Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded
Raghuraman S Dec 21, 2017 at 06:57 AM
0

Are you pointing to write interface in UDMS?

If possible post the UDMS setting.

Share
10 |10000 characters needed characters left characters exceeded
Anurag Gupta Dec 28, 2017 at 05:57 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded