Please add the in<readerQuotas> in binding. That
That is the main issue while uploading and downloading the byte[]. It, it solved my problem.
<basicHttpBinding> <binding name="ServicesBinding" transferMode="Streamed" maxBufferSize="200000000" maxReceivedMessageSize="200000000" messageEncoding="Text" receiveTimeout="00:10:00"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> </binding> </basicHttpBinding>