Make sure to compress payload contents prior to sending large packets to the web service. The URI Scheme is supported for the file scripting functions and file-based connectors in transformation maps. For example, you can set the path to a target file accordingly and the file will be compressed:
gzip:///path/filename. For more information see,
URI Connections and
FileCopy Function.
You can also use your preferred compression utility through an Application step in a Process design if it has a command line interface or by calling it as a custom Java object. If you are constantly using the compression utility, you may want to consider creating your own Message Component Framework (MCF) plug in. For more information, see
SDK Developer Guides.