3.1.1 Representational State Transfer (REST) Support

With REST enabled, requests received on a REST port are processed as follows by GWWS.

URIs must comply with the following pattern:

<REST service name>

Where the Oracle Tuxedo service name is the name of the REST service invoked (for example, TOUPPER).

Data format and input Oracle Tuxedo buffer types are specified using the following HTTP header:

  • content-type:

    Set to application/json:indicates that JSON is used to transfer data to/from HTTP client.

    Set to application/xml: indicates that XML is used to transfer data to/from HTTP client.

Note:

application/json and application/xml will only apply to structured buffer types (VIEW, VIEW32, FML, FML32, X_C_TYPE and X_COMMON. To use simple buffers and POST or PUT, you must set Content-type to appropriate values ("text/plain" for STRING, "application/octet-stream" for CARRAY, etc.).