0
我有春季肥皂web服務,運行良好。但我的JS客戶Spring的WS客戶端WS
var req = new XMLHttpRequest();
if(req.readyState == 4){....}
req.open('POST', 'http://localhost:8080/CurrencyService', true);
req.setRequestHeader("Content-Type", "text/xml");
req.send(msg);
拋出
405 Method Not Allowed - http://localhost:8080/CurrencyService
我怎樣才能解決呢?