Hi guys, I get the error mentioned in the header when I try to run my application created in DevExtreme.
Whenever I run my application in the DevExtreme simulator, it works as it should, but when I try to run the application on my phone, I get the indicated 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 dealing with this problem for a long time, and I have no ideas.
source share