While calling MVC webservice from my html page it was always going to error; please help me, i even used JSONP and Callback Pin

While calling MVC webservice from my html page it was always going to error; please help me, i even used JSONP and Callback Pin

I am  developing  a android app  usinh PhoneGap, so i need to call a  webservice  from Html page for login and , inserting  data into DB

$.ajax({
type: "GET",
url: url,
contentType: "application/json; charset=utf-8",
crossDomain: true,
dataType: "json",
success: function (msg) {
alert(msg)
},
error: function (e, status) {
alert(e + " Fail " + status)
}
});