Reputation: 55
If I create a web service in Delphi XE as CGI executable, what's the best way for it to return data to a client? Say the server uses ADO to access SQL server and the data is stored in a TADODataSet component - what's the best way to get it back to the client through a web service call? Do I need to convert it to XML and return it as a string and have the client recreate it?
Upvotes: 3
Views: 1641
Reputation: 34889
With the DataSnap framework it is possible to send dataset between server and client(s).
See more here : can-delphi-2009-build-web-service-that-returns-a-dataset
Upvotes: 1