Base64 decode and unzip to string

0
I am struggling with the following any would appreciate any advise. I do a webservice call and in the return data is a return string. To get the data from this string i need to do the following. Decode the result string via Base64 The decode value will be in a PK zip format. Extract the Zip contents to expose the resulting XML block. In my java action i struggle to get the decoded base64 string into zip format and then to unzip. And if possible get away from creating files and just work with the streams.
asked
1 answers
0

The community commons has some Base64 decode action. You can use those. Are you sure that you are getting a zip file? It would be easier if they just Base64 encode the file. Then you can use the decode to file action and you have a Mendix filedocument.

Regards,

Ronald

answered