Based on your post, you have:
You need to modify the CORS parameters on the Integration Server (IS). How to do it ?
Go to the IS admin panel. In the left side, click on Settings and Extended. There you can modify the parameters related to the CORS.
The parameters watt.server.cors.allowedOrigins, watt.server.cors.enabled, watt.server.cors.host are the main paramaters to modify.
- watt.server.cors.enabled to enable the cors. Update it at true.
- watt.server.cors.host contains the address of the IS. In your case: 127.0.0.1:5555
- watt.server.cors.allowedOrigins contains the addresses of the API caller (your javascript app). In your case http://127.0.0.1:5068. If you have multiple caller in multiple server, list it (eg: http://127.0.0.1:5068, http://127.0.0.1:8081)
After the modification, you have to restart your IS.
watt.server.cors.allowedOrigins=http://127.0.0.1:5068
watt.server.cors.enabled=true
watt.server.cors.exposedHeaders=
watt.server.cors.host=127.0.0.1:5555
watt.server.cors.maxAge=-1
watt.server.cors.supportedHeaders=accept,cache-control,authorization,content-type,access-control-allow-origin
watt.server.cors.supportedMethods=GET,POST,PUT,DELETE,OPTIONS,HEAD
watt.server.cors.supportsCredentials=false
#webMethods#API-Management