on 08-11-2015 11:33 PM
Hello PI gurus
I’m working on re-doing the Sender side of an interface. They want to grab a payload which is a .csv file which is zipped and then encoded in Base64.
I did some search and saw a suggestion that we can use java mapping to decode the Base64. I’m not sure whether the decompression can be done within the same mapping. Any ideas?
Thanks in advance
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to use the java mapping for this to achieve..
We have done the similar thing using the java mapping for posting the data to the ariba network..
where the data need to be passed in csv file ,zip it and encode using base64..
There are apache api's org.apache.commons.codec.binary.Base64 using which you can use encode and decode functions and ZipOutputStream class using which we acheived the same..
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram,
Use payloadzipbean to unzip the payload and then read it via java mapping.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.