Caché Web Services QuickStart Tutorial
- Preface
- Publishing Web Services Using Caché
- Example Application Object Model
- Web Services Background
- Overview: Caché as Web Service Producer
- Caché Web Service Producer Requirements
- Creating a Web Service
- Defining a Caché Web Service Class Using Studio
- Adding a Web Method
- Viewing the WSDL Document
- Testing the Service from the Terminal
- Working with Complex Objects
- Testing Complex Object Code from the Terminal
- Adding a Query
- Testing the Query from the Terminal
- Creating a Collection to Return from a Web Method
- Using a Collection in a Web Method
- Testing a Web Method that Returns a Collection from the Terminal
- Exercises
- Recap
- Consuming Web Services Using Caché
- Example Web Service Producer Application
- Web Services Background
- Overview: Caché as Web Service Consumer
- Caché Web Service Proxy Class Requirements
- Creating Proxy Classes using the Wizard: Part 1
- Creating Proxy Classes using the Wizard: Part 2
- Testing the Proxy Classes
- Creating and Testing Proxy Classes using the Terminal
- Exercises
- Recap
- Web Service Error Handling in Caché
- Example Web Service Consumer and Producer Applications
- Overview: SOAP Faults
- Generating a SOAP Fault
- Error Handling Logic
- Testing SOAP Fault Generation
- Trapping a SOAP Fault on the Web Service Client
- Testing the SOAP Fault Trapping Code
- Exercises
- Recap
- Example and Exercise File Installation
- Compiling and Populating the Sample Application
- WSDL-First Service Creation with the SOAP Wizard