Compress Messages to/from XVC Assertion

The Compress Messages to/from XVC assertion is used to indicate that messages going to or coming from the gateway - XML VPN Client should be compressed using the gzip algorithm. Compressing XML/SOAP messages can decrease the transfer times and improve performance, especially for large HTTP payloads.
gateway92
The 
Compress Messages to/from XVC 
assertion is used to indicate that messages going to or coming from the 
Layer7 API Gateway
 - XML VPN Client should be compressed using the 
gzip 
algorithm. Compressing XML/SOAP messages can decrease the transfer times and improve performance, especially for large HTTP payloads.
Message routing will proceed as normal when compression is in effect. The Gateway will decompress the payload upon reception, then compress the response payload before returning the message to the XML VPN Client.
When compression is in effect, the Gateway uses the 
uncompressed
 message size to validate against the set limit (as defined by the 
io.xmlPartMaxBytes
 cluster property).
The Compress Messages to/from XVC assertion will always succeed, unless it is configured to fail if it receives an uncompressed request. If you do not want your Gateway to accept compressed messages, modify the 
request.compress.gzip.allow
 cluster property.
 Messages are compressed only when submitted by the XML VPN Client, or if the service endpoint is another Gateway. For more information, see "Configuring the [HTTP] tab" of Route via HTTP(S) Assertion.
For more information, see Message Compression  in the XML VPN Client online documentation.
Using the Assertion
  1. Do one of the following:
    • To add the assertion to the Policy Development window, see Add an Assertion.
    • To change the configuration of an existing assertion, proceed to step 2 below.
  2. Right-click 
    Compress Messages to/from XVC 
    in the policy window and select 
    Compression Properties
     or double-click the assertion in the policy window. The assertion properties are displayed.
  3. Select the check box to cause the assertion to fail if the request could not be compressed for whatever reason (this will be noted in the audit logs). Clear the check box to always have the assertion succeed.
  4. Click [
    OK
    ] when done.