Sample Projects
TIBCO ActiveMatrix Binding Type for REST installation includes sample programs which demonstrates use of the HTTP operations and mediation component.
Service Side
TIBCO ActiveMatrix Binding Type for REST includes the following sample programs for the service side in the TIBCO_HOME\amx\<version>\samples\rest directory.
- Bookstore sample Implemented in Java. Exposes a potential interaction of a bookstore administrator with the bookstore inventory. The sample includes two HTTP GET operations, getBookList and getBookByTitle, and one HTTP POST operation, addBook.
- Multiplecomplextypes sample Demonstrates the use of a Mediation component to expose a WSDL operation with multiple parts of complex type. Your application might need to perform such mediation because the Binding Type for REST only supports WSDL operations with a single part of complex type.
Reference Side
TIBCO ActiveMatrix Binding Type for REST includes the following sample programs for the reference side in the TIBCO_HOME\amx\<version>\samples\rest directory.
- Bookstore client sample This sample is configured with REST Binding Type on reference with XML media-type. It consumes the 'bookstore' sample service shipped with the product.
- Facebook client sample This sample is configured with REST Binding Type on reference with Standard JSON as the media-type. It invokes an external FaceBook service.
- Pass-Through Mode Sample This sample is configured with REST Binding Type on reference to demonstrate the Pass Through Mode.
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.