IBM Support

webMethods Knowlegebase : GZIP compression (1776165)

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

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows Server 2012"}],"Version":"9.6"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFIWYE","label":"IBM webMethods B2B"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows Server 2012"}],"Version":"9.6"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQG2X","label":"IBM webMethods Managed File Transfer"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows Server 2012"}],"Version":"9.6"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
20 March 2025

UID

ibm17221225