English 中文(简体)
WCF REST Service Template 4.0 “Bad Request”
原标题:WCF REST Service Template 4.0 "Bad Request"

我正试图向一个以WCF REST Service Template为创建的WCF服务处派出一个大队。 如果扼杀的特性超过8000个,我就会发现“HTTP/1.1400 Bad Request”错误。 我已尝试在我的网络会议中添加这一内容:

    <bindings>
        <webHttpBinding>
            <binding name="httpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"/>
        </webHttpBinding>
    </bindings>

任何想法?

最佳回答

您还必须设立<条码>。 如果你想通过大举:

<bindings>
    <webHttpBinding>
        <binding name="httpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
           <readerQuotas maxStringContentLength="50000" />
        </binding>
    </webHttpBinding>
</bindings>
问题回答

暂无回答




相关问题
WCF DataMember Serializing questions

Ok, so I was part way through the long winded process of creating DTOs for sending my model over the wire and I don t feel like I m going down the right route. My issue is that most of the entities ...

Access WCF service on same server

I have a .NET website with a WCF service. How do I access the current operations context of my service? One possible work around is to just make a call to the service within the app...but that seems ...

WCF binding error

So I got into work early today and got the latest from source control. When I try to launch our ASP.NET application, I get this exception: "The binding at system.serviceModel/bindings/wsHttpBinding ...

The service operation requires a transaction to be flowed

I am facing strange issue with our WCF service. The same code was working fine until recently we added more OperationContracts(Web Methods). We have common 3 tier architecture. DAL (WCF) BLL Web ...

热门标签