Calling Reality Web Services
When you set up a web service, the Management Console creates a file written in the Web Services Description Language (WSDL). This lists the subroutines exposed by the service, and gives details of their parameters. You will need to provide remote developers with the URL of this file. You should also provide reference documentation for the exposed subroutines.
The remote developer must call the subroutines using the Simple Object Access Protocol (SOAP). The way in which you set up the necessary SOAP calls depends on your development environment. For example, in Visual Basic for Applications (Microsoft Office) and Visual Studio 6.0, you use the SOAPClient object which is available from the Microsoft web site.
Note
If you are using Office XP or 2003, you can download and install the appropriate version of the Microsoft Office Web Services Toolkit. This provides a simple way of setting up access to a web service from a WSDL file - it creates a class module for you, with methods that correspond to the routines exposed by the web service. These can be called in the same way as the methods of any other Visual Basic object.
There is no corresponding toolkit for Visual Studio 6.0 or earlier versions of Microsoft Office. In these environments, you must download and install the SOAP 3.0 Toolkit and use the web service's documentation to find out what routines are available and how to call them.
Examples
The following examples show how to call a DataBasic subroutine called
GETADDRESS that is exposed as a web service at