How to set the CORS policy for a SOAP service
Hi team
I'm trying to test my SOAP service.
When I test it on POSTMan it works no problem, however when I try to do it by a Fetch call, it says that the CORS policy is not there.
However I've set the policy in PEGA.
This is my URL path for the Service:
https://xxxxxx-xxxxxx-xx1.pegacloud.net/prweb/PRSOAPServlet/SOAP/MyPackageName/Services/GetPendingXXXX
And this is how I've set it up on PEGA CORS mapping
PRSOAPServlet/SOAP/MyPackageName/Services/GetPendingXXXX AllowAllOrigins
Still getting the error:
"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://xxxxxx-xxxxxx-xx1.pegacloud.net/prweb/PRSOAPServlet/SOAP/MyPackageName/Services/GetPendingXXXX"
Is there something that I'm doing wrong here?