I have create a EndpointAddress like that
EndpointAddress address = new EndpointAddress(\"http://example.com/services/OrderService.svc\");
But
On Server Side, you can also:
ServiceHost host = new ServiceHost(); ServiceBehaviorAttribute sba = host .Description.Behaviors.Find(); if (sba == null) { sba = new ServiceBehaviorAttribute(); sba.MaxItemsInObjectGraph = int.MaxValue; host.Description.Behaviors.Add(sba); }