OSB Is Not Reading The Response Body When Backend Returning 401
(Doc ID 2268278.1)
Last updated on AUGUST 12, 2024
Applies to:
Oracle Service Bus - Version 12.1.3.0.0 to 12.1.3.0.0Oracle WebLogic Server - Version 10.3.6 to 12.1.3.0.0
Information in this document applies to any platform.
Symptoms
Trying to use restful business service that need to access a external 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.
6. See the notification in the OSB Diagnostic log.
Changes
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 |
Changes |
Cause |
Solution |
References |