Using you implementation for consoming contents is working, but use another webservice is more difficult because one internal problem is generated. I have tried many solutions to fixing this problem including registration of webservices protocols in web.config, i have tested many sort of services pasing datas like DataTables, Dataset as byte or serialised, i have tried serialisedDictionaries with same issue error 500. Only work very smal text like hello world from service.
I have found this topic speaking about similar problems here
but need build some httpmodule. i have tried using custom cache for my webservices, but all the time the custom cache is overrite by some internal cache feature resulting with same issue error 500.
Tested : registration protocols, timeouts
Tested : Datatables, Datasets, as objects or json, text as webservices. simple text is working
Using custom cache are overrite by some internal resulting troncated response.
[WebMethod(CacheDuration=0,Description = "Returns Serialised Table with Planning.")]
[System.Web.Script.Services.ScriptMethod(ResponseFormat = ResponseFormat.Json)]
, object> GetPlanningDataJson()
//int timeout = this.Context.Server.ScriptTimeout;
//this.Context.Server.ScriptTimeout = 4800;
//this.Context.Server.ScriptTimeout = timeout;
TimeSpan cacheDuration = TimeSpan.Zero;//.FromSeconds(30)
Server ASP.NET Development Server/220.127.116.11
Date Tue, 09 Feb 2010 08:57:57 GMT
Content-Type application/json; charset=utf-8
And content like :
����.....in all cases
I need some help.