Skip to main content

Bug Tracker

Side navigation

#6422 closed enhancement (invalid)

Opened April 12, 2010 09:17AM UTC

Closed April 13, 2010 01:26AM UTC

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.

Attachments (0)
Change History (1)

Changed April 13, 2010 01:26AM UTC by dmethvin comment:1