如何知道Web服务已更新 [英] how to know that a webservice is updated

查看:93
本文介绍了如何知道Web服务已更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个asp.net应用程序中,我正在使用以xml格式存储在本地系统中的web服务数据.每当我想要获取更新的数据时,我都会手动对其进行更新或使用计时器对其进行更新.有什么方法可以知道该Web服务是否已更新.
Web服务应自动通知客户端,web服务中有更新.

In one asp.net application i am using webservices data stored as xml in local system. whenever i want to get updated data i am manually updating it or using timer to update it. is there any way to know that the webservice is updated .
the webservice should automatically inform the client that there is an update in webservice

推荐答案

否,Web服务没有调用其客户端的机制.您可以将一个Web服务添加到asp.net应用程序中,并让另一个Web服务调用通知您(如果您同时控制了这两个站点).否则,不会.
No, a webservice does not have a mechanism to call it''s clients. You could add a webservice to your asp.net application and have your other webservice call that to notify you, if you control both sites. Otherwise, no.


这篇关于如何知道Web服务已更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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