cancel
Showing results for 
Search instead for 
Did you mean: 

Content Modifier value not displayed in message trace

04-08-2023 10:37 AM
santoshsk926 Explorer
1617 views 3 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello,

I am trying to capture header value with XPath in message trace using "Content Modifier", I have done below set up for the same:

1. Added header variable in Content Modifier content-modifier.png

2. Turned on the trace and triggering the message from postman. But I don't see the value captured in message trace.

trace.png

3. Source payload for your reference source-payload.png

Let me know if you need anything else and please help to resolve this issue.

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor

Hello Santosh,

Issue looks like namespace in your root tag <SayHello> trying removing that then you should get required value into you header or property. Also in your trace navigate to payload and check whats the input you are getting over there.

Regards,

Sriprasad Shivaram Bhat

santoshsk926
Explorer
0 Likes

Hello Sriprasad,

Thanks for your response and the issue is resolved now. I am new to integration space. So, can you please enlighten me that what difference is the namespace making here?

Regards,

Santosh Lingamallu.

Answers (1)

Answers (1)

Sriprasadsbhat
Active Contributor
0 Likes

When you try to fetch value of element with namespace xpath type expects namespace mapping to be available in runtime configuration which expects name value pair to be maintained in your case there is no name part (like ns0)

Please close the thread by accepting right answer if above helped.

Regards,

Sriprasad s bhat