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


Chapter 7 RPC Server 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.
Select the source.nsf file that is at the Domino Server. Enter value for the following field in the Setup Document:
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.
4.
Task B 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\RpcsBindBwse.zip.
5.
Ensure that the Adapter Project RpcsWireWithBwse-UI, the Designer Project RpcsWireWithBwse-DABS, and the SOA Project RpcsWireWithBwse-SOA have been selected in the Projects pane.
6.
Select the Copy projects into workspace checkbox.
7.
Click Finish.
Task C 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 RpcsWireWithBwse-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 RpcsWireWithBwse-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 RpcsWireWithBwse-UI > Adapter Configurations, right-click the adapter instance ADLN_RpcsBwseConfiguration.adlnmodel, and then select Generate Adapter WSDL from the shortcut menu.
b.
c.
Click OK when prompted to overwrite the existing resource.
Task D Update the Designer Project
1.
2.
3.
From the Designer menu, select Project, and then select Import Resources from File, Folder, URL.
4.
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 RpcsWireWithBwse-SOA. Click OK.
5.
Import the ADLN_RpcsBwseConfiguration_genresources folder in the SOA Project RpcsWireWithBwse-SOA in the same way.
6.
a.
In the Project Explorer, select the Designer Project RpcsWireWithBwse-DABS, and then double-Click the process file ADLN_RpcsBwseConfiguration_rpcServer.process.
b.
In the Editor view, select the Timer activity, the time interval is set to 10 seconds, which means the insert operation will be carried out every ten seconds. You can change the timer interval if necessary.
c.
Select the Invoke Partner activity, check the data to be inserted.
Task E Refresh Service Assembly and Build Archive
1.
In the Project Explorer, expand RpcsWireWithBwse-SOA > Deployment Packages.
2.
Right-click the service assembly file RpcsWireWithBwse-SOA.saf, and then select Refresh Service Assembly from the shortcut menu.
3.
Right-click the RpcsWireWithBwse-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