>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,