(View it on stackoverflow)
Trying to pass “complex” class type that contains primitive types with interfaces and lists of interfaces/classes.
I guess the problematic member is:
public List<IMyInterface> IntrfList
An error occurred while receiving the HTTP response to http:/localhost/xxxxxx/xxxxxService.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.
The descriptive error from MS Service Trace Viewer (SvcTraceViewer):
Type ‘myType’ cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.