Executing the Bookstore Sample

Deploy the Bookstore sample using TIBCO Business Studio, review the composite configuration and then run the sample to understand about HTTP operations.

Prerequisites

  • Before running the samples, ensure that all the required software has been installed and is operating correctly.
    Note: If you install only the Administration profile and not the SOA Development profile, the samples are not included in the installation.
  • Download a REST client such as:

    The REST client offers an easy to use interface for setting HTTP headers and a simple text box for sending payload in the HTTP body. If you do not download a REST client, you can see results of GET operations in a Web browser, but you cannot perform HTTP POST operations.

The service operations are implemented in Java, and the service interface is defined in WSDL.

Load the project in TIBCO Business Studio in order to run the sample.

The bookstore sample illustrates how a bookstore administrator might look up the inventory and add new books. Lookup is by title, or the administrator can get a list of books. Lookup can happen from a Web browser or a REST client. Adding new books can be done from a REST client.