One-way call seem to still call the EndWebMethod

Discussion in 'ASP .Net Web Services' started by kplkumar@gmail.com, Jan 17, 2006.

  1. Guest

    I created a web method which returns void. I then added the OneWay=true
    atribute. But the funny thing I noticed is that, even though it is an
    async call, the EndWebMethod is called at the end of the execution.

    This is what I really want..... I want to call a webmethod and just
    totally forget about it. I need nothing in return.

    The way I found out that this isn't working is, in my web method I am
    doing an insert into the database. This I need to do once and totally
    forget about it. But what happens is that, since the EndWebMethod is
    called the insert is done again and the database craps out.

    Any ideas why??
    , Jan 17, 2006
    #1
    1. Advertising

  2. Josh Twist Guest

    Can you post the code where you call your web service? Also, you added
    the OneWay attribute to the WebMethod inside the Web Service itself and
    not the client right?
    Josh Twist, Jan 18, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jack Schafer
    Replies:
    1
    Views:
    520
    Joe Smith
    Apr 23, 2004
  2. **Group User**

    This one seem silent on this too

    **Group User**, Feb 7, 2010, in forum: C++
    Replies:
    1
    Views:
    271
    **Group User**
    Feb 7, 2010
  3. Bob

    Async DIME call seem to drop randomly

    Bob, Feb 5, 2004, in forum: ASP .Net Web Services
    Replies:
    4
    Views:
    130
  4. Xeno Campanoli
    Replies:
    2
    Views:
    197
    Xeno Campanoli
    Sep 13, 2007
  5. David Sainte-claire
    Replies:
    1
    Views:
    90
    yermej
    Nov 23, 2009
Loading...

Share This Page