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 to
Oracle WebLogic Server - Version 10.3.6 to
Information in this document applies to any platform.


On : version, OSB Transports


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.

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.

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.

6. See the notification in the OSB Diagnostic log.




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