Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 Publisher Binding with BWSE : Setting Up the Example

Setting Up the Example
To set up the example, complete the following tasks:
 
Task A Set up Lotus Notes Application
The source.nsf database is used in this example.
1.
2.
Open the source.nsf file from ADLN_HOME/examples/LotusDatabase, and upload them to Domino Server.
3.
a.
b.
Queue Db Server: IP address of the machine that hosts the database file.
Host Name: IP address of the machine on which the adapter is running.
Port Number: should be the same as the Http Port to Listen to LotusNotes Events field value that is specified in the Adapter Services tab. In this example, it is 8081.
c.
Task B Create Agents
1.
In Lotus Notes, select Create > Agents.
2.
For example, HTTPStandardPublisher.
3.
Close the Agent dialog.
4.
In the Action panel, select Imported Java from the Run list box.
5.
Click Import Class Files. Import the class file StandardPublisherHttp.class from ADLN_HOME/lib/agents/HTTP.
6.
7.
Task C Import the Adapter Project, Designer Project, and SOA Project
1.
2.
3.
In the Import dialog, select General > Existing Projects into Workspace. Click Next.
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_BWSE\PublisherBindBwse.zip.
5.
Ensure that the Adapter Project PubWireWithBwse-UI, the Designer Project PubWireWithBwse-DABS, and the SOA Project PubWireWithBwse-SOA have been selected in the Projects pane.
6.
Select the Copy projects into workspace checkbox.
7.
Click Finish.
Task D Customize the Adapter Project
After importing the projects, you need to change the connection parameters based on the environment.
1.
In the Project Explorer, expand PubWireWithBwse-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.
3.
4.
In the Project Explorer, expand PubWireWithBwse-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.
6.
a.
In the Project Explorer, expand PubWireWithBwse-UI > Adapter Configurations, right-click the adapter instance ADLN_PubBwseConfiguration.adlnmodel, and then select Generate Adapter WSDL from the shortcut menu.
b.
c.
Click OK when prompted to overwrite the existing resource.
Task E Update the Designer Project
1.
2.
Switch to the Designer - TIBCO perspective. From the Designer menu, select Project, and then select Import Resources from File, Folder, URL.
3.
In the Import Resource or File dialog, select Folder in the Format field, and then browse to select the schema folder in the SOA Project PubWireWithBwse-SOA. Click OK.
4.
Import the ADLN_PubBwseConfiguration_genresources folder in the SOA Project PubWireWithBwse-SOA in the same way.
5.
In the Project Explorer, expand PubWireWithBwse-SOA > Composites, and then right-click the composite file PubWireWithBwse-SOA.composite, select Refresh to update the BusinessWorks component.
6.
a.
In the Project Explorer, select the Designer Project PubWireWithBwse-DABS, and then double-Click the process file ADLN_PubBwseConfiguration_publisher.process.
b.
In the Editor view, select the Receive Partner Notification activity, check the configuration.
Task F Refresh Service Assembly and Build Archive
1.
In the Project Explorer, expand PubWireWithBwse-SOA > Deployment Packages.
2.
Right-click the service assembly file PubWireWithBwse-SOA.saf, and then select Refresh Service Assembly from the shortcut menu.
3.
Right-click the PubWireWithBwse-SOA.saf file, and then select Build Archive from the shortcut menu.
4.
Click Yes when prompted to overwrite the existing resource.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved