none
wcf客户端函数输入参数过长报错! RRS feed

  • 问题

  • The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:10:00'.

    参数也还好不是特别长,其中一个字段包括id信息:

    0,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,

    35,36,37,100,101,102,103,104,105,500,501,502,503,504,505,506,507,508,509,510,511,512

    ,513,514,515,516,517,518,519,2002,2005,2006,2007,2008,2009,2011,2012,2013,2014,2015

    ,2016,2017,2018,2100,2101,2102,2103,2104,2105,2200,2201,2500,2501,2502,2503,2504,2505,

    2506,3000,3012,3013,3015,3016,3017,3018,3019,3020,3021,3022,3023,3024,3025,3026,3027

    ,3029,3030,3031,3032,3033,3034,3035,3036,3037,3038,3039,3040,3041,3044,3045,3046,3048

    ,3049,3050,3051,3052,3053,3054,3055,3056,3057,4000,4001,4003,4004,4005,4006,4007,4008

    ,4009,4010,4011,4012,4013,4014,4100,4101,4102,4103,4104,4105,4106,4107,4108,4109,4110,

    4111,4112,4113,4114,4115,4116,4117,4118,4119,4120,4121,4122,4500,4501,4502,4503,4504,

    4505,4506,4507,5000,5001,5002,5015,5016,5017,5018,5019,5020,5021,5022,5024,5025,5026,

    5027,5028,5029,5030,5031,5032,5033,5034,5035,5036,5037,5038,5039,5040,5041,5042,5043,

    5044,5046,5047,5049,5050,5051,5052,5053,5055,5056,5057,5058,5059,5061,5062,5063,5064,

    5065,5066,5067,5068,5069,5070,5071,5074,5075,5076,5077,5078,5079,5080,5081,5082,5083,

    5084,5085,5086,5087,5088,

    传过去就报错了,如果这个id信息字段少点就不会报错,这是为什么?怎么解决呢?谢谢!!

    2012年6月29日 9:51

答案

全部回复