I have to get a Json object from a web service and I haven´t find any documentation about it. I have to post an sql sentence to get it. Anyone knows if all this is posible?
ok thanks for your answers. At the first the web service has a GetJsonString "metod". Im trying this code:
$(document).ready(function () {
$.ajax({
type: 'Get',
url: 'http:********************************.asmx?op=GetJSONString',
success: function(returnedJson) {
alert(returnedJson)
}
});
});
and I get this error:
XMLHttpRequest cannot load http:/***********asmx?op=GetJSONString. Origin null is not allowed by Access-Control-Allow-Origin.