Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - OneWay not functioning

 
 
Old 09-29-2006   #1 (permalink)
Chad Z. Hower


 
 

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 SpecsSystem Spec
Old 09-29-2006   #2 (permalink)
Chad Z. Hower


 
 

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 SpecsSystem Spec
Old 10-01-2006   #3 (permalink)
Arkady Frenkel


 
 

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 SpecsSystem Spec
Old 10-02-2006   #4 (permalink)
Arkady Frenkel


 
 

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 SpecsSystem Spec
 

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46