TimeOut exception in WCF

I am having a problem while changing a WCF service.

The original service method looks like this:

[OperationContract(IsOneWay = true, IsInitiating = true, IsTerminating = false)]
void Login(string userName, string password);

      

This method works.

The problem is when I change it to this:

[OperationContract(IsOneWay = false, IsInitiating = true, IsTerminating = false)]
bool Login(string userName, string password);

      

It stops working and doesn't work.

Any ideas?

0


source to share


2 answers


Are any exceptions traced on the service? I am running into problems where the client will time out after starting any contract issue within the service.



+1


source


After changing the web service, have you updated the client proxy ( svcutil.exe )?



+1


source







All Articles