I use jquery to make a $ .ajax () call to a REST web service. Based on the documentation I found, I need to use jsonp as the data type to make this cross-call the domain (the XML document is what really returns). However, when I run my code, I get the error message "XML may not be the whole program."
Does anyone know what this error means and how to fix it (if at all)? A Google search did not provide much information, and another post on this subject didn’t help me either.
If you have further questions, let me know.
source
share