![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest
Posts: n/a
| 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 |
| | #2 (permalink) |
| Guest
Posts: n/a
| 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 |
| | #3 (permalink) |
| Guest
Posts: n/a
| 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 |
| | #4 (permalink) |
| Guest
Posts: n/a
| 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 > > |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Headset not functioning.. | Xen00b | Sound & Audio | 9 | 05-30-2008 09:37 AM |
| Functioning problems | A | Vista performance & maintenance | 2 | 05-18-2008 03:05 PM |
| Ultimate 64 not functioning with 8G ram | innecesario | Vista hardware & devices | 26 | 02-29-2008 11:08 PM |
| contacts not functioning | Willie | Vista mail | 4 | 01-15-2008 06:05 PM |
| mic is not functioning | QUEENBABYT | Vista hardware & devices | 4 | 08-15-2007 11:49 AM |