I'm trying to use the ACC Web service SOAP calls through a reactJS app.
The first issue I faced was getting blocked by CORS :
After searching online, I managed to add the necessary response headers in the Apache server config and they seem to appear on the request, but that only lead to another problem which was the OPTION method getting rejected.
Many hours of research later without any lead, I decided to discard this CORS issues temporarily and run my devs on a chrome version where CORS is disabled. That seemed to work and I finally managed to call the Logon service.
With both the session and security token at my hands, it's time to call the other services that I disparately need, I configure the request headers and body and execute it, only to be met with :
Apparently it is no longer possible to set cookie as a header as the navigators are the ones who can do that now. So I basically cant make any SOAP request as all of them require the session token to be sent in the request header as a cookie.
If anyone got any idea on how to solve any of the issues mentioned above, please help !
Side Note : none of these issues were faced while trying to execute the request in POSTMAN, I managed to get both the logon and other services to respond