App works great when side loading but it doesnt work from store RRS feed

  • Question

  • I developed a Windows App using phonegap.  The App uses jQuery mobile with AJAX and connect to the website (WSDL services).  It will sent request and get response using those WSDL services.

    When we test the App in windows 8.1 (registered dev mobile) it works great.  After we submit the App on store the Microsoft test support guys reported that the AJAX call to the server is failing and result in error.

    They advised to upload as BETA app which I am trying to explore that... However need assistance why the AJAX request keeps on failing from store APP?

    -------------------This is the code that fails and goes to error when launching the app from windows store ----------------

    function loadLoginDetails(){

    var xmlRequest = "<xml>.... </xml>"; //This variable will contain the full XML request
    var wsdlURL = "http://abcd/mob.php?wsdl"

    url: wsdlURL,
    type: "POST",
    dataType: "text",
    data: xmlRequest,
    contentType: "text/xml; charset=\"utf-8\"",

    success: function(xmlResponse) {
    //Success block
    error: function(xmlResponse) {
    alert(JSON.stringify(xmlResponse, null, 4));
    //Error block


    return false;

    Monday, January 18, 2016 10:30 PM