title: make xml from result of wcf service's response
body: <p>I wanna make a xml from result of my service's response in wcf,here is partial of my code which I can't log "serviceresult" in the following code :</p>
  
  <pre><code>public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
  {
      logger.InfoFormat("InvokeEnd Start command operation:{0}", this.operationName);                        
  
      var serviceResult =  this.invoker.InvokeEnd(instance, out outputs, result);
  
      logger.InfoFormat("Method {0} - Result :{1}", this.operationName, result.ToString());
      return serviceResult;
  }
  </code></pre>