title: Changing the WebService method result name
body: <p>This is probably an easy thing, but I haven't found a working way of doing it.</p>
  
  <p>I have a C# web service which currently has an output like this:</p>
  
  <pre><code>&lt;GetInformationResponse&gt;
    &lt;GetInformationResult&gt;
      &lt;Policy&gt;
      &lt;/Policy&gt;
    &lt;/GetInformationResult&gt;
  &lt;GetInformationResponse&gt;
  </code></pre>
  
  <p>What I need is output like this:</p>
  
  <pre><code>&lt;GetInformationResponse&gt;
    &lt;InformationResponse&gt;
      &lt;Policy&gt;
      &lt;/Policy&gt;
    &lt;/InformationResponse&gt;
  &lt;GetInformationResponse&gt;
  </code></pre>
  
  <p>I've tried wrapping everything in an "InformationResponse" object, but I still have the "GetInformationResult" object encapsulating it.  I basically need to rename "GetInformationResult" to "InformationResponse".</p>
  
  <p>Thanks!</p>
  
  <p>ETA: Object/method information</p>
  
  <pre><code>[WebMethod]
  public InformationResponse GetInformation(GetInformationRequest GetInformationRequest)
  {
    InformationResponse infoSummary = new InformationResponse();
    Policy policy = new Policy();
    // setting values
  
    return infoSummary;
  }
  </code></pre>
  
  <p>InformationResponse object:</p>
  
  <pre><code>[System.Xml.Serialization.XmlInclude(typeof(Policy))]
  public class InformationResponse : List&lt;Policy&gt;
  {
    private Policy policyField;
  
    /// &lt;remarks/&gt;
    [System.Xml.Serialization.XmlElementAttribute("Policy", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
    public Policy Policy
    {
      get
      {
          return this.policyField;
      }
      set
      {
          this.policyField = value;
      }
    }
  }
  </code></pre>