How to Use Appropriate Connection Type to Handle CORS for REST Services. How Can We Avoid Using Proxy
(Doc ID 2889294.1)
Last updated on APRIL 22, 2024
Applies to:
Visual Builder Studio - Version 19.4.3 and laterInformation in this document applies to any platform.
Symptoms
When Visual Builder Application is invoking FA/CrmRestApi layer services,looking for a way to reduce the response.For example invoking FA Services like Contacts, Leads, Opportunities and Service Requests --etc. VB application is embedded within the same Oracle Sales Cloud at the Contacts level through a Mashup.
when using these REST API's the response times are more since they are going through proxy but when creating the server for the rest API using "Oracle Cloud Account" authentication and it does not allow to use the connection type "Dynamic, the service supports CORS".
As per docs Use an Appropriate Connection Type to Handle CORS for REST Services
When trying to test the REST API we are forced to use the "Dynamic, the service does not support CORS" connection type, this type of connection has to pass through a VB proxy and adds additional time. This in-turn increases response time
How can we avoid the proxy in such situations?
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 |