This chapter covers the following topics.
Overview
SOAP-Based Web Services
Jade Web Service Provider
Jade Web Service Consumer
SOAP Versions
Defining the Classes, Properties, and Methods for a Web Service
Creating a Web Service Class
Creating a SOAP Header Class
Creating Web Service Methods
Using the Web Service Exposure Wizard
Adding a Web Service Exposure Definition
Displaying a Hierarchical WebService Exposure Browser
Changing a Web Service Exposure Definition
Removing a Web Service Exposure Definition
Extracting a Web Service Exposure
Finding an Existing Web Service Exposure
Generating JavaScript for a Web Service Exposure Definition
Defining a Web Service Provider Application
Generating Web Services Description Language (WSDL)
Setting Up Version Control
Testing the Web Services Interface
Running a Web Service Application in the Direct SOAP Mode
Web Service Provider Example
Defining a Web Service Consumer Application
Using the Web Service Consumer Wizard to Add a Web Service Consumer
Displaying a Hierarchical Web Service Consumer Browser
Reloading a Web Service Consumer
Removing a Web Service Consumer
Extracting a Specific Web Service Consumer
Generating JavaScript for a Web Service Consumer
Runtime Web Services Framework
Using Communications Protocols Other than HTTP in your Web Service
Creating a Web Service Gateway
Mapping Jade Primitive Types to XML Schema Types
Web Services Classes
REST-Based Web Services
REST Client Classes
JadeRestService Class
REST Service Security
Creating a REST Service Class
Creating REST Service Methods
GET Method Examples
POST Method Examples
PUT Method Example
DELETE Method Example
Defining a REST Service Application
Running a REST Service Application in the Direct REST Mode
Describing Available REST Services
Generating OpenAPI Specifications from Jade REST APIs
Exceptions in REST Processing
Syntax of a Direct REST Request
Syntax of a REST Request
Parsing JSON Text
Processing a REST Request
Deriving the Method Name
Passing Primitive Parameters
Sending Binary Payloads in Direct REST Responses
Ingesting Direct REST Requests with Ninary Payloads
Specifying the Output Format
Passing an Object Parameter
Passing Additional Information
Returning a Value
Returning a JadeJsonObject or JadeAnyArray Value
Deleting Transient Objects
ISO 8601 Date and Time Support
Multipart Form Data Encoding Server-Side Support
OpenAPI Import Wizard Enhancements
REST Services Pagination
Client-Side Usage Examples
Server-Side Usage Example
REST Client Header Support
Standardized URLs for Web Services