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.
3. Source payload for your reference source-payload.png
Let me know if you need anything else and please help to resolve this issue.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.