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
View Complete Post