Web服务是否可以向Web服务使用者发送随机通知? [英] Is it possible for web service to send random notification to web service consumer?

查看:72
本文介绍了Web服务是否可以向Web服务使用者发送随机通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是网络服务的新手,想要编写一个web服务,

监控数据库中的某个字段。一旦超过

特定值,网络服务将向网络服务发送通知

将对其采取行动的消费者。


有可能吗?如果是,如何实施?如果可能的话,请提供

我的链接。


非常感谢。


Michael

解决方案

没有。该协议基于消费者向服务请求,

因此您的消费者必须定期轮询该服务。


-

问候


John Timney

微软区域总监

Microsoft MVP


迈克尔范 <易****** @ hotmail.com>在消息中写道

news:79 ************************** @ posting.google.c om ...

我是web servie的新手,想要编写一个监视数据库中某个字段的Web服务。一旦超过某个值,网络服务就会向网络服务发出通知,消费者会对其采取行动。

有可能吗?如果是,如何实施?如果可能,请提供
我的链接。

非常感谢。

迈克尔



< blockquote>

嗨迈克尔


我只问这个,因为你说你是新手。当你说消费者时,你需要一个系统消费者吗?

如果你只是想通知个人消息那么你可以轻松发送一个

电子邮件?


Richard


您好,

根据您的要求,您可以写一个Windows服务,它将监控

数据库并发送通知。


当你想要共享数据时,将创建Web服务,

程序/算法/应用程序作为其他部门的服务,

客户和供应商。


问候,

R.Balaji

" Michael Fan" <易****** @ hotmail.com>在消息中写道

news:79 ************************** @ posting.google.c om ...

我是web servie的新手,想要编写一个监视数据库中某个字段的Web服务。一旦超过某个值,网络服务就会向网络服务发出通知,消费者会对其采取行动。

有可能吗?如果是,如何实施?如果可能,请提供
我的链接。

非常感谢。

迈克尔



I am a newbie for web servcie and want to write a web service which
monitors the certain field in the database. Once it exceeds the
certain value, web service will send out notification to web service
consumer who will take action on it.

Is it possible? If yes, how to implement? If possible, please provide
me the link.

Thanks lot.

Michael

解决方案

No. The protocol is based on the consumer making a request to the service,
therefore your consumer must periodically poll the service.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP

"Michael Fan" <yi******@hotmail.com> wrote in message
news:79**************************@posting.google.c om...

I am a newbie for web servcie and want to write a web service which
monitors the certain field in the database. Once it exceeds the
certain value, web service will send out notification to web service
consumer who will take action on it.

Is it possible? If yes, how to implement? If possible, please provide
me the link.

Thanks lot.

Michael




Hi Michael

I only ask this because you say you are a newbie. When you say consumer, do
you mean a system consumer?
If you just wanted to notify an indivdual then you could easily send an
email?

Richard


Hi,
For your requirement, you can write a windows service which will monitor the
database and send out notifications.

Webservices will be created when you want to share your data,
procedures/alogorithms/application as a service to other departments,
customers and suppliers.

Regards,
R.Balaji
"Michael Fan" <yi******@hotmail.com> wrote in message
news:79**************************@posting.google.c om...

I am a newbie for web servcie and want to write a web service which
monitors the certain field in the database. Once it exceeds the
certain value, web service will send out notification to web service
consumer who will take action on it.

Is it possible? If yes, how to implement? If possible, please provide
me the link.

Thanks lot.

Michael



这篇关于Web服务是否可以向Web服务使用者发送随机通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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