title: WCF service that returns xml element
body: <p>In my wcf service I need to return the status code as xmlelement.
  If the POST method is sucess then I should pass </p>
  
  <pre><code>&lt;xmlelement&gt;success&lt;/xmlelement&gt;
  </code></pre>
  
  <p>to the client.
  if theres any error then
  I should pass </p>
  
  <pre><code>&lt;xmlelement&gt;error&lt;/xmlelement&gt; 
  </code></pre>
  
  <p>to the client.
  Any idea how to do this.
  And is there any good site i can get good material abou this.
  Thanks for your help.</p>