Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an array to a web service
Message
 
À
04/07/2002 17:58:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00675451
Message ID:
00675527
Vues:
24
>I have a VFP web service and a VFP client which uses the web service. How do I pass an array to a web service method?

Perhaps I explained myself in a bad way.

two approaches:

XML way:

1 - ArrayToFile (client side)
2 - FILETOSTR
3 - Send the data inside a XML to the WebService
4 - XML to file (WebService)
5 - FileToArray (WebService)

Raw way (I use this)

1 - ArrayToFile (client side)
2 - Send the file as binary to the WebService
3 - FileToArray (WebService)

For this 2, I created some classes (client & server), that works like an FTP but inside a WebService. I'm just finishing the doc for this classes.

Also you can do:

FTP way

1 - ArrayToFile (client side)
2 - Send the file to the FTP server
4 - Send the filename to the WebService
3 - FileToArray (WebService)

Hope this helps,
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform