【发布时间】:2010-10-05 09:49:14
【问题描述】:
我正在使用第三方 .NET SOAP WebService (.asmx)。我想记录请求和响应。我见过一些使用SoapExtensions 的解决方案。但我喜欢在我的系统中集成日志记录,有些是这样的:
public class MyWebService : ThirdPartyWebService
{
public string Request { ... }
public string Response {... }
}
我可以这样做吗?还有其他解决方案吗?
更新:我喜欢避免序列化请求和响应对象。但我现在正在这样做。
【问题讨论】:
-
你还在寻找这个问题的答案吗?
标签: .net web-services soap asmx soap-extension