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

How to set "Access-Control-Allow-Origin" on Weblogic server

Received Response
13
Views
1
Comments
edited Jun 25, 2019 9:13AM in Java 1 comment

Summary

I need a guidance on how to set "Access-Control-Allow-Origin" on Weblogic server

Content

We have a have a bot SDK deployed on web logic  server but got this error during testing. We have tested successfully on the Dev/Test environment but we got this error after deploying to production.

Any assistance on how to set this will be appreciated.

Error: 
Access to XMLHttpRequest at 'https://pcschat.firstbanknigeria.com:4443/botsdk/loader.json' from origin 'https://hdbc.fa.em2.oraclecloud.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Unable to set "Access-Control-Allow-Origin" on Weblogic server

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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