【发布时间】:2013-01-12 19:42:26
【问题描述】:
我正在使用这样的 jquery ajax 调用:
$.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");
},
});
仍然不会调用 Web 服务。每次我收到错误警报。有人可以帮我解决这个问题吗?
【问题讨论】:
标签: jquery ajax web-services web