I am using the jquery ajax call like this:
$.ajax({
url: WEBSERVICE_URL,
type: "GET",
dataType: "application/json; charset=utf-8",
username: "admin", // Most SAP web services require credentials
password: "admin",
processData: false,
contentType: "application/json",
success: function() {
alert("success");
},
error: function() {
alert("ERROR");
},
});
still the call is not going to web service. Everytime I am getting ERROR alert. Can some body help me on this please?