Skip to Main Content

Siebel

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Invoking an API from a Siebel Open UI PR script

Vasanti DaneDec 22 2023

Hi,

We are trying to invoke Canada Post Address Complete API from siebel Form Applet. The invocation is through an internal server that uses token authentication. The call however is always failing with CORS error.

var t = new i.XMLHttpRequest;
t.withCredentials = true,
t.open("POST", "https://xxx.com/api/service1/xx/find/v2.10/json3ex.ws", !0),
t.setRequestHeader('Authorization', 'Bearer '+ <Token>),
t.setRequestHeader("Content-Type", "application/json"),
t.send())

Any ideas on how to resolve this?

We have to pass the bearer token in order to authenticate.

Comments

BluShadow Mar 18 2024

Oracle support documents are available to paying customers through the support portal: support.oracle.com

If you are not a paying customer then I'm afraid you won't have access to the document, and it is a breach of any customer's agreement with Oracle to supply such support documents to others.

1 - 1

Post Details

Added on Dec 22 2023
0 comments
193 views