c# - how to pass large json string to web service using [webinvoke] -


i have problem passing large json string web service client side jquery function. when lenth of string increases 1000 characters, web service throw exception "unspecified network error". please let me know how pass large json value web service using [webinvoke].

can increase size of url or whatever fix problem?

you can serialize json object:

page.asp

var data1 = {        idtest: ('<%= miaspvar %>'),        fono: telefono,        etc, etc }; var strdata = yahoo.lang.json.stringify(data1)  callservice(testllamada, strdata, estadollamada, onerror2);  function onerror2(result) {     alert(result); }  function estadollamada(result) { ... } 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -