When you enable SOAP message compression, the Web Service Consumer transformation compresses web service request messages and receives compressed web service response messages.
The Web Service Consumer transformation encodes the SOAP request with GZip compression. The transformation accepts a response message encoded with the GZip or the deflate compression.
When the Data Integration Service receives the response from the web service, it checks the Content-Encoding HTTP header in the SOAP message and it decodes the message.
The default is no compression encoding. The web service does not compress the SOAP response.
The following table shows the headers in the request and response messages when compression is on or off:
Compression
Header
On
Content-Encoding header: GZip
Accept-Encoding header: GZip, deflate
Off
Empty Content-Encoding header
Empty Accept-Encoding header
Sometimes a web service encodes a response message with a default compression. The Web Service Consumer transformation decodes the message if it is GZip or deflate encoded. The Web Service Consumer transformation logs a message to the mapping log if the web service encodes the response message unexpectedly.
Enable compression in the transformation advanced properties.