Skip to Content
avatar image
Former Member

Can we send Gzip file as SOAP attachment?

Hi All

We have below requirement !!

Need to send flat file from ECC->PI->Third party

ECC place large files but third party has the limitation of 5MB.Chunk option is not supported as merging is not possible at target.

Hence the file need to be compressed as GZIP and send through SOAP as attachment.

I am trying to configure File to SOAP (pass through) scenario. Please guide me how to GZIP and send as attachment to meet this requirement

Please share your views !!

Thanks in advance!!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 29, 2015 at 12:26 AM


    There is no standard/documented module for gzip in SAP PI. You can find blogs for custom modules.

    I would suggest to change the interface to Proxy (with attachment) -> PI -> SOAP. Proxy will have zip or gzip attachment. There are blogs for "ABAP proxy with attachment" and "ABAP gzip".

    If source SAP ECC insists on File -> PI -> SOAP. Use PayloadZipBean in sender channel and use below Java Map FTP to Proxy With Attachment | SCN

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Raghu

      I am first trying to send flat file as attachment.

      I have wsdl and created Mockservice in SOAPUI.The test is successful when I RUN SOAP request with attachment.

      I can able to receive attachment at Mockservice.

      But when I try from PI my soap channel gives error as Connection timed out.

      I request your valuable inputs.

      Best Regards