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

256
Views
No se pudo ejecutar 'enviar' en 'xmlhttprequest' no se pudo cargar

Hola chicos, recibo el error mencionado en el título cuando intento ejecutar mi aplicación creada en DevExtreme.

Cada vez que ejecuto mi aplicación en el simulador DevExtreme, funciona como debería, pero cuando intento ejecutar la aplicación en mi teléfono, aparece el error mencionado.

 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 }); }

He estado luchando con este problema durante mucho tiempo y no tengo ideas.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Si la página donde se ejecuta este script no está en http://192.168.80.2:8080 y su servidor no habilita el uso compartido de recursos de origen cruzado para cualquier origen en el que se encuentre, se está ejecutando en la Política del mismo origen , que prohíbe ajax de origen cruzado.

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!