Troubleshooting
Problem
We want to enable gzip compression for using in case of large responses from ESB web services.
I tried the following steps (separated & together), but it still doesn't work in IS:
1. In a flow using
a. pub.flow:setResponse2
i. responseBytes – gzipped byte array
ii. contentType - "gzip"
b. pub.flow:setResponseHeader,
i. Content-Encoding
ii. Gzip
2. In a custom response handler
a. Try to build custom java methods that compress SOAPMessage
b.Set Content-Encoding:gzip
3. In TOMCAT add configuration file (from "compression="...."):
<Connector SSLEnabled="true" acceptCount="100" algorithm="SunX509" clientAuth="false" description="Default CTP HTTPS Connector" disableUploadTimeout="true" enableLookups="false" keystoreFile="C:\SoftwareAG\profiles\IS_default\configuration\tomcat\conf\localhost_dont_use_in_production.jks" keystorePass="change_this_password" keystoreType="JKS" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="8074" scheme="https" secure="true" server="SoftwareAG-Runtime" sslProtocol="TLS" compression="on" compressionMinSize="2048" compressableMimeType="text/html,text/xml" />
Probably I still miss something.
It's supposed to be easy, built-in and basic functionality.
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
20 March 2025
UID
ibm17221225