![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Before proceeding, ensure that the environment for TIBCO ActiveMatrix has been set up correctly. See Setting Up the Environment for TIBCO ActiveMatrix for more information about how to configure the environment.
1. Start Lotus Notes and click Databases.
2.
2. From the File menu, select Import.
3.
4. In the Import dialog, check the Select archive file radio button, browse to select the example archive file AMX_HOME\extensions\adlnse\6.0\samples\AMX_UIBase\SubscriberDemo.zip.
5. Ensure that the Adapter Project SubDemo-UI and the SOA Project SubDemo-SOA have been selected in the Projects pane.
6. Select the Copy projects into workspace checkbox.
7. Click Finish.After importing the projects, you need to change the connection parameters as required by the environment.
1. In the Project Explorer, expand SubDemo-UI > defaultVars, and then double-click defaultVars.substvar to open the editor for substitution variables.
2. Change values for substitution variables adln.connection.dominoserver, adln.connection.username, and adln.connection.password.
4. In the Project Explorer, expand SubDemo-UI > Shared Resources, and then double-click LotusNotes Connection.sharelnc to open the editor for connection.
5. Click the Test Connection button to ensure that the adapter can connect to Lotus applications.Task D Update the SOA Project
a. In the Project Explorer, expand SubDemo-UI > Adapter Configurations, right-click the adapter instance LotusNotesAdapterConfiguration.adlnmodel, and then select Generate Adapter WSDL from the shortcut menu.
b.
c. Click OK when prompted to overwrite the existing resource.
a. In the Project Explorer, expand SubDemo-SOA > Composites, and then double-click SubDemo-SOA.composite.
b. Delete the existing WSDL file from the Composites folder.
c. In the Composite Editor, select the SOAP service on the canvas, click the Binding tab of the Properties view.
d. Click the Generate WSDL button to generate the WSDL file that is used by the external client to access the service within ActiveMatrix.
a.
b. Right-click the service assembly file SubDemo-SOA.saf, and then select Refresh Service Assembly from the shortcut menu.
c.
d. Click Yes when prompted to overwrite the existing resource.Task E Import the Designer Project
2. Start TIBCO Designer and select Open existing project.
3.
4. Delete the existing WSDL file from the WsdlFiles folder.
a. From the Project menu, select Import Resources from File, Folder, URL.
b. In the Import Resources or File dialog, select File (.xsd, .xslt, .wsdl, .*) from the Format list.
c. Click the Select a file from the file system button next to the File field to locate the .wsdl file that is generated for the SOAP composite service.
d. In the Project panel, double-click the process Trigger_SubInsert.
e. Select the InsertAction activity in the Design panel.
f. In the Configuration tab, click the Browse resources button next to the Service field. In the Select a Resource dialog, click the By Location tab, and then select the WSDL file that you imported earlier. Click OK.
6. Click Apply and save the project.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |