title: WCF Serialization Return - Noob
body: <p>I have an object which I serialize nicely into this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;people xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" userID="AX12345"&gt;
    &lt;group groupID="1234_ABCD"&gt;
      &lt;person name="Name 0" id="0" /&gt; 
      &lt;person name="Name 1" id="1" /&gt; 
      &lt;person name="Name 2" id="2" /&gt; 
      &lt;person name="Name 3" id="3" /&gt; 
    &lt;/group&gt;
  &lt;/people&gt;
  </code></pre>
  
  <p>Which is returned as a string to this:</p>
  
  <pre><code>    [OperationContract]
      [WebGet(UriTemplate = "format/{format}/userid/{userid}/sessionkey/{sessionkey}")]
      string Get(string format,string userid,string sessionkey);
  </code></pre>
  
  <p>When I view the returned data this service, I get this.</p>
  
  <pre><code>&lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;s:Header /&gt;
    &lt;s:Body&gt;
      &lt;GetResponse xmlns="http://tempuri.org/"&gt;
        &lt;GetResult&gt;**&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;people xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" userID="123BOBBY"&amp;gt;&amp;lt;group groupID="1234_ABCD"&amp;gt;&amp;lt;person name="Name 0" id="0" /&amp;gt;&amp;lt;person name="Name 1" id="1" /&amp;gt;&amp;lt;person name="Name 2" id="2" /&amp;gt;&amp;lt;person name="Name 3" id="3" /&amp;gt;&amp;lt;/group&amp;gt;&amp;lt;/people&amp;gt;&lt;/**GetResult&gt;
      &lt;/GetResponse&gt;
    &lt;/s:Body&gt;
  &lt;/s:Envelope&gt;
  </code></pre>
  
  <p>And what I would like is this:</p>
  
  <pre><code>&lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;s:Header /&gt;
    &lt;s:Body&gt;
      &lt;GetResponse xmlns="http://tempuri.org/"&gt;
        &lt;GetResult&gt;
          &lt;people userID="AX12345"&gt;
            &lt;group groupID="1234_ABCD"&gt;
              &lt;person name="Name 0" id="0" /&gt; 
              &lt;person name="Name 1" id="1" /&gt; 
              &lt;person name="Name 2" id="2" /&gt;
              &lt;person name="Name 3" id="3" /&gt; 
            &lt;/group&gt;
          &lt;/people&gt;
        &lt;/GetResult&gt;
      &lt;/GetResponse&gt;
    &lt;/s:Body&gt;
  &lt;/s:Envelope&gt;
  </code></pre>
  
  <p>I am a beginner with all this.</p>