jquery Ajaxを使用してアクセスしようとすると、.asmxを使用するWebサービスがあります.http 405の問題が発生し、500の場合があります.クライアント側の問題のWebサービスの問題です.例を教えてください.
$j.ajax({
type: "POST",
//url :'http://Service1.asmx/HelloWorld',
url :webServiceUrl,
cache:false,
async: false,
data: soap xml data,
dataType :"xml",
error:function ()
{
alert("error");
},
contentType:"text/xml; charset=\"utf-8\"",
}).done(function(response){
console.log(response);
alert("Yahoo ");
});
});