You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to call SOAP Services from AppUI

Accepted answer
323
Views
22
Comments
edited Nov 21, 2022 7:01PM in Develop for Redwood 22 comments

Content (required):

We are trying to call SOAP service from an AppUI similar to the approach mentioned here for VBCS (https://www.ateam-oracle.com/post/calling-soap-services-from-visual-builder and https://blogs.oracle.com/post/how-to-display-a-bi-publisher-report-in-visual-builder-without-an-iframe).

But we observed that when we set the Auth to 'Oracle Cloud Account' the bearer token is not being sent in the request and hence we get 401.

To debug more. here are few more observations,

  1. Since its a SOAP service we are likely to face CORS issues if the domains are different. As expected from VB Studio's Service connection editor when we test, we get CORS error. But on Preview the application runs from the SaaS domain and hence we do not get CORS error. The call goes through.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!