M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
New Contributor
Posts: 4
Registered: 2 weeks ago

SOP ( Same origin policy) Exception

Hi,

 

I'm receiving SOP ( Same origin policy) Exception while trying to access web service from custom script within my workflow to retrieve data. This is working correctly if the web service hosted at the same domain that host M.App enterprise.

 

Regards,

Maha

Highlighted
Technical Evangelist
Posts: 683
Registered: ‎11-12-2015

Re: SOP ( Same origin policy) Exception

Hi maha,

 

I believe the CORS should be checked on the MAE server. Is it enabled to allow cross origin resource sharing?

 

Here is more information on the CORS module

Highlighted
New Contributor
Posts: 4
Registered: 2 weeks ago

Re: SOP ( Same origin policy) Exception

Hi Stephen,

 

So, I must edit the config file of M.App Enterprise to allow it to retrieve data from other origins? 

 

Regards,

Maha