WCFサービスには、カスタムがありますIErrorHandler
。うまく機能し、エラーをログに記録することで多くの問題を修正しました。私が得ている最後のエラーはシリアル化の例外です:
Unexpected end of file. Following elements are not closed: Source, item, root.
There was an error deserializing the object of type System.Collections.Generic.List`1[[My.Web.Services.Dto.Log, My.Web.Services.Dto, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]. Unexpected end of file. Following elements are not clo
これは、クライアントからメッセージが正しく届かなかったことを示しています。それがどんなメッセージだったかを知る方法はありますか?内部からHTTPポストパラメータにアクセスできますIErrorHandler
か?