Robert,
Thanks for the follow-up. After a call to Albert, we were able to resolve the problem. Because we are using a custom client config, we needed to add endpoints to the EntityService and EntityServer in our .clientconfig files. We also needed to add a ProxyEvent class like the one below:
using System.ServiceModel.Channels;
using IdeaBlade.Core.Wcf.Extensions;
public class ProxyEvents : IdeaBlade.EntityModel.ServiceProxyEvents
{
public override void OnEndpointCreated(System.ServiceModel.Description.ServiceEndpoint endpoint)
{
base.OnEndpointCreated(endpoint);
// Sample adding Gzip compression programmatically.
// Use when using a ServiceReferences.ClientConfig where a gzip binding cannot be added declaratively (this is a
// Silverlight limitation since it does not support extensions via config).
if (endpoint.Binding is CustomBinding)
{
var binding = endpoint.Binding as CustomBinding;
var elements = binding.CreateBindingElements();
// Swap out binary/text message encoding for gzip/binary
var encoding = elements.Find<MessageEncodingBindingElement>();
if (encoding != null)
{
elements.Remove(encoding);
}
encoding = new GZipMessageEncodingBindingElement();
elements.Insert(0, encoding);
endpoint.Binding = new CustomBinding(elements);
}
}
}