1

私の WCF サービスは、大量のデータを返すときにエラーをスローします。WCF テスト クライアントからテストしているため、クライアント構成ファイルはありません。Invoke は、より小さいデータ セットを返すように要求された場合に適切に機能します。私はこの問題についてここにあるすべての投稿を読みましたが、それらはすべて、私が既に行ったことを行うように言っています。どんな助けでも大歓迎です。

ありがとう。

ここに私のapp.configがあります:

  <system.serviceModel>
    <services>
      <service name="FAPWCF.FAPService">
        <endpoint address="" binding="basicHttpBinding" contract="FAPWCF.IFAPService">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
        <host>
          <baseAddresses>
            <add baseAddress="http://localhost:8732/Design_Time_Addresses/FAPWCF/Service1/" />
          </baseAddresses>
        </host>
      </service>
    </services>

    <bindings>
      <basicHttpBinding>
        <binding allowCookies="true" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647">
          <readerQuotas maxDepth="32" maxArrayLength="2147483647" maxStringContentLength="2147483647"/>
        </binding>
      </basicHttpBinding>
    </bindings>

    <behaviors>
      <serviceBehaviors>
        <behavior>
          <!-- To avoid disclosing metadata information, 
          set the value below to false and remove the metadata endpoint above before deployment -->
          <serviceMetadata httpGetEnabled="True" />
          <!-- To receive exception details in faults for debugging purposes, 
          set the value below to true.  Set to false before deployment 
          to avoid disclosing exception information -->
          <serviceDebug includeExceptionDetailInFaults="False" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>
4

0 に答える 0