none
Lists.asmx post method not working in Safari & Chrome RRS feed

  • Question

  • HI, 

    I am reading sharepoint ilst items using lists.asmx webservice via javascript.

    jQuery.post({
                    url: "http://url/_vti_bin/lists.asmx",
                    dataType: "text/plain; charset=x-user-defined",
                    data: soapEnv,
                    contentType: "text/plain; charset=x-user-defined",
                    complete: function (xData, status) {
                        alert(xData.responseText);
                    
                    },
                    contentType: "text/xml; charset=\"utf-8\""
                });

    This is my code. It works well in IE and Firefox. but not in chrome and safari. I have tried by changing the datatype to XML also. But getting Empty only. In safari i got the status as parseError. Did anyone knows the solution for this?

    Thanks


    Thanks, Saravanan PRS

    Thursday, July 26, 2012 2:46 PM

Answers