cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to open MII Transaction link in my windows PC, net::ERR_FAILED 200 (OK)

avisheksharmacoder
Participant
0 Kudos

I am trying to read an MII Transaction through web service from my PC and I am getting the cors error. I am using ajax call for this. This I am trying to monitor the Dev server availability. I am passing the login username and password through the IllumLoginName and IllumLoginPassword and the link runs fine, I get this JSON output when I run this link directly in a browser. 

avisheksharmacoder_0-1709723129089.png

 

Also, I can open the link using window.open() and it opens fine. 

But when using the link in an ajax call, even with crossDomain:true,,, it returns this error. 

Access to XMLHttpRequest at 'https://vchgmesd251.na.int.grp:50001/XMII/Runner?Transaction=DEVTest/Transaction/serverCheckTest&Out...' from origin 'http://127.0.0.1:5501' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

POST https://vchgmesd251.na.int.grp:50001/XMII/Runner?Transaction=DEVTest/Transaction/serverCheckTest&Out... net::ERR_FAILED 200 (OK)

Is there any way to make it work? or are there any other solutions? 

 

Accepted Solutions (0)

Answers (0)