RESTful Service Callout Throwing Error when HTTP Status Code 302 Is Returned

(Doc ID 2189434.1)

Last updated on OCTOBER 08, 2016

Applies to:

Oracle Service Bus - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

OSB code that is making a Service Callout to a REST service that will always return HTTP Status Code 302 (for redirection). For some reason OSB thinks this is an error and is throwing a Fault (OSB-382502) and in the process losing the result.

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