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
我怎样才能解决呢?