Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

243
Views
Failed to execute 'send' on 'xmlhttprequest' failed to load

Hello guys I'm getting the error mentioned in the headline when i try to a run my app created in DevExtreme.

Whenever Í run my app in the DevExtreme simulator it works as it should but when I try to run the app on my phone I get the mentioned error.

    function CallService() {
    var baseAddress = "http://192.168.80.2:8080/WebService/rest/WarehouseServices/";

    $.ajax({
        type: "GET",
        url: baseAddress + 'getPickingOrders',
        contentType: 'applicaiton/xml; charset=utf-8',
        dataType: "xml",
        async: false,
        success: function (xmlObject) {
            xml = xmlObject;
            console.log("succes ramt");
            alert(xml);
            console.log(xml);
            dataSource = GetData(xmlObject);
        },
        error: ErrorOccur
    });

}

I have been strugling with this problem for a long time now and I'm out of ideas.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

If the page where this script is running isn't on http://192.168.80.2:8080 and your server doesn't enable Cross-Origin Resource Sharing for whatever origin it's on, you're running into the Same Origin Policy, which prohibits cross-origin ajax.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!