I have a WCF service and a windows form client which connects to WCF service. The ServiceContract and OperationContract is as shown below.
[ServiceContract]
public interface IDInterface
{
[OperationContract]
string GetSystemName();
[OperationContract]
string Ping();
[OperationContract]
SortedList GetSystemVersion();
[OperationContract]
SortedList GetInfo();
}
From my windows forms client when i call GetSystemName() and Ping() it works fine. But when i call GetSystemVersion() with return type 'SortedList' the call doesnt even go to service. I get error "This request operation did not recieve reply within the configured timeout (00:01:00).
I migrated code from .NET remoting to WCF and in .NET remoting the time for executing GetSystemVersion() was instantaneous (not even 1 second).
Is it something related to SortedList? Do i need to configure something to work WCF service with return type SortedList?
This is critical to resolve. Immediate help will be appreciated.