Starting With an Existing Implementation
You can create an SOA project from an existing implementation either using a bottom-up approach or a top-down approach.
- Bottom-up approach
:
- Method 1: Drag the existing WAR file from the Project Explorer to the composite canvas.
- Method 2: In the Properties tab, select Implementation > Basic, and specify a WTP project or WAR file. WTP project as the default option.
- Top-down approach:
- Drag the WebApp component on the composite canvas.
- Add a reference on the WebApp component and attach the WSDL port type to the reference.
- On the Properties tab, select WTP Project or Plugin Project.
- Select
Generate Servlet Implementation.
- If you have selected the WTP Project, a WTP project is generated.
- If you have selected the Plugin Project, a plug-in project is generated.