Lotus Notes-to-webMethods Communications
Overview
This chapter provides instructions for creating Lotus Notes-to-webMethods (outbound) transaction services. To create Lotus Notes-to-webMethods services, you set up your Lotus Notes Designer to implement shared code. You also set up your Integration Server to handle the messages as they arrive from the Domino Server.
This chapter provides sample code to implement your outbound transactions. Additionally, it provides information about how to configure your Lotus Notes system to communicate with the Integration Server using SSL and describes how to monitor your outbound Lotus Notes request messages at run time.
For a detailed description of Lotus Notes-to-webMethods communications, see Lotus Notes-to-webMethods Communications.
Setting Up the Domino Server for Outbound Transactions
To set up the Domino Server to enable outbound communications to webMethods, perform the following steps:
Set the Classpath in the Lotus Notes notes.ini File
About this task
To set the Classpath in the Lotus Notes notes.ini file to compile shared code
Procedure
Write Shared Agent Code
Lotus Notes provides the option of using Java or LotusScript to programmatically manipulate data within the database. The Java or LotusScript code is stored in modules called Agents. Agents can be called manually or through some automated method such as a trigger in response to a specific database event, or at a scheduled time.
Complete the following instructions to create the agent code in Java or LotusScript.
Using Sample Shared Agent Code in Java
About this task
To implement the sample shared agent code in Java :
Procedure
Using Sample Shared Agent Code in LotusScript
Starting with Integration Server 7.1, the pre-built C library files are no longer included in Integration Server, or Designer. You must build the C library files for your system using the SDK. For information about building a C or C++ client, see the IBM webMethods Integration Server C/C++ API Reference or IBM webMethods Service Development Help for your release.
After you complete your development, you may execute it from your LotusScript.
Using SSL to Communicate with Integration Server
Before you set up your Lotus Notes system to use SSL to communicate with the Integration Server, you must first configure the Integration Server to enable an HTTPS port. If you need instructions for setting up an HTTPS port, see the IBM webMethods Integration Server Administrator’s Guide for your release.
For more information about the methods for setting the SSL option on the agent clients, see the com.wm.app.b2b.client.BaseContext class and the com.wm.app.b2b.client.Context class in the IBM webMethods Integration Server Java API Reference.