Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Please ask technical questions in the appropriate category. Thank you!

OSB 12c REST Service - Handling CORS

2682737Aug 1 2016 — edited Aug 1 2016

We've setup a REST Service in OSB 12c which is working as expected.

When calling the service from a browser an initial/preflight request is done to the service using the HTTP OPTIONS method.

However the response from the service doesn't include the 'Access-Control-Allow-Origin' header which is needed to allow the web site (which is on a different domain) to call the web service.

My question is, how do we add the 'Access-Control-Allow-Origin' response header for requests using the OPTIONS method. We are using the REST Adapter.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 4 2023
Added on Aug 1 2016
1 comment
621 views