当尝试一个小的FileStream传递给我WCF服务我得到“超时不支持此流”的错误。任何人都可以看到我做错了什么?传递一个FileStream到WCF抛出“超时不支持此流”异常
接口:
[OperationContract]
List<SystemClass> ReadExcelFile(System.IO.FileStream stream);
的Web.Config
<bindings>
<basicHttpBinding>
<binding name="streaming" maxReceivedMessageSize="2147483647" transferMode="Streamed">
</binding>
</basicHttpBinding>
</bindings>
<services>
<service name="MISDashboard.wcfService" behaviorConfiguration="">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="streaming" contract="MISDashboard.wcfService"></endpoint>
</service>
</services>
...
<httpRuntime maxRequestLength="2147483647"/>