Hello tej,
Based on the given code, I suppose that Ajax requests to the service in question are not allowed. I would suggest you check this
StackOverflow discussion, which covers the same issue. You can further test your service using a regular $.ajax call in order to check whether it is allowed or not.
Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!