Ajax query to my webservices is returning xml in my json
问题 I am having this exact problem as raised in this question ASP.NET JSON web service always return the JSON response wrapped in XML It's late and I have been sitting in this chair for 10 hours now trying to get ajax and json to work and all I got was deeply frustrated. So does anyone know how to make my webservice not return my json object wrapped in xml? If I just do a straight dataType: "json" then I get nothing. I have to do dataType: "jsonp" to get anything back from the server at all. But