Hi all,
I currently have a WCF configuration problem. When saving my business-object graph, I'm getting a System.ServiceModel.ProtocolException "The remote server returned an unexpected response: (400) Bad Request.".
This only happens if the object graph reaches a certain size.
I figured out, that it has something todo with a default buffer size in the WCF configuration.
Does anyone know which config setting I have to set, to increase the buffer size?
Thanks alot
Luzius
Host-Config:
...
<system.serviceModel>
<services>
<service name="Csla.Server.Hosts.WcfPortal">
<endpoint address="" contract="Csla.Server.Hosts.IWcfPortal" binding="wsHttpBinding" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="Tasks.WcfHost.Service1Behavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
...
Client-Config:
...
<system.serviceModel>
<client>
<endpoint name="WcfDataPortal"
address="http://localhost/Tasks.WcfHost/WcfPortal.svc"
binding="wsHttpBinding"
contract="Csla.Server.Hosts.IWcfPortal"/>
</client>
</system.serviceModel>
...
Hi Curelom,
thanks alot, that works perfectly.
Luzius
Copyright (c) Marimer LLC