How to unzip the file and convert into base64
I have a requirement in which I have to perform the following.
- PI will receive a Zip file which contains 2 files (XML & JPG)
- I need to convert the JPG into base64 and send the information to iDoc along with the XML information
1) How to extract the zip files in SAP PI 7.0 sp18
2) How to process both the files i.e XML & JPG
3) How to convert JPG to Base64
Can somebody please guide me how to fulfil this requirement.