title: How can I return bare result back to WCF client
body: <p>I have code something like the following:</p>
  
  <pre><code>&lt;OperationContract()&gt;
  &lt;Description("")&gt;
  &lt;WebGet(Bodystyle:=WebMessageBodyStyle.Bare, UriTemplate:="TestConnection")&gt;
  Function TestConnection() As String
  
  
  Public Function TestConnection() As String Implements ITestSvc.TestConnection
      WebOperationContext.Current.OutgoingResponse.ContentType = "text/plain"
      Return "Connection Success"
  End Function
  </code></pre>
  
  <p>But it returns is <code>&lt;string xmlns='...'&gt;Connection Success&lt;/string&gt;</code></p>
  
  <p>How can I have only "Connection Success" to be returned without XML wrapper.  I know that we can do something with MessageEncoder.  But, I want to have it available at operation level (certain operations need XML/JSON wrappers and certain operations don't).</p>
  
  <p>Can anyone help me on this?</p>