Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning Cursor From Web Service
Message
From
31/01/2002 12:21:00
 
 
To
31/01/2002 11:51:50
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00613435
Message ID:
00613499
Views:
9
>>What is the safest way to return a cursor from a web service so that it can be used by any? XML?
>
>I'd say so. Using XML means that any client that supports XML (which reall means, any platform that supports text) can parse your data.
>
>>If you use XML, how can you easily convert it to an ADO recordset for VB or a native VFP cursor in Fox?
>
>There are quite a few ways to do this. ADO can typically load from an XML file easily. In both enviornments, you can use the DOM parser to read data into a cursor. In VP7, you can do XMLToCursor() dpending on how nice the XML is. If you use CursorToXML() on the server, XMLToCursor() will bring it back fine. With .NET, the XML Text Reader makes quick work on reading XML, so whatever the environment, XML support is pretty good, and is always getting better.


Mike,

Thanks. So would you say CURSORTOXML() is pretty safe for creating the XML? Can .Net easily create a Dataset from this? ADO?

Dan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform