We have a custom SOAP web service for incoming sales orders, but due to incompatibility with net.tcp on sending side, we had to use HTTP adapter. The problem now is that it can only handle sales orders with about 50 lines max. We should be able to receive at least 100-150 sales lines in one request, but something happens to large messages between IIS and AOS. I can see IIS receives the request msg, but it probably never goes to AOS. I have tried to increase max and timeout-values in web.config for both bindings, HTTP and net.tcp like this:
<basicHttpBinding>
<binding name="basicHttpBindingWithWindowsAuth" closeTimeout="00:05:00" openTimeout="00:05:00" sendTimeout="00:05:00" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" />
</security>
</binding>
</basicHttpBinding>
<netTcpBinding>
<binding name="DefaultServiceGroupBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:05:00" transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions" hostNameComparisonMode="StrongWildcard" listenBacklog="10" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxConnections="10" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="32000000" maxStringContentLength="81920000" maxArrayLength="163840000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000" />
<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
<security mode="Transport">
<transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
<message clientCredentialType="Windows" />
</security>
</binding>
</netTcpBinding>
So what it does with large orders is basically nothing.. And it takes only about 5-10 seconds to response to the sales order with 50 lines, so it's definitely not a timeout problem.
What are my tools to find out what happens to the message and why it's not moved forward to AX? IIS adds only the request to logs, but nothing more. Any tips where to start solving the problem?
*This post is locked for comments
I have the same question (0)