I have a function that returns a list more than 200000 objects and the object has 37 fields. I added the wcf as a web reference so i dont have to add any configuration item in my web apps config file. WCF works when I only have small amount of data. SInce I did'nt add the config file, how can I allow the wcf to send large amount of data. It sems to be timing out. When I debugged my wcf I'm getting this error "An error occurred while receiving the HTTP response to http://localhost:8731/Design_Time_Add resses/WCFService/Service1/. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.
".
I understand that I'm passing large amount of data but that couldn't be the max amount of data that can be sent using wcf. I've been looking aroun and most of the solutions that I saw was to change the <
binding name="NewBindin g0" openTimeout="00 :10:00" sendTimeout="00 :30:00"
maxBufferSize=" 204003200" maxReceivedMess ageSize="204003 200">
on the client application but since I just added the wcf as a web reference I'm not using that.
Can anyone help me, I've been working on this for a while now and I'm stuck. Thanks in advance.
".
I understand that I'm passing large amount of data but that couldn't be the max amount of data that can be sent using wcf. I've been looking aroun and most of the solutions that I saw was to change the <
binding name="NewBindin g0" openTimeout="00 :10:00" sendTimeout="00 :30:00"
maxBufferSize=" 204003200" maxReceivedMess ageSize="204003 200">
on the client application but since I just added the wcf as a web reference I'm not using that.
Can anyone help me, I've been working on this for a while now and I'm stuck. Thanks in advance.