0

I know a lot of people have posted for this, but I'm still having trouble matching the symptoms I have to what other people have encountered. I created a simple web service in an empty asp.net website using Visual Studio 2010 (I just used the default web service with its Hello World implementation). Then I created a WPF application and tried to call the web service from the application. But I can't find the XXXAsync methods, or BeginXXX methods in the soap client proxy class using intellisense. There's a method for calling HelloWorld synchronously, but nothing for asynchronous calls. Is there something that I have to do in order to enable asynchronous support for a web service in asp.net?

Thanks,

Andrew

2
  • What about using WCF-services instead of web-services? Commented Dec 11, 2010 at 17:27
  • @vorrtex: Thanks, I think you might be right. I'm looking into that now. Commented Dec 11, 2010 at 18:06

1 Answer 1

1

Okay, I think I figured out what I was doing wrong. In Visual Studio 2010, I didn't mark the checkbox labeled "Generate asynchronous operations". This can be found by:

  1. right-clicking the name of the service in the solution explorer (which should be in the "Service References" folder".
  2. going to "Configure Service Reference...".
  3. Checking the box labeled "Generate asynchronous operations".

Hope this helps someone quicker than I was able to find it!

Andrew

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.