title: ASMX returning JSON always inside an xml tag
body: <p>I have asmx services that return json strings. I use DataContractJsonSerializer class and the resulting json is fine.</p>
  
  <p>When I call these services to consume in a web app, the response is always coming backencapsulated in an xml tag. Any ways to get rid of the xml and return only the json.</p>
  
  <h2>Example response :</h2>
  
  <pre><code>&lt; ?xml version="1.0" encoding="utf-8" ?&gt;
  &lt; string xmlns="http://whatever.net/"&gt;
  
  {"Success":true,"Data":{"RoomList":[{"CreatedAt":"\/Date(1291192978793-0800)\/","GameTimeOut":0,"MatchPointingType":0,"MoveTimeOut":0,"Name":"Reterras numagona alantis","RoomID":44,"SFID":null,"StartingMatchPoints":0,"UpdateAt":null,"UserID":12},{"CreatedAt":"\/Date(1291115544347-0800)\/","GameTimeOut":0,"MatchPointingType":0,"MoveTimeOut":0,"Name":"12122","RoomID":43,"SFID":null,"StartingMatchPoints":0,"UpdateAt":null,"UserID":2},{"CreatedAt":"\/Date(1291115537413-0800)\/","GameTimeOut":0,"MatchPointingType":0,"MoveTimeOut":0,"Name":"12122","RoomID":42,"SFID":null,"StartingMatchPoints":0,"UpdateAt":null,"UserID":2}],"TotalCount":42}}
  
  &lt; / string&gt;
  </code></pre>