This step adds the Data Mashup project and its JAR files to the composite application.
On the Projects window, expand the Composite Application Tree, right-click JBI Modules and select Add JBI Module.
In the Select Project window, select the Data Mashup application in the list (demoDMProject for this exercise), and click Add Project JAR Files.
This adds the Data Mashup application to the CASA Editor canvas as a JBI module and builds the service engine deployment JAR file.
If you do not see the Data Mashup project in the left pane of the window, navigate to the directory that contains it.
In the CASA Editor, right-click in the WSDL Ports area and select Add WSDL Port.
The Select WSDL Port window appears, listing all the available WSDL ports.
In the Select WSDL Port window, select http and soap and then click OK.
An HTTP port named casaPort1 and a SOAP port named casaPort2 appear in the WSDL Ports area of the canvas.
Data Mashup only supports the http and the soap WSDL bindings. If you want to use the procedure to test the deployment of your composite application, when creating the WSDL port you must use the soap WSDL binding and not the http WSDL binding.
Click Save All.
In the Projects window, right-click the composite application and click Build.
Check the output in the bottom panel to ensure that the composite application built successfully.
If the build fails, do the following:
In the Projects window, expand the composite application project, and select the WSDL file under Process Files.
In the CASA Editor, select the Source tab.
Scroll down until you see
<http:address location="http://localhost:${HttpDefaultPort}/ casaservice1/casaPort1"/>
Change casaPort1 to another port number, such as casaPort6.
Build the composite application again.
On the CASA Editor, drag the purple HTTP and SOAP consumer endpoints in the WSDL Ports pane to the green endpoint for the Data Mashup project.
Click Save All.
You are now ready to build and deploy the composite application.