>I am playing with the following idea and would like to hear opinions of people who have done Web Services and what they think about it.
>
>I have a customer that wants to have a web-based order system. But they don't have a web server (their are relatively small company).
>What I am thinking is the following:
>1. Create a web-based order application on my site, that is on my web server (I actually don't have my own but renting one). This application will store the orders in either VFP database or SQL Server database on the Web server.
>
>2. I will have a Web Service application residing on a user PC that would have a timer and periodically the Web Service would "get" the orders from the VFP or SQL Server on the web server. Then the Web Service application would add these orders to the desktop windows (VFP) application.
>
>What do you think?
>
>Thank you in advance for any input or suggestions.
I think you have it backwards, Dmitry. A better solution is to create a web service that outputs all of the "new" orders. Run the web service on your rented web box. Then the VFP client app checks for new orders periodically.
You can't run a timer in a web service because the web service. I mean, you can, but the web service wouldn't return anything until the timer was turned off and the web service function completed execution!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement