Remove xml tag while creating web service in asp.net

Essedadom

New Member
I am creating a webservice in asp.net. Below is the reponse which i am getting.\[code\]<?xml version="1.0" encoding="utf-8"?><string xmlns="http://tempuri.org/">{"Question1":"do the like the idea of the first speaker?","Option1":"YES","Option2":"NO","Option3":"NOT SURE","Option4":"","Option5":"","Type":"button","QID":"q1"}</string>\[/code\]How can i remove he xml tag from here...any ideas?\[code\][WebMethod(EnableSession = true)] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string GetQuestions() { return new JavaScriptSerializer().Serialize(Biz.BAL.GetQuestions()); }\[/code\]
 
Back
Top