.netに非常にシンプルなWebサービスがあります
[WebInvoke(Method = "POST",
ResponseFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "xml?id={id}")]
string XMLData(string id);
次のURLを渡してFiddlerでチェックしていると、正常に動作しています
http://localhost:60104/IO_100_Service.svc/xml?id=123}
しかし、フィドラーのリクエスト本文でパラメーターを渡そうとすると、機能しません
URL
http://localhost:60104/IO_100_Service.svc/xml
Request Header
Content-Type: application/x-www-form-urlencoded
Request Body
id=123
誰かがそれについて何か考えを持っているなら、これで私を助けてください。