Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

SOAP Returning null/undefined in edge browser.

$
0
0

Hi 

Please can any one , help on this , i am trying to get List items using soap query as below mentioned , getting data in IE10 , an chrome  but in edge retruning null/undefined. can any one help on this issue.  Please find below my sample code.

var soapEnv = "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'><soapenv:Body> <GetListItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'><listName>MyListName</listName><query><Query><Where><Neq><FieldRef Name='Status'/><Value Type='Text'>Completed</Value></Neq></Where></Query></query><viewFields></viewFields><rowLimit>20000</rowLimit></GetListItems></soapenv:Body></soapenv:Envelope>";    

       $.ajax({

           url: "<%= SPContext.Current.Web.Url %>" + "/_vti_bin/lists.asmx",
            type: "POST",
            dataType: "xml",
            data: soapEnv,
            contentType: "text/xml",
            success: function (xmlResponse) {


}
});

           

Regards

Srinivas Aare




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>