Skip to main content

Overview: Caché as Web Service Consumer

Caché provides full support for Web Services. Moreover, support for Web Services is built into Caché and does not require any additional middleware. Caché provides Wizards and a class, %SOAP.WSDL.ReaderOpens in a new tab, that automatically generate proxy classes for a SOAP Web Service producer based on the service's WSDL document. Caché automatically performs all SOAP-to-object and object-to-SOAP conversions making communication between a Caché application and a Web Service perfectly transparent.

Here are some of the processes involved when a Caché application consumes a Web Service:

  1. The system automatically generates local proxy classes for the producer based on its WSDL document.

  2. Caché application classes invoke proxy class methods using standard object-oriented techniques.

  3. Caché constructs a SOAP message based on the method invocation and sends it to the producer using HTTP.

  4. The SOAP server processes the request and returns a SOAP encoded response.

  5. Caché translates the SOAP response into Caché objects.

  6. The local proxy class returns standard Caché values to the Caché application.

generated description: soapclientserver2

Note:

The diagram shows the logical configuration of a Caché Client and a Web Service. All of the logical elements can reside on the same physical machine.

FeedbackOpens in a new tab