Silverlight 4.0 question - synchronous calls to asmx web service

Posted by Anvar on Stack Overflow See other posts from Stack Overflow or by Anvar
Published on 2010-06-15T22:54:03Z Indexed on 2010/06/15 23:02 UTC
Read the original article Hit count: 569

Filed under:
|
|
|

Hi,

I have Silverlight problem.

I have to deal with fairly large legacy application that has some web services exposed (regular asmx, not wcf). What I need to do is to build Silverlight app that consumes those web services. Due to business logic I need to have the same web method to be called from Silverlight app synchronously. I was able to build web services consumption but only asynchronously because that would be default Silverlight behavior.

Is there a way to make asynchronous calls synchronous in Silverlight? I looked here and googled around but came across only wcf examples. I would appreciate if somebody would get me a code example for regular asmx web service. I use Silverlight 4.0.

Thanks!

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about web