小编Kas*_*rup的帖子

请求通道在等待回复时超时

我有一个小应用程序,它使用WCF与Web服务器通信.该程序由大约200个客户端使用,每个客户端以大约5-20个请求/分钟发送.

查看错误日志我经常得到:

在00:00:59.9989999之后等待回复时,请求通道超时

请求如下:

ClientService Client = new ClientService();
Client.Open();
Client.updateOnline(userID);
Client.Close();
Run Code Online (Sandbox Code Playgroud)

这是app.config

<configuration>
<configSections>
</configSections>
<startup><supportedRuntime version="v2.0.50727"/></startup><system.serviceModel>
    <bindings>
        <wsHttpBinding>
            <binding name="WSHttpBinding_IClientService" closeTimeout="00:01:00"
                openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
                bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
                maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
                messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
                allowCookies="false">
                <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                <reliableSession ordered="true" inactivityTimeout="00:10:00"
                    enabled="false" />
                <security mode="None">
                    <transport clientCredentialType="Windows" proxyCredentialType="None"
                        realm="" />
                    <message clientCredentialType="Windows" negotiateServiceCredential="true" />
                </security>
            </binding>
        </wsHttpBinding>
    </bindings>
    <client>
        <endpoint address="PATH TO SERVICE"
            binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IClientService"
            contract="IClientService" name="WSHttpBinding_IClientService">
            <identity>
                <dns value="localhost" />
            </identity>
        </endpoint>
    </client>
</system.serviceModel>
Run Code Online (Sandbox Code Playgroud)

在"多次通话"中,每天约200-800次失败.约n-1是好的.我很困惑这个问题是什么.查看服务器统计信息,它几乎没有出汗 …

c# wcf

29
推荐指数
2
解决办法
6万
查看次数

在EWS中预约"显示为"

我一直在寻找为我们的内部网添加一些基本的Exchange功能,到目前为止,这一切看起来都相当容易.但是,我遇到了一个小问题,我不知道如何解决.

我在他们的个人资料页面上显示我们的用户日历,但我还需要为每个约会条目显示"显示为"属性.这就是我即将到来的地方.看看约会属性似乎没有什么可以做的.(http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.appointment_properties%28v=exchg.80%29.aspx)

你们中的任何人都可以指出我正确的方向吗?

c# exchangewebservices

5
推荐指数
1
解决办法
1262
查看次数

Quickbooks ItemSitesQueryRq版本

我们正在运行Quickbooks 2013,我们正试图从我们所有的位置提取我们的商品库存.

我们通过webservice发送的请求如下所示:

<?qbxml version="13.0"?>
<QBXML>
  <QBXMLMsgsRq onError="stopOnError">
    <ItemSitesQueryRq requestID="2">
      <ItemSiteFilter>
        <ItemFilter>
          <ListID>800003F3-1299965940</ListID>
        </ItemFilter>
      </ItemSiteFilter>
    </ItemSitesQueryRq>
  </QBXMLMsgsRq>
</QBXML>
Run Code Online (Sandbox Code Playgroud)

但是我们只是收到一条错误消息:
" 请求的QBXML版本不受支持或未知. "

ListID是我们希望库存状态的产品的ID(在我们所有的位置).

有关如何格式化请求XML的任何建议将不胜感激.

quickbooks qbxml

1
推荐指数
1
解决办法
1069
查看次数

标签 统计

c# ×2

exchangewebservices ×1

qbxml ×1

quickbooks ×1

wcf ×1