Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7662245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:45:04+00:00 2026-05-31T13:45:04+00:00

Here is the Put call (note: I have done this the traditional non Microsoft

  • 0

Here is the Put call (note: I have done this the traditional non Microsoft API way as well, same result).

response = httpClient.Put(uriTemplate, contentType, CreateContentFromObject(obj));

Then I debug into the service which ends up showing the following:
enter image description here

Here is my object

    [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; }
}

here is my contract

        [OperationContract(Name = "http://www.company.com/dog")]
    [WebInvoke(ResponseFormat = WebMessageFormat.Xml, UriTemplate = "dog", Method = "PUT")]
    Dog Doggy(Dog updateDog);

Any help on figuring out why the data loss is occuring would be greatly appreciated.

NOTE: If I execute the PUT through fiddler, there is no issue…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T13:45:06+00:00Added an answer on May 31, 2026 at 1:45 pm

    This was a serialization issue

    I utilized the [Order] attributes on my data member and this resolved my issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this <a href='#?title=sample&url=sample.com'></a> on the same page I put $title = $_GET['title'];
Here is the way I can put float value to the stack(in C#): ILGenerator
Here's the thing. I have an interface, and I would to put the Include
Supppose you are here http://domain.com/category/month/123 . What's the correct way to put a link
I have a class hierarchy that can be simply put like this: struct Parent
Here is my query // Put it all into the database mysql_query(INSERT INTO orders
Here is my array that is put together: Array ( [1] => Array (
Here's a snippet of a script of mine attempting to put extra Unicode awesomeness
Let me first put the code snippets here. I am just using the ASP.NET
I thought I'd put the working solution here for others interested in a code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.