title: Data loss on object during HTTP PUT
body: <p>Here is the Put call (note: I have done this the traditional non Microsoft API way as well, same result).</p>
  
  <pre><code>response = httpClient.Put(uriTemplate, contentType, CreateContentFromObject(obj));
  </code></pre>
  
  <p>Then I debug into the service which ends up showing the following:
  <img src="https://i.stack.imgur.com/FK7jq.png" alt="enter image description here"></p>
  
  <p>Here is my object</p>
  
  <pre><code>    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
  [System.Diagnostics.DebuggerStepThroughAttribute()]
  [System.Xml.Serialization.XmlTypeAttribute(TypeName = "Dog", AnonymousType = true, Namespace = "http://schemas.datacontract.org/2004/07/DowCorning.BusinessObjects")]
  [System.Xml.Serialization.XmlRootAttribute(DataType = "Dog", Namespace = "http://schemas.datacontract.org/2004/07/DowCorning.BusinessObjects", IsNullable = false)]
  public class Dog
  {
      public string FurColor { get; set; }
      public int Weight { get; set; }
      public string Temperment { get; set; }
      public string Tricks { get; set; }
      public string Breed { get; set; }
  }
  </code></pre>
  
  <p>here is my contract</p>
  
  <pre><code>        [OperationContract(Name = "http://www.company.com/dog")]
      [WebInvoke(ResponseFormat = WebMessageFormat.Xml, UriTemplate = "dog", Method = "PUT")]
      Dog Doggy(Dog updateDog);
  </code></pre>
  
  <p>Any help on figuring out why the data loss is occuring would be greatly appreciated.</p>
  
  <p>NOTE: If I execute the PUT through fiddler, there is no issue...</p>