Service Health Check Sample for SOAP/HTTP

A Service Health Check sample is provided in <TIBCO_HOME>/administrator/<version>/samples/healthcheck/HealthCheckSOAPProject-soapui-project.xml.

This folder contains the following files:

  • 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.
  • helloworld1.zip: A zip file containing the DAA, jv.helloworld1.soa.daa. The application jv.helloworld1.soa consists of a SOAP/HTTP Binding and Java Implementation Type (IT).
  • helloworld1_mediation.zip: A zip file containing the DAA, mediation.helloworld.log.daa. The application mediation.helloworld.log.soa consists of a SOAP/HTTP Binding and Mediation Implementation Type (IT).
  • HealthCheckSOAPProject-soapui-project.xml: A sample client (SoapUI) project that can be used to invoke the Service Health Check functionality on the jv.helloworld1.soa application.

Procedure

  1. Deploy the DAA, through TIBCO ActiveMatrix Administrator UI to an ActiveMatrix Runtime Node. Select the DAA from the following location depending on the Implementation Type on which the Service Health Check is performed.
    • for Java IT select, jv.helloworld1.soa.daa from helloworld1.zip
    • for Mediation IT select, mediation.helloworld.log.daa from helloworld1_mediation.zip
  2. Import the HealthCheckSOAPProject-soapui-project into SoapUI. This project is applicable for SOAP version 1.1.
  3. Obtain the Endpoint URL for the service.
    1. In TIBCO ActiveMatrix Administrator, click Applications.
    2. Select the application depending on the Implementation Type, that is for Java IT select, jv.helloworld1.soa; for Mediation IT select, mediation.helloworld.log.soa; for BWSE IT select, com.tibco.bwse.helloworld. usecase.amxmessagecontext.soa.
    3. Click on the Status tab.
    4. Click on the Binding Status hyperlink.
    5. Select the service binding depending on the Implementation Type
    • for Java IT select, JavaHelloComponent_1.0.0.v2013-02-07-1036/HelloWorldPT/HelloWorld1SOAP
    • for Mediation IT select, mediation.helloworld.log_1.0.0.v2012-08-13-1827/HelloWorld/SOAPService_Binding1

    When the WSDL is generated, use the following endpoint URL from the address element.

    <soap:address location="http://0.0.0.0:9895/helloWorldPT/"/>.

    Click Generate WSDL
  4. Execute the Service Health Check request (Request 1) on the Endpoint URL of the service to initiate a SOAP request.

    The Service Health Check response shows the health status of the participating entities. The component type would be TIBCO-IT-MEDIATION for the Mediation.