473,325 Members | 2,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Is it possible for web service to send random notification to web service consumer?

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
Nov 21 '05 #1
12 2231
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

Nov 21 '05 #2

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

Nov 21 '05 #3
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

Nov 21 '05 #4
Thanks John,

Is SOA(Service Oriented Achitecture) helpful for solving this issue? Thanks,

Michael

"John Timney \(Microsoft MVP\)" <ti*****@despammed.com> wrote in message news:<#C**************@TK2MSFTNGP09.phx.gbl>...
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

Nov 21 '05 #5
Unfortunatly not - by its very natue a web client/web srevice request is
basically SOA.

Your problem is one of protocol - you make a request, the service responds -
the request is ended. Your client needs to make another request. Its not
the fault of the client - its basically how web servers work.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
"Michael Fan" <yi******@hotmail.com> wrote in message
news:79**************************@posting.google.c om...
Thanks John,

Is SOA(Service Oriented Achitecture) helpful for solving this issue? Thanks,
Michael

"John Timney \(Microsoft MVP\)" <ti*****@despammed.com> wrote in message

news:<#C**************@TK2MSFTNGP09.phx.gbl>...
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

Nov 21 '05 #6
You can take a look at remoting. With it you can fire events to the
connected client(s).

Sunny

In article <79**************************@posting.google.com >,
yi******@hotmail.com says...
Thanks John,

Is SOA(Service Oriented Achitecture) helpful for solving this issue? Thanks,

Michael

"John Timney \(Microsoft MVP\)" <ti*****@despammed.com> wrote in message news:<#C**************@TK2MSFTNGP09.phx.gbl>...
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

Nov 21 '05 #7
Thanks John,

I read some documents about WSE(web service enhancement). Do you think
that might be useful for my issue?

Thanks,

Michael

"John Timney \(Microsoft MVP\)" <ti*****@despammed.com> wrote in message news:<eZ**************@TK2MSFTNGP11.phx.gbl>...
Unfortunatly not - by its very natue a web client/web srevice request is
basically SOA.

Your problem is one of protocol - you make a request, the service responds -
the request is ended. Your client needs to make another request. Its not
the fault of the client - its basically how web servers work.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP

Nov 21 '05 #8
I'm not really up on WSE2, but you might have read something about abstract
patterns which alludes somewhere to it doing a server push. I think what it
actually is is a stream of SOAP requests that the client sends - rather than
just one called a SequenceAcknowledgement chain. This topic is definately
one for the webservices public group, your heading into advanced territory
and I've not read up on WSE2 for a few months..

However, as someone else has suggested there is nothing to stop you using
remoting which could give you that type of connectivity. As it is your
limited by the HTTP protocol which is a disconnected protocol.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
"Michael Fan" <yi******@hotmail.com> wrote in message
news:79**************************@posting.google.c om...
Thanks John,

I read some documents about WSE(web service enhancement). Do you think
that might be useful for my issue?

Thanks,

Michael

"John Timney \(Microsoft MVP\)" <ti*****@despammed.com> wrote in message

news:<eZ**************@TK2MSFTNGP11.phx.gbl>...
Unfortunatly not - by its very natue a web client/web srevice request is
basically SOA.

Your problem is one of protocol - you make a request, the service responds - the request is ended. Your client needs to make another request. Its not the fault of the client - its basically how web servers work.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP

Nov 21 '05 #9
Clear enough. Thanks John and everyone contributed your thougths for
this issue. Have a good day.

Michael

"John Timney \(Microsoft MVP\)" <ti*****@despammed.com> wrote in message news:<O2**************@TK2MSFTNGP09.phx.gbl>...
I'm not really up on WSE2, but you might have read something about abstract
patterns which alludes somewhere to it doing a server push. I think what it
actually is is a stream of SOAP requests that the client sends - rather than
just one called a SequenceAcknowledgement chain. This topic is definately
one for the webservices public group, your heading into advanced territory
and I've not read up on WSE2 for a few months..

However, as someone else has suggested there is nothing to stop you using
remoting which could give you that type of connectivity. As it is your
limited by the HTTP protocol which is a disconnected protocol.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP

Nov 21 '05 #10
Hi Sunny,

Could you give me some links which introduce what is remoting and how
it works? Thanks,

Michael

Sunny <su***@newsgroups.nospam> wrote in message news:<u2**************@TK2MSFTNGP09.phx.gbl>...
You can take a look at remoting. With it you can fire events to the
connected client(s).

Sunny

In article <79**************************@posting.google.com >,
yi******@hotmail.com says...
Thanks John,

Is SOA(Service Oriented Achitecture) helpful for solving this issue? Thanks,

Michael

"John Timney \(Microsoft MVP\)" <ti*****@despammed.com> wrote in message news:<#C**************@TK2MSFTNGP09.phx.gbl>...
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

Nov 21 '05 #11
Hi,

you may start with MSDN. Just to get the idea, type in "remoting" in the
index of VS.Net help.

http://msdn.microsoft.com/library/en-
us/cpguide/html/cpconaccessingobjectsinotherapplicationdomainsusin gnetre
moting.asp

Next step is to get "Advanced remoting" by Ingo Rammer. "Advanced" in
the topic means that he goes very deep, but he starts with the basics,
so it is really great source. I would like to knew that before I lost a
month in pain :)

Reading the posts in .dotnet.remoting newsgroup also helps a lot.

Sunny

In article <79*************************@posting.google.com> ,
yi******@hotmail.com says...
Hi Sunny,

Could you give me some links which introduce what is remoting and how
it works? Thanks,

Michael

Sunny <su***@newsgroups.nospam> wrote in message news:<u2**************@TK2MSFTNGP09.phx.gbl>...
You can take a look at remoting. With it you can fire events to the
connected client(s).

Sunny

In article <79**************************@posting.google.com >,
yi******@hotmail.com says...
Thanks John,

Is SOA(Service Oriented Achitecture) helpful for solving this issue? Thanks,

Michael

"John Timney \(Microsoft MVP\)" <ti*****@despammed.com> wrote in message news:<#C**************@TK2MSFTNGP09.phx.gbl>...
> 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

Nov 21 '05 #12
Michael Fan wrote:
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

If you're willing to use WSE2.0, you can make a web service that accepts
a message that is basically a subscription. This subscription has a
return address of the client (TCP, not HTTP) to which the web service
can send a message.

The hands On Labs for WSE2.0 cover some scenarios where the web service
contacts the client (after an initial client message, but when an event
fires on the server, not in response to the initial client message.) I'd
check them out.

-Ben
Nov 21 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Michael Fan | last post by:
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.