用:
[WebMethod][scriptMethod(ResponseFormat = ResponseFormat.Json)]//Specify return format.public string CheckFeedSubmission() { string responseText = ""; try { //Stuff goes here responseText = "It Worked!" } catch (Exception ex) { responseText = "Opps wehave an error! Exception message:" + ex.Message; } return responseText ; }返回的结果将类似于:
<string xmlns="http://tempuri.org/"/> {"success" : true, "message" : "***Message Here***"}</string>


