WCF service The maximum array length quota (16384) has been exceeded

Actually, I’ve solved the problem by adding readerQuotas within textMessageEncoding section. Thanks for the help. <textMessageEncoding messageVersion=”Soap11″> <readerQuotas maxDepth=”32″ maxStringContentLength=”5242880″ maxArrayLength=”2147483646″ maxBytesPerRead=”4096″ maxNameTableCharCount=”5242880″/> </textMessageEncoding>