FoxCentral Client Class Source Code

The FoxCentral Client Source code is available for download. You can use the FoxCentralClient class to hook up your own front end to the Web Service if you like an easier and wrapped VFP interface for the service that handles errors and provide straight cursors and object results rather than XML string results you have to convert yourself.

You can download it from:

http://www.foxcentral.net/docs/foxcentralClient.zip

To run this code unzip in a single directory and run the FoxNews.prg file, which provides a simple example on how to call the service and retrieve all the items, then render them into HTML. You can customize the news.wc HTML page as needed to wrap the generic HTML provided by the class.

There's also a client news manager application that can be used by news providers to add and edit exiting news items. To run this interface simple DO FORM ADDNEWS. Note you will have to have a provider account and password in order to use this feature to edit and add news items. Any non providers will get access denied errors returned from the Web Service. But you can certainly examine the viewer that lets you view and edit the news items downloaded from the server.


  Last Updated: 6/3/2007 | © West Wind Technologies, 2007