When I try to return a collection (an List<>) of a complex kind of object (each one have about 20-30 custom objects inside) I get this error:
Test method SMILTest.ServiceManagerTest.PessoasTest threw exception:ÃÂ System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Security.SecuritySessionClientSettings`1+ClientSecurityDuplexSessionChannel[System.ServiceModel.Channels.IDuplexSessionChannel], cannot be used for communication because it is in the Faulted state..Server stack trace: ÃÂ ÃÂ at System.ServiceModel.Channels.CommunicationObject.ThrowIfFaulted()ÃÂ ÃÂ at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecurityDuplexSessionChannel.TryReceive(TimeSpan timeout, Message& message)ÃÂ ÃÂ at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)ÃÂ ÃÂ at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Obje
View Complete Post