Once the proxy classes for the Web Service have been created, they can be used to invoke the Web Service. Here are the steps to execute them using MVBasic:
Open Terminal in the namespace in which you generated the proxy classes.
Start the MV Shell using the following command:
USER:; service = "MVTutorial.ServicesSoap"->%New()
USER:; PRINT service->Search(2,"NAME",1)
USER:; PRINT service->Search(1,"PHONE",2)
You can use the proxy classes with Caché Object Script and Caché Basic as well as MVBasic.
Remember that clients for our Web Service can be created on any platform: Caché, Java, .NET, and so on. Similarly, we can create MVBasic clients for Web Services executing on any platform.
© 1997-2019 InterSystems Corporation, Cambridge, MA