docs.intersystems.com
MultiValue Quick Start Tutorial
Caché Suppport for Web Services
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Search:    

Caché provides full support for Web Services. Moreover, support for Web Services is built into Caché and does not require any additional middleware. Using Caché you can quickly and easily build Web Services that are accessible to clients on any platform. You can also quickly and easily build clients that can access Web Services on any platform. Caché Web Services and clients can be coded using MVBasic.

The following tables summarize Caché support for Web Services and Web Service clients:
Caché Web Service Support
Component Description
%SOAP.WebService
Caché classes containing Web Services must extend this class. Caché automatically exposes as a Web Service any method tagged with the “WebMethod” keyword in such a class.
%XML.Adaptor
By extending this class, a Caché class becomes XML-enabled. In order for an object to be returned from a Caché Web Service, it must be an instance of a class that extends this class.
class compiler
Automatically generates the SOAP interface and WSDL document when it compiles a class extending %SOAP.WebService.
Caché SOAP Server
Forwards Web Service requests from the CSP gateway to the correct Web Service. Translates messages from SOAP to their Caché representation.
Web Service Test Page The system automatically generates a Web page that can be used to test the Web Services contained in a class.
Caché Web Service Client Support
Component Description
%SOAP.WebClient
Local proxy classes for Web Services must extend this class. Note that you do not generally code these proxy classes by hand. Caché provides a utility for automatically generating them. See the next entry.
%SOAP.WSDL.Reader
Apply the Process method of this class to the WSDL for a Web Service to generate local proxy classes for the Service.


Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA