Windows Vista Forums

OneWay not functioning
  1. #1


    Chad Z. Hower Guest

    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

  2. #2


    Chad Z. Hower Guest

    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

  3. #3


    Arkady Frenkel Guest

    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

  4. #4


    Arkady Frenkel Guest

    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

OneWay not functioning problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alt F4 Not Functioning albert5445 Network & Sharing 1 09 Dec 2009
'Categories' not functioning JC Live Messenger 3 25 Jan 2009
Headset not functioning.. Xen00b Sound & Audio 9 30 May 2008
Functioning problems A Vista performance & maintenance 2 18 May 2008
mic is not functioning QUEENBABYT Vista hardware & devices 4 15 Aug 2007