Acumatica 导入针灸分类时的通讯异常

Acumatica 导入针灸分类时的通讯异常,acumatica,Acumatica,试图通过TaxCategoryTaxDetail将Tax导入/设置为TaxCategory连接 var categoryDetails = new TaxCategoryTaxDetail { TaxID = new StringValue {Value = "MYTAXID"}, TaxCategory = new StringValue {Value = "TAXABLE"}, }; var category = new TaxCategory { TaxCate

试图通过
TaxCategoryTaxDetail
Tax导入/设置为
TaxCategory
连接

var categoryDetails = new TaxCategoryTaxDetail
{
    TaxID = new StringValue {Value = "MYTAXID"},
    TaxCategory =  new StringValue {Value = "TAXABLE"},
};

var category = new TaxCategory
{
    TaxCategoryID = new StringValue {Value = "TAXABLE"},
    Details = new[] {categoryDetails}
};

_client.Put(category);
调用
Put
抛出:

The maximum message size quota for incoming messages (6553600) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
端点版本:17.200.001 针灸版本:18.107.0022 客户端应用程序位于Visual Studio 2017中,使用wsdl端点

与我正在使用的其他一些工作调用相比,
categorydeails
负载非常小

类别详细信息
正确保存在Acumatica中。看起来好像Put正在进行更新,然后将实际类别从服务器返回到客户端。Acumatica中的类别包含数千个相关税务记录。我不想要也不需要这个。我宁愿这是一场火灾,忘记更新


我可以
捕获
异常并继续,但等待异常抛出的速度非常慢。我觉得我只是做错了什么。

返回的数据长度超过了MaxReceivedMessageSizebinding属性

您可以增加“app.config”文件中的限制:

<binding name="DefaultSoap" allowCookies="true" maxReceivedMessageSize="2147483647">
    <security mode="Transport" />
</binding>
在webservice调用中,还可以指定返回行为:

ReturnBehavior = ReturnBehavior.None

ReturnBehavior。没有一个是我想要的。我知道我错过了一些基本的东西。
ReturnBehavior = ReturnBehavior.None