![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | OneWay not functioning Ok either I am extremely unlucky and I've just hit issues very quickly - or I'm doing something immensely stupid. I have a very simple service. Essentially it looks like this: [OperationContract(IsOneWay=true)] void Clone(.....); In Clone, for testing I've moved it to be a Thread.Sleep(5000). I have also verified that the client files are refereshed and I even looked in them: [System.ServiceModel.OperationContractAttribute(IsOneWay=true,.. So both sides know its a one way. But in the client, when I call Clone like this: x.Clone(....); x.Clone(....); x.Clone(....); Each one makes the call asynchronously and takes 5 seconds. Its not coincidence either, if I change the sleep in the server code to a different value, then the client blocks for that amount of time. I'm using a HTTPBinding, self host. Have I totally missed somethig here? I'm going crazy here and about to go back to standard webservices, but using WCF is supposed to be part of this demo. ![]() -- "Programming is an art form that fights back" http://www.KudzuWorld.com/ Need a professoinal technical speaker at your event? See www.woo-hoo.net |
My System Specs![]() |
| | #2 (permalink) |
| | Re: OneWay not functioning Chad Z. Hower wrote: > Ok either I am extremely unlucky and I've just hit issues very quickly > - or I'm doing something immensely stupid. Just unlucky in this case. Something odd in Visual Studio. Restarted it, and now it works fine. -- "Programming is an art form that fights back" http://www.KudzuWorld.com/ Need a professoinal technical speaker at your event? See www.woo-hoo.net |
My System Specs![]() |
| | #3 (permalink) |
| | Re: OneWay not functioning Hi, Chad! OneWay have to work just because that's the only way to do dual ( duplex ) call ( callback on client ) JFYI. Even it's never stand that work only that one and can't be done synchroneously ( at least on by bits )Arkady "Chad Z. Hower" <chad-ng@hower.org> wrote in message news:Oe3T9i74GHA.292@TK2MSFTNGP02.phx.gbl... > Chad Z. Hower wrote: >> Ok either I am extremely unlucky and I've just hit issues very quickly >> - or I'm doing something immensely stupid. > > Just unlucky in this case. Something odd in Visual Studio. Restarted > it, and now it works fine. > > -- > "Programming is an art form that fights back" > http://www.KudzuWorld.com/ > Need a professoinal technical speaker at your event? See www.woo-hoo.net |
My System Specs![]() |
| | #4 (permalink) |
| | Re: OneWay not functioning A little addition : Forgot to mention for single ConcurrencyMode ( default ) Arkady "Arkady Frenkel" <arkadyf@hotmailxdotx.com> wrote in message news:elMTz$S5GHA.512@TK2MSFTNGP06.phx.gbl... > Hi, Chad! > OneWay have to work just because that's the only way to do dual ( duplex ) > call ( callback on client ) JFYI. > Even it's never stand that work only that one and can't be done > synchroneously ( at least on by bits )> > Arkady > > "Chad Z. Hower" <chad-ng@hower.org> wrote in message > news:Oe3T9i74GHA.292@TK2MSFTNGP02.phx.gbl... >> Chad Z. Hower wrote: >>> Ok either I am extremely unlucky and I've just hit issues very quickly >>> - or I'm doing something immensely stupid. >> >> Just unlucky in this case. Something odd in Visual Studio. Restarted >> it, and now it works fine. >> >> -- >> "Programming is an art form that fights back" >> http://www.KudzuWorld.com/ >> Need a professoinal technical speaker at your event? See www.woo-hoo.net > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Headset not functioning.. | Sound & Audio | |||
| Functioning problems | Vista performance & maintenance | |||
| Ultimate 64 not functioning with 8G ram | Vista hardware & devices | |||
| contacts not functioning | Vista mail | |||
| mic is not functioning | Vista hardware & devices | |||