MAF Application Unable To Consume REST Service When No Content-Length Data Is Returned In The Response (Doc ID 1937621.1)

Last updated on NOVEMBER 09, 2016

Applies to:

Mobile Application Framework - Version 2.0.0 and later
Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.

Symptoms

A Web Service is being invoked from a MAF application that returns some information from a backend system.
The first time it is called, it correctly returns Content-Length, but subsequent calls fail.

MAF is unable to consume the REST service when no Content-Length is returned. The content is always returned as an empty string.
There is no other symptom on the MAF side other than an empty payload returned.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms