urini
urini

Reputation: 33069

TimeOut Exception in WCF

I'm running into a problem when modifying 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 that when I change it to this:

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

It stops working and times out.

Any ideas?

Upvotes: 0

Views: 1278

Answers (2)

Darin Dimitrov
Darin Dimitrov

Reputation: 1039398

After modifying the web service did you update the client proxy (svcutil.exe)?

Upvotes: 1

Kwal
Kwal

Reputation: 1531

Does tracing on the service show any exceptions? I've run into problems where a client will time out after running into some type of contract based issue within the service.

Upvotes: 1

Related Questions