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

Calling Rest Service endpoints in a component using VBCS REST Helper API

edited Apr 3, 2019 6:42PM in Visual Builder 4 comments

Summary

Calling Rest Service endpoints in a component using VBCS REST Helper API

Content

Hi,

I tried to call a sample open webservice from a custom component in vbcs by following this blog :-

https://blogs.oracle.com/groundside/web-component-techniques-integrating-components-with-vbcs-service-endpoints

and it worked for me..

But when i tried to call an OEC Knowledge webservice by the same approach.. then it failed giving this error :-

rest.js:633 Uncaught (in promise) Error: unable to find endpoint 'kmApiLatestContentNew/getC06896AAD1B74106970DFC3EC1FED412', attempted REST call failed
    at rest.js:633

If we test the endpoint in Service Connection then the response comes..(Headers being passed as -> Accept-Language : en_US)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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