To enable the biggest possible message size for webservices (e.g. to transfer large/multiple attachments), maintain the following HttpBinding settings in the Message Broker configuration file:
<basicHttpBinding>
<binding name="E4Cbinding" maxBufferPoolSize="2147483647"
maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Basic" realm="E4C Message Broker Component" />
</security>
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</binding>
</basicHttpBinding>
Please don’t change the security settings:
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Basic" realm="E4C Message Broker Component" />
</security>
SAP doesn’t recommend sending messages bigger than 20 MB.