I have WCF service to get users from the ActiveDirectory. I receive parameter from the request (user name) and create response with MembershipUser property. from some reason, th
Turn on WCF diagnostic tracing to see the error that is causing the connection to be closed. It could originate on the client or the service, so you'll have to turn it on for both sides.
How to turn on tracing: http://msdn.microsoft.com/en-us/library/ms733025.aspx
Using the Service Trace Viewer to read trace logs: http://msdn.microsoft.com/en-us/library/aa751795(VS.85).aspx