Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6422 closed enhancement (invalid)

Could not return more than 60000 string data

Reported by: soumitrasa Owned by:
Priority: Milestone: 1.4.3
Component: data Version: 1.4.2
Keywords: could not return heavy data Cc:
Blocked by: Blocking:

Description

Problem: "We are using jquery to consume asp.net JSON web services.

$.ajax({

type: "POST", url: "Services/Services.asmx/_featchData", data: "{parameters}", contentType: "application/json; charset=utf-8", dataType: "json", success: function(msg) { var value = msg.d;

}, error: function() {

alert("Error in loading!");

}

});

Above portion written inside .js function, we are calling _featchData() method written inside Services.asmx page [WebService(Namespace = "http://tempuri.org/")]

[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.Web.Script.Services.ScriptService] To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. [System.Web.Script.Services.ScriptService] public class Services : System.Web.Services.WebService {

[WebMethod(EnableSession = true)] [ScriptMethod(ResponseFormat = ResponseFormat.Json] public string _featchData(parameters) {

string data = ""; logic written to create string and fetch data from server.

return data;

}

}

_featchData method written inside Services.asmx page,this method return data to .js file. But problem is here through this process we could not return more than 60000 string data. Please need some immediate solution because we are stuck here.

Change History (1)

Note: See TracTickets for help on using tickets.