Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data transfer between several sites and server
Message
De
28/01/2005 04:47:18
 
 
À
27/01/2005 03:59:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
00981124
Message ID:
00981636
Vues:
25
>Pls help me to find a reliable solution in the following situation:
>We have several locations spread arround the country and we need to transfer data automatically to the server during night.
>Our application is written in FoxPro 2.6 and, for now, transfer is done by email. How can I use XML or web services or something else to transfer data?

We do it with a Web Service. You can build a Web Service on the server to accept that data from a method such as SendData(). I assume you would probably want to have authentication on that one as you are uploading data on the server. This is easy to do in Web Service. The SendData() method could receive your XML string as tcXML as String.

From the client side, you could CursorToXML() and send that to the method. On the server, once received, you would then do the reverse process to have everything back as a VFP cursor.

As this is FoxPro 2.6, you would probably want to build your XML manually as CursorToXML() is not supported. But, the process can remain the same.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform