Adding a WebApp Component Using the WAR File

Procedure

  1. Create an empty SOA project.
  2. Import the generated WAR file to the Service Descriptors folder.

  3. Add a WebApp component.

  4. Select the WAR file as implementation.

    Business Studio scans the servlet classes declared in the web.xml file of the WAR file. If the @Reference annotation is found in a servlet class, is displayed on the WebApp component in Business Studio.

  5. Add the WSDL file to the component reference. Use the same WSDL file that was used for generating interface JARs. Select the reference and specify the WSDL Interface details (Port Type and WSDL Location).

  6. Promote the component reference. Select the component reference, right-click, and select Promote.
  7. Create a DAA. Right-click on the composite and select Create DAA.
  8. In TIBCO Administrator, deploy the DAA and invoke the application.

    The reference application is called.