5 Replies Latest reply on Jul 24, 2017 10:13 AM by aanjan RSS
    vsrilekha Newbie

    Unable to Parse the XML

    Hi all  I'm using Thingworx 7.4 currently and I'm trying to Parse an Xml file below is my code

     

     

    var params = { 

    proxyScheme: undefined /* STRING */, 

    headers: undefined /* JSON */, 

    ignoreSSLErrors: undefined /* BOOLEAN */, 

    useNTLM: undefined /* BOOLEAN */, 

    workstation: undefined /* STRING */, 

    useProxy: undefined /* BOOLEAN */, 

    withCookies: undefined /* BOOLEAN */, 

    proxyHost: undefined /* STRING */, 

    url: "http://www.holidaywebservice.com/HolidayService_v2/HolidayService2.asmx/GetCountriesAvailable" /* STRING */, 

    timeout: undefined /* NUMBER */, 

    proxyPort: undefined /* INTEGER */, 

    password: undefined /* STRING */, 

    domain: undefined /* STRING */, 

    username: undefined /* STRING */ 

    }; 

     

    // result: XML 

    var result = Resources["ContentLoaderFunctions"].GetXML(params);

     

     

    I'm getting this error.

     

    Please help me fix it