Service Health Check Sample for Annotations
Samples specific to the Service Health Check Annotation feature are available in <TIBCO_HOME>/administrator/<version>/samples/healthcheck/annotations/sample.zip.
The sample.zip contains the following sample TIBCO Business Studio projects to be imported into TIBCO Business Studio.
- com.sample.demo1: Folder containing the DAA, Client_httpProxy_without_auth.daa. It includes a SOAP-Java1-SOAP sample implementation that invokes SOAP-Java2 (com.sample.service). The Custom Service Health Check method is present in the Java1 implementation class that you can customize.
- com.sample.service: Folder containing the DAA, Service_httpProxy_without_auth.daa. The Custom Service Health Check method is present in the Java2 implementation class that you can customize.
In addition to the above projects, you will need the following sample WSDL and sample SOAPUI project provided in <TIBCO_HOME>/administrator/<version>/samples/healthcheck/:
- HealthCheck.wsdl: A concrete WSDL describing the Service Health Check contract provided by each ActiveMatrix SOAP/HTTP Service out-of-the-box. The WSDL describes the schema for the Service Health Check request and response in terms of all the Elements and their attributes. The WSDL also includes Sample SOAP/HTTP Bindings for SOAP Versions 1.1 and 1.2.
- HealthCheckSOAPProject-soapui-project.xml: A sample SOAP UI project that demonstrates the salient features of the Service Health Check functionality using a SOAP Binding and Java Implementation Type (IT).
Prerequisites
If you have enabled the Service Health Check feature, the Service Health Check Annotation feature is enabled by default. For information on enabling Service Health Check, refer to Enabling Service Health Check in the TIBCO ActiveMatrix Service Grid Custom Actions guide.