on 03-05-2014 9:57 AM
Dear Expert,
I have a synchronous scenario(ABAP proxy to HTTP_AEE) to send the payroll of the employees to bank. As payroll payload size will be huge, I need to Zip the outgoing payload to bank, also I need to unzip the incoming payload(response) from the bank, because bank will be sending the response in zip format.
As I am using HTTP_AAE receiver adapter, therefore HTTP_AAE receiver adapter needs to zip the output payload as well as unzip the incoming payloads from bank.
I understand we have PayloadZipBean , to do zip and unzip, and we can configure it under module tab, however I just want to clarify the below point.
1- Can I do zip and unzip both under the HTTP_AAE receiver adapter, if yes then what will be the order? I mean first zip then unzip right?
2- Has anyone used PayloadZipBean with HTTP_AAE receiver adapter in sync mode, if yes, please share you experience.
3- I need to name ZIP file after zipping as "PRMSG" , how can I give name in HTTP_AAE adapter, I have tried with zip.filenameKey but it didn't work.
Thanks,
Farhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
Thanks a lot for the response, seems I can rely on this PayloadZipBean for my requirement.
One more question, As I have already created the HTTP response and Proxy response structure message type, moreover message mapping has been created to map these. So, once I will receive the response from bank, in zip file format, and when PayloadZipBean will unzip the convert it to XML payload, do I need to do anything else to map it my response structure?
Thanks,
Farhan
Hi Praveen,
Thanks again. My structure is same, though I have used the mapping program. Only thing I was looking that, do I need to do any additional thing if I am using because PayloadZipBean to unzip the input payload. But it seems if you have a mapping program we do not need any additional effort.
Thanks a lot Praveen. You have answered all my question, however, I will test it and will close the thread.
Regards,
Farhan
Hi Farhan
In addition to Pravaan, you can set the zip file name as documentation said:
contentType
For example, the content type is Content-Type: text/plain; name="name.txt".
The name of the compressed file is name.zip.
In my opinion, i dont like to work with huge messages in synchronous interfaces. Why don''t change the ABAP code and to send several files and calls with for example only 100 records per call?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.