在ASP.NET 2.0页面中异步调用Web服务仍在等待 [英] Calling web service Asynchronously in ASP.NET 2.0 Page still waits

查看:193
本文介绍了在ASP.NET 2.0页面中异步调用Web服务仍在等待的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.NET 2.0页面,该页面异步调用Web服务.但是,页面静止图像将一直运行到Web服务完成为止.无论是否提供回调方法,都会发生此行为.现在,我已经验证了对异步Web服务的调用会立即返回,但是在异步Web服务完成之前,页面仍在运行(不会更新).

有谁知道我需要做什么才能刷新页面和
等不及异步Web服务调用完成?

谢谢!

I have a ASP.NET 2.0 Page that calls a web service Asynchronously. However, the page stills runs until the web service has completted. This behavior occurs regardless of whether or not I provide a callback method. Now, I have verified that the call to the async web service returns right away, but the page is still running (does not get updated) until the async web service has completed.

Does anyone know what I need to do for the page to get refreshed and
not wait till the async web service call has completed?

Thanks!

推荐答案

您的Web服务是异步的还是仅使用提供代理的de begin和end方法?
问候,
马科斯(Marcos)
Is your webservice asynchronous or you are only using de begin and end methods that provides the proxy?
Regards,
Marcos


这篇关于在ASP.NET 2.0页面中异步调用Web服务仍在等待的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆