WCF in a windows service

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hello,

I'm developping a WCF service.
All is good :
I have a WPF app. On a button, I call a function to register 2 WCF service
(one in tcp, the other in http)

But, now, I want to use a windows service in place of a windows app.
So, in the onStart, I place the same call than on the button.

from my client, I call a function with : [OperationContract(IsInitiating =
true, IsTerminating = false, IsOneWay = true)] No error.
I call a function with isoneway=false, i receive a timeout error.
To debug it, I place some log writing ine the function, and I see that the
functions (isoneway=true or false) are never called. My test in the first
line of the procedure is never fired.

On my windows app, no problem.

on client or server, there is'nt any error fired to explain that.

Tryed to change the login service, but no result

Any idea ?

Thx


.


Quantcast