SOAP ZIP Scenario
Hello fellow SAPers.
I come here with you guys for a word of advice in the requirement I have:
The scenario is as follows:
PI 7.3, Dual Stack, no BMP
SOAP -> PI -> SOAP
First SOAP is a SAP system sending a XML file like this:
And so on.
What we want is to Map the fields in line directly to the fields in the receiver interface and ZIP into a single file ZIP file every Document line.
We tried using the PayloadZipBean, however it does zip all the content into the generated file which is not what we want.
Moreover, once we have managed to send the message to the corresponding receiver SOAP interface, we need to put the ZIP document into a field in the Body of the soap message, this as per client requirement. The receiver is something like this:
The question now is what kind of approaches we can take to solve this. I dug into PayloadZipBean, expecting that using the zipOne would let accomplish the first part but it keep zipping everything in the payload. What we see is that using a UDF is the only viable option to solve this issue, so I come here to see if you guys could share some thoughts if our approach is correct or we're missing something.
Thank you in advance for your thoughts.