无需等待即可调用Web服务 [英] Calling Web Service Without Wait

查看:77
本文介绍了无需等待即可调用Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在应用程序中使用Web服务时,仅用于调用Web服务,所有其他进程在Web服务的后端运行。



当我调用Web服务时在没有等待的应用程序或得到任何响应调用继续这可能吗?

When I use Web Service in Application then only for call the Web Service and all other Process are run in backend in Web Service.

When i call web service in application without wait or get any response calling continue is this possible?

推荐答案

请参阅:

https://msdn.microsoft.com/en-US/library/wyd0d1e5%28v=vs.80% 29.aspx [ ^ ],

在ASP.NET中调用异步Web服务 [ ^ ],

http ://德vproconnections.com/aspnet/calling-web-services-asynchronously [ ^ ],

http://www.windowsdevcenter.com/pub/a/dotnet/2005/08/01/async_webservices.html [ ^ ]。



- SA
Please see:
https://msdn.microsoft.com/en-US/library/wyd0d1e5%28v=vs.80%29.aspx[^],
Asynchronous web services call in ASP.NET[^],
http://devproconnections.com/aspnet/calling-web-services-asynchronously[^],
http://www.windowsdevcenter.com/pub/a/dotnet/2005/08/01/async_webservices.html[^].

—SA


如果我是正确的,您希望在执行之间从Web服务获取数据。您可以分解服务代码,然后按顺序调用它们。例如使用jQuery:


If I am correct you want to get the data from the web service in between its execution. You can break up your service code and then call them sequentially. For example using jQuery:


.ajax(服务调用1 )。然后(服务电话2 )。然后(...)等等。



我可以更具体如果上述解决方案符合您的要求。
.ajax(service call 1).then(service call 2).then(...) and so on.

I can be more specific if the above solution meet your requirement.


这篇关于无需等待即可调用Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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