on ‎2024 Sep 05 9:41 AM
hi,
I need to read the value of the field "message2" from a segment, with Cloud Integration.
this is the body:
<message1 xmlns="test_message1">
<message2>test_odv<message2>
</message1>
I tried //message2 but not working probably for the xmlns.
Does anyone know what the formula is to read the "message2" field?
Request clarification before answering.
Hello @mark_fryu,
It is indeed related to the namespace. You can add a namespace mapping in the Runtime Configuration tab of your integration flow, for example "xmlns:test=test_message1"
And then refer to this namespace in your xpath, i.e.: "/test:message1/test:message2"
I hope this will help you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 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.