Hi @JSimmons01 - thanks for sharing these details. Looking at the screenshot and errors, the URL to your WebAPI endpoint appears incorrect. Instead of “http://localhost:8080/Webapisource/sources” it should be “http://localhost:8080/WebAPI/source/sources”. You can adjust this in ATLAS as described here.
As for the CORS errors: the CORS related settings are defined by the settings.xml file used to compile the WebAPI.war file. For reference, here is a sample settings.xml. The main properties are:
<security.origin>*</security.origin>
<security.ssl.enabled>false</security.ssl.enabled>
<security.cors.enabled>true</security.cors.enabled>
If these are set as shown above, you can attempt to disable CORS by setting <security.cors.enabled>false</security.cors.enabled>, recompile WebAPI.war using maven and redeploy to Tomcat to see if that fixes the issue.
@Diego_Bosca_Tomas - you mentioned that you set the “access-control-allow-origin to *” - do you mean the security.orgin property? Please note that if you change these settings, you’ll need to redeploy the WebAPI.war for those changes to take effect. I do not believe you’ll need to update the web.xml settings in Tomcat but just curious to know if that helped at all?