on ‎2021 May 28 4:42 PM
Hello,
I try to get an xml node receiving from an Odata, below is the structure 
I would like to get this specific node, then transform it in xml structure.
I use in a content modifier the different properties from the blog
https://blogs.sap.com/2015/04/30/base64decodeconverter-base64-decoding-made-easy/
But infortunatly I can't transform the binary data into xml data
Do you have an idea, do I forget some property into the content modifier in order to transform properly the data ?
Thanks for your help and your answers.
Regards
Request clarification before answering.
Hi Pascal
As manoj.khavatkopp points out, you can accomplish this easily using only the built-in steps. You need a Filter step to extract the Base64 encoded content and then a Base64 Decoder step. So like this:

After the first step, the payload consists of the Base64 encoded XML. After the second step, the payload is the decoded XML. This is assuming, of course, that the Base64 encoded stuff is actually XML. You refer to it as binary, but XML is text, right.
Configure the Filter step like this:

Have fun with CPI!
Regards,
Morten
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 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 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.