Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

OneWay not functioning

 
 
Thread Tools Display Modes
Old 09-29-2006   #1 (permalink)
Chad Z. Hower
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
 
Old 09-29-2006   #2 (permalink)
Chad Z. Hower
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
 
Old 10-01-2006   #3 (permalink)
Arkady Frenkel
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



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








Vistax64.com 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 2005-2008

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 47 48 49