The Web Services Provide Service activity supports decompression with the gzip format only.
The Provide Service activity only supports receiving HTTP requests using HTTP/HTTPS 1.0 protocol.
These conditions affect the decompression run time behavior of the Provide Service activity and are described below and in the table provided in the Run time Decompression Behavior section.
The value of the Content-Encoding header is represented by the third column labeled Content-Encoding Value in the table provided in the Run time Decompression Behavior section.
By default, decompression is turned on at the activity level for the Provide Service activity. You can turn off decompression at the activity level by clearing the Use Compression/Decompression check box. The Use Compression/Decompression check box is available in the Configure task of the activity. The second column labeled Use Compression/Decompression check box in the table provided in the Run time Decompression Behavior section, represents the setting of the Use Compression/Decompression check box.
Use Compression/ Decompression Check Box (Activity Level) | Content-Encoding Value (Message Level) | Integration Appliance Decompression Run Time Behavior |
---|---|---|
selected | gzip | The Integration Appliance decompresses the body of the request using the gzip format. The value of Content-Encoding is set to gzip in the headers output parameter returned from the activity. |
selected | not set | The Integration Appliance sends the body of the request as is (unchanged). The value of Content-Encoding is not set in the headers output parameter returned from the activity. |
selected | identify | The Integration Appliance sends the body of the request as is (unchanged). The value of Content-Encoding is not set in the headers output parameter returned from the activity. |
selected | any other string besides gzip or identity | The Integration Appliance sends the 415 (Unsupported Media Type) Response Code. |
cleared | value is not significant | The Integration Appliance does not decompress the body of the request and the current value of Content-Encoding in the request is passed as is to the headers output parameter of the activity. For example, if the value of the Content-Encoding is set to gzip but the Use Compression/Decompression check box is cleared, the Integration Appliance does not decompress the body of the request but Content-Encoding is set to gzip in the headers output parameter of the activity. |
The following table describes the compression run time behavior when the Integration Appliance sends an HTTP request to the Web Service.
Use Compression/ Decompression Check Box (Activity Level) | Initial Accept-Encoding Value | Endpoint Supports Compression? | Accept-Encoding Value Passed in the HTTP Request to the Web Service |
---|---|---|---|
selected | gzip,deflate | yes | The Accept-Encoding header is set to gzip,deflate in the request. |
value is not significant | value is not significant | no | The current value of the Accept-Encoding header is passed as is in the request. |
cleared | value is not significant | value is not significant | The current value of the Accept-Encoding header is passed as is in the request. |
Use Compression/ Decompression Check Box (Activity Level) | Content-Encoding Value in the HTTP Response (Message Level) | Endpoint Supports Compression? | Integration Appliance Decompression Run Time Behavior When Receiving a Response |
---|---|---|---|
selected | gzip | yes | The Integration Appliance decompresses the body of the response using the gzip format. |
selected | deflate | yes | The Integration Appliance decompresses the body of the response using the deflate format. |
selected | identity | yes | The Integration Appliance does not decompress the body of the response. |
selected | value not listed in the Accept-Encoding header | yes | The Integration Appliance logs an error that the response data was received in an unsolicited content encoding type. |
selected | value is not significant | no | The Integration Appliance does not decompress the body of the response. The current value of the Content-Encoding header is passed as is in the response. |
cleared | value is not significant | value is not significant | The Integration Appliance does not decompress the body of the response. The current value of the Content-Encoding header is passed as is in the response. |