473,387 Members | 1,897 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,387 software developers and data experts.

A WebService which can be time driven not event?

Is it possible that web service can hit SQL Server Database after every 10
or 15 minutes. Actually what i want is that there is some webservice which
can check whether the specific data i want has been inserted in databse
and it should check it after every 15 mins
Nov 17 '05 #1
3 970
I don't think that's a good idea for web service is just a interface for
client program to connect with. Why not place a timer in the client to check
whether you get the specific data?

"Sabeen Sadiq" <sa**********@eintelligencesoft.com> дÈëÏûÏ¢ÐÂÎÅ
:e6*************@tk2msftngp13.phx.gbl...
Is it possible that web service can hit SQL Server Database after every 10
or 15 minutes. Actually what i want is that there is some webservice which
can check whether the specific data i want has been inserted in databse
and it should check it after every 15 mins

Nov 17 '05 #2
You can use [webmethod] attribute with caching property setted to 15
minutes,so first client call will be answered from database and same method
calls from client will be replied from the cache in next fifteen minutes,

Dincer Uyav

"Sabeen Sadiq" wrote:
Is it possible that web service can hit SQL Server Database after every 10
or 15 minutes. Actually what i want is that there is some webservice which
can check whether the specific data i want has been inserted in databse
and it should check it after every 15 mins

Nov 17 '05 #3
"Sabeen Sadiq" <sa**********@eintelligencesoft.com> wrote in message
news:e6*************@tk2msftngp13.phx.gbl...
Is it possible that web service can hit SQL Server Database after every 10
or 15 minutes. Actually what i want is that there is some webservice which
can check whether the specific data i want has been inserted in databse
and it should check it after every 15 mins


A Web service is typically meant to be a receiver and responder, not an
initiator. It's just like any other procedure you would create in code. If
you want something to *initiate* an action, I would recommend a Windows
service. Is there any reason why you would want to choose a Web service
over a Windows service for this problem?

HTH,

Mike Rodriguez
Nov 17 '05 #4

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

Similar topics

8
by: Programatix | last post by:
Hi, I'm working on a project which includes XML WebServices and Windows Form application. The Windows Form application will call the XML WebServices to retrieve data from database. The data...
4
by: GitarJake | last post by:
Hello all, I am very new to ASP programming. My experience so far is limited to VBA in Windows based apps like Access, Excel etc. Is ASP event driven like Visual Basic? If so, can ASP...
5
by: Richard Kure | last post by:
Is it possible to get a webservice to call to a Windows Form? Both the webservice and the form are running at the same computer. I work in C#.NET in Visual Studio. I tried to make an eventin the...
0
by: jagdriver | last post by:
When I call a webservice on IIS(on WIN2003 Server with .NET runtime 2.0). I get the Error. System.Net.WebException: The operation has timed out In Event Viewer the Error is: Event code:...
1
by: Thom Little | last post by:
I have a simple web service that requires no input and returns a character string. I created the service and FTPd it to a remote server. The .dll to the .bin directory and the single .asmx file...
1
by: Sadagopan | last post by:
Hi, I am thinking of returning enumerated data types in my web service response. My enumeration values are driven from a database lookup table. The table get new lookup records and these need to...
0
MMcCarthy
by: MMcCarthy | last post by:
VBA is described as an Event driven programming language. What is meant by this? Access, like most Windows programs, is an event driven application. This means that nothing happens unless it is...
7
by: Amirallia | last post by:
Hi, I consume my webservice with the IE browser and all is ok when I call it with one browser. But when I call it a the same time with two browsers, the IE page tells me that the apllication...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
marktang
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,...
0
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...
0
Oralloy
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,...

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.