The REST service is a server process. When running, it can be invoked by a REST reference.
REST Service Binding REST Binding provides external connectivity for REST over HTTP. You can specify custom HTTP headers and parameters using REST binding. It supports POST, GET, PUT, PATCH, and DELETE HTTP methods. It also supports JSON, XML, and plain text message types.
Creating a REST Service A service is created from a process. You expose the process and describe the content that is sent and received by the process in an XSD. The XSD defines the data that you send and receive. The process is the actual implementation of what you do with the data.
REST Service Tutorial The REST Bookstore sample lets you explore the REST tooling in
TIBCO Business Studio. You can import the REST Basic sample into
TIBCO Business Studio through
File Explorer and examine the project and the solution implemented by it.
The REST Basic sample is a pre-created sample application that you can use to familiarize yourself with the various features in the
TIBCO Business Studio. In this tutorial, we will use the schema that is bundled with the REST Basic sample for ease of use. Alternatively, you can create a schema and name it
Now that you have a schema containing some data definition in your project, you can create a REST service. We start by creating a resource definition, in this tutorial, a book. The REST service created in this tutorial will have a POST and a GET operation. The POST operation will create a book and the GET operation will retrieve the book that was created.
Now that you have built a REST service, you must test it before you use it.