+ Start a Discussion
Arnaud CombesArnaud Combes 

Error SOAP No 'Access-Control-Allow-Origin' even if added in CORS

Hello,

I would like to use the SOAP API of Salesforce (WSDL downloaded in Enterprise WSDL) and also call a SOAP function that I have created in APEX, buth for both, I have the issue : 
https://test.salesforce.com/services/Soap/class/test. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://myapp.com' is therefore not allowed access.
even though I have added "https://myapp.com" in CORS.

I manage to call the Salesforce SOAP API from SOAP UI but when I try to call this API from my website in Javascript/JQuery, I always have the issue.

Is it possible to call it from an external website ?

Thank you for your help.

Regards,
Arnaud CombesArnaud Combes
Someone knows how to do that ?

Thank you.
Arnaud CombesArnaud Combes
???
Arnaud CombesArnaud Combes
Hello,

Is there a way to call SOAP service outside Salesforce ?