My Oracle Support Banner

OSB REST Service Unable To Process Response When The Response Is Compressed Using Gzip Compression (Doc ID 2954260.1)

Last updated on SEPTEMBER 30, 2024

Applies to:

Oracle Service Bus - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

A REST OSB proxy service is unable to process a response from an external provider, if the response from the external provider is compressed using gzip. The error below is returned to the caller:


The issue can be reproduced at will with the following steps:
1.Send a GET request to an http REST OSB proxy service. The header contains a header 'Accept-Encoding' with value 'gzip'.
2. The OSB proxy delegates to a pipeline, which forwards the request via a REST business service to the external provider. All incoming headers are forwarded to the external provider.
3. The external provider compresses the response in gzip format and sends it back to OSB.
4. The OSB gives the following error back to the caller: "OSB-382030 - Failure while un-marshalling message: Unable to convert from this source type to StringSource: com.bea.wli.sb.sources.LazilyBufferedSource". When the 'Accept-Encoding' header in step 1 is omitted, no error occurs.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.