Adding a WebApp Component Using the WAR File
- Procedure
- Create an empty SOA project.
- Import the generated WAR file to the
Service Descriptors folder.
- Add a WebApp component.
- Select the WAR file as the implementation.
TIBCO Business Studio - BPM Edition 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 TIBCO Business Studio - BPM Edition.
- 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).
- Promote the component reference. Select the component reference, right-click, and select
Promote.
- Create a DAA. Right-click the composite and select Create DAA.
- In ActiveMatrix Service Grid Administrator, deploy the DAA and invoke the application.
The reference application is called.