E-IB: Proper Handling of 40x Error Response Codes for REST Web Services (Doc ID 1514606.1)

Last updated on AUGUST 01, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.52 and later
Information in this document applies to any platform.

Goal

If a restful request is sent through the integration gateway, and an HTTP Status code of 40x, such as 401 is returned by the target system, Integration Gateway incorrectly throws an ExternalSystemContactException.

When the target responds with a HTTP status code of 200 is returned, Integration Gateway reports the message as "DONE" which is correctly interpreted as the response data contained in JSON format. When Integration Broker reports the "ERROR" status, the Json response data is not captured. This data is required by the application to gracefully handle errors for the users.
 

Solution

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