I think I found a reson for the necessity of the WCF-Custom adapter.
We are processing large amounts of complex data, and we were getting the error “Connection closed unexpectedly”.
By doing a service side trace, we learned that the real message was:
‘Maximum number of items that can be serialized or deserialized in an object graph is ‘65536’. Change the object graph or increase the MaxItemsInObjectGraph quota. ‘.
In C# client, the solution was to add this XML to the app.config (and similar to web.config).
<
behaviors>
<endpointBehaviors>
<behavior name=“LargeEndpointBehavior“>
<dataContractSerializer maxItemsInObjectGraph=“10000000“ />
</behavior>
</endpointBehaviors>
</behaviors>
I used the import function to get this into a custom pipeline, but then still got the same message.
Has anybody been down this road before?
Thanks,
Neal Walters