I have few Services- with clean-URLs
and while calling each service, the URL pattern is being checked.
Now am calling those URLs via AJAX from another server u
You should set jsonp: false
and not jsonpCallback: false
. You should also explicitly set the jsonpCallback
option to the callback name you expect to receive from the service.
Reference: http://api.jquery.com/jQuery.ajax/
If you set cacheing to true
ie will cache the
request response, and all subsequent JSONP calls will not return new
data.
Without the callback JSONP is unusable, because there is no way to read the response. The callback is the whole point of JSONP.
If you are using a custom callback Try this, but a custom callback is not the same as removing the callback:
jsonpCallback : "callbackMethod"