2011-12-09 4 views
0

私はよく働く春の石鹸ウェブサービスを持っています。しかし、私のJSクライアントSpring WS用JavaScriptクライアント

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 

を投げますか?

答えて

2

私はSpring WSについて何も知らないが、/ CurrencyServiceを処理するために定義したものは、POSTを受け入れない。 docsをスキミングするWebServiceMessageReceiverHttpHandlerが見つからないか、誤って設定されていると思います。

関連する問題