OSB Is Not Reading The Response Body When Backend Returning 401 (Doc ID 2268278.1)

Last updated on MAY 25, 2017

Applies to:

Oracle Service Bus - Version 12.1.3.0.0 to 12.1.3.0.0
Oracle WebLogic Server - Version 10.3.6 to 12.1.3.0.0
Information in this document applies to any platform.

Symptoms

On : 12.1.3.0.0 version, OSB Transports

ACTUAL BEHAVIOR
---------------

The scenario is a restful business service that tries to reach a 3rd party endpoint URL. When using the business service's GET call to the 3rd party client using invalid credentials in the OSB Console, a body is not received in the JSON response.

EXPECTED BEHAVIOR
-----------------------
When attempting to access the endpoint URI manually by entering the address in the address bar of a browser, the following message is displayed:
"{"result":"failure","message":"Missing authentication","reason":"unauthorized"}"

It is expected that the OSB console will show the same response message.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Log in to the OSB Console.

2. Find and select the business service.

3. Launch the test console.

4. Click Execute.

5. See the Response information.

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