Results 1 to 4 of 4

Thread: [2005] Asynchronous Web Services

  1. #1

    Thread Starter
    Fanatic Member Jumpercables's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Posts
    592

    [2005] Asynchronous Web Services

    After looking on the web at several examples I have officially gotten myself confused about writing an Asynchronous Web Service, so I'm hoping someone can set me straight.

    This is how I have interpreted most examples on the web.

    1. I have to create a standard synchronous web services with my Web Methods.
    2. I now create an additional web service that references the synchronous web service and wrap those web methods into the Begin/End style.


    Can anyone that has written an Asynchronous Web Service confirm or clarify how it's done properly? Any examples would be greatly appreciated.

    I'm pulling my information from the msdn website : http://msdn2.microsoft.com/en-us/library/98t3s469.aspx

    C# - .NET 1.1 / .NET 2.0

    "Take everything I say with a grain of salt, sometimes I'm right, sometimes I'm wrong but in the end we've both learned something."
    _____________________
    Regular Expressions Library
    Connection String
    API Functions
    Database FAQ & Tutorial

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724

    Re: [2005] Asynchronous Web Services

    Err, no - when you add a web reference, the proxy that's generated will provide both sync & async methods (the Begin/End methods). You shouldn't have to do anything more to get async calls going

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Asynchronous Web Services

    The proxy class generated by your web reference should allow you to call BeginMethodName(), to which you supply the delegate to be invoked once processing is complete.

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Asynchronous Web Services

    Do a search on 'consuming asynchronous web services' (with asp.net)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width