-1
如果我不期望得到結果(void方法)使用JavaScript調用soap jws web服務的方法的最短和最好的方法是什麼?調用jws void方法的最好和最短的方法
如果我不期望得到結果(void方法)使用JavaScript調用soap jws web服務的方法的最短和最好的方法是什麼?調用jws void方法的最好和最短的方法
這是測試,它的工作原理(你需要的jQuery)
代碼:
$.ajax({
type: "get",
url: "http://localhost:****/webservicedirectory/webservice.jws",
data: 'method=methodname&variable1=value1&variable2=value2&.......&variablen=valuen',
success: function() {},
error: function() {}
});
* *:端口號
PS:休假錯誤和成功空因爲它可能會返回錯誤,即使它工作