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 12 2235
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
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
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
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
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
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
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
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |