Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7178137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:51:36+00:00 2026-05-28T16:51:36+00:00

In a asmx webservice i use with c# class library project after adding the

  • 0

In a asmx webservice i use with c# class library project after adding the web reference to the project which exposes the WebMethods inside the service there are multiple method names for example,

In my service i have a webmethod named GetCategories but the intellisense also shows GetCategoriesAsync

Is this a asynchronous call to the same webmethod? If so how can i invoke this asynchronous method any examples ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T16:51:37+00:00Added an answer on May 28, 2026 at 4:51 pm

    You can call the method the same as you call the regular method, you should also sign up a function to the method completion event so that upon a response you could continue the proccess.

    this is an example I found

    protected void Button1_Click
    (object sender, EventArgs e)
    {
         BookSupplier1.WebService1 supplier1 = new BookSupplier1.WebService1();
    
         supplier1.GetCostCompleted += new BookSupplier1.GetCostCompletedEventHandler(supplier1_GetCostCompleted);
    
         supplier1.GetCostAsync(TextBox1.Text, BulletedList1);
    
    }
    
    
    void supplier1_GetCostCompleted(object sender, BookSupplier1.GetCostCompletedEventArgs e)
    {
         if (e.Error != null)
         {
             throw e.Error;
         }
         BulletedList list = (BulletedList)e.UserState;
         list.Items.Add("Quote from BookSupplier1 : " + e.Result.ToString("C"));
    }
    

    Example Link

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just tried adding a WebService (asmx based) from a WebForms project to
I have a common base class from which all my ASMX webservice classes will
I'm trying to use the official jQuery autocomplete plugin with an ASMX web service
I use KSOAP2 library, and web-service returns me string array: <GetChanelResult> <string> string </string>
I'm making a asmx web service and I use LinqToSQL to deal with database.
We are consuming an ASMX service by adding a WCF Service Reference to our
how can i create an singleton asmx webservice ? (please don't say use WCF
I am trying to replace an asmx WebService with a WCF service. My primary
While accessing a webservice which is availbale at http://recpushdata.cyndigo.com/jobs.asmx , I am getting this
Say I have an ASMX web service, MyService. The service has a method, MyMethod.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.