Walkthrough: Creating XML Web Services with Visual FoxPro

XML Web services are the fundamental building blocks for distributed computing on the Internet. An XML Web service is an object or class that is deployed on the Internet and that you can access programmatically through typical method calls. XML Web services provide functionality and access to data between platforms and across diverse connections. The most important aspect of XML Web services is that because of how they use HTTP and SOAP, functionality is available through firewalls. You can call an XML Web service regardless of the platform you are running because HTTP and SOAP operate independently from your computer platform. In some cases, this can provide functionality that was unavailable under distributed COM.

You can create XML Web services or access them on the Web from wherever they are published. You can use Visual FoxPro to create an XML Web service, or you can use Visual FoxPro to access an XML Web service created in other programming languages.

This walkthrough explains how to create a COM Server and publish it as an XML Web service. Additionally, it guides you through using your newly created XML Web service. The XML Web service provides a list of customers from a table where the customers meet a certain requirement. The list is sent as an XML string that is then placed into a cursor using the XMLAdapter class.

This walkthrough contains the following sections:

Expand imagePrerequisites

Expand imageInternet Information Services

Expand imageCreating a COM Server

Expand imageCreating and Publishing an XML Web Service

Expand imageTesting an XML Web Service

Expand imageUsing an XML Web Service

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic