title: How to receive XmlDocument in MVC 4 Web Api?
body: <p>I am posting XmlDocument to ApiController (from windows service, service is working fine, it is posting correct, i used it in wcf web api), but xml is always null, what am i doing wrong?
  I can post some class, such in tutotials, or Get any data and everything will be ok, but i can't post  XmlDocument.</p>
  
  <pre><code>public class XmlController : ApiController
  {
      public void PostXml(XmlDocument xml)
      {
         // code
      }
  }
  </code></pre>