I'm consuming a third party .NET SOAP WebService (.asmx). I want to log request and response. I have seen some solutions using SoapExtensions. But I like to integrate logging in my system, some like this:
public class MyWebService : ThirdPartyWebService
{
public string Request { ... }
public string Response {... }
}
Could i do this? Is there another solution?
UPDATE: I like avoid to serialize request and response object. But I´m doing this now.