I am returning a Cashflow object from a WCF service, like this.
The cashflow objects contains a list of double values.
After receiving the cashflow object in the WCF client, i am printing the double values contained in it in a text file. It works well, till the file size is around 500 kb. If the cashflow object is bigger, meaning, the list contains more double values, I get an exception "An error occurred while receiving the HTTP response to http://server.corp.net:1000/service.svc. 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."
When I saw the logs in the IIS, the sc-status was 200 and sc-win32-status was 64.
I have put maxReceivedMessageSize as 2147483648 in the config file of the client. I am using the wsHttpBinding.
I think that I am getting the error coz I am trying to transport a large amount of data through WCF. But in that case the standard error is "The maximum message size quota for incoming messages has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element." Is it possible in some way to return very large data objects in WCF service.
Will using the netTcpBinding help me in this
Can anybody help me on this
Thank you very much.