Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cross Origins Issue

User_UKUNQMar 25 2019 — edited Mar 31 2019

Hello, I followed blog ( https://developer.oracle.com/databases/building-jet-crud-apps-odb12c ) to invoke rest web service  but am getting  CORS error ( refer below).  Have installed ORDS within sql developer ( version 18.1.0.095) and rest service works and returns json output. I tried setting "Origins Allowed"  at module level but still it gives gives the same error.

Can you please guide as how to setup the access control across domains in ORDS.

Thanks in advance.

Error :

Access to XMLHttpRequest at 'http://localhost:8080/ords/apps/hr/department/555' from origin 'http://localhost:8383' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Comments

Dude!

Your client will probably want to update to 19c (12.2.0.3).

What you might want to consider is updating the database to 11.2.0.4, so you have a direct DB upgrade path. Other than that your question is too vague and you need to ask more specifically. 

d.candeloro

According to Oracle Support the 19c version is not certified for working with Siebel IP2016.

The last certified version is 12.2.0.1.0:

Siebel is running on Oracle Database 11.2.0.3.0 now. So, suppose that we create a new instance of the database with version 12.2.0.1.0 and we copy the Siebel schema from the current db instance to the new one. What are the other steps to perform in order to let the Siebel works on the new instance of the DB?

If my question is too vague, please let me know how I can help you understand my doubt.

Best Regards,

Davide

Dude!

You're asking in the database upgrade forum. Upgrading the database is complex task.

If your question is more about Siebel than DB specific, why aren't you asking in the Siebel forum:

d.candeloro

Thanks Dude!

1 - 4

Post Details

Added on Mar 25 2019
2 comments
1,563 views