Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article provides a resolution for the issue that you can't integrate transactions by using Microsoft Dynamics GP Web Services.
Applies to: Microsoft Dynamics GP
Original KB number: 2960931
Symptoms
When you use Microsoft Dynamics GP Web Services to integrate a large number of transactions that contain many distributions, you receive the following error message: The request failed with HTTP status 400: Bad Request.
Cause
This issue occurs because a time-out or limitation is being encountered on the integrations that contain a large number of distribution records.
Resolution
To resolve this issue, you can adjust the maximum message size quota (maxReceivedMessageSize
) in the configurator file. To do this, you can modify the WSBindings.config file as follows:
Navigate to the WSBindings.config file in the GPWebServices\ServiceConfigs folder, and open it with Notepad.
Note
The default path is:
C:\Program Files\Microsoft Dynamics\GPWebServices\ServiceConfigsAdd the
maxReceivedMessageSize
property to thebasicHttpBinding
node on the binding name line as shown in the following text:<basicHttpBinding> <!-- change maxReceivedMessageSize to 2147483647 from 128896--> <binding name="BasicHttpBindingTarget" maxReceivedMessageSize="2147483647"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Ntlm"/> </security> </binding> </basicHttpBinding>
After you make the change and then save the modified configurator file, restart the web service, and then test another integration that has a large number of distributions.