Lotus Notes Adapter 6.0 | webMethods Lotus Notes Adapter Documentation | webMethods Lotus Notes Adapter Installation and User’s Documentation | Overview of the Lotus Notes Adapter | Adapter Services | Using the Adapter Service Template
 
Using the Adapter Service Template
You use Designer to configure an adapter service. For more information, see the webMethods Service Development Help for your release.
Configuring a new adapter service from the adapter service template is straightforward. Using Designer, you assign the service a default adapter connection, select the adapter service template, select the class and method to execute on the Domino Server, and specify how the adapter is to generate the input and output signatures.
Note:
There can be more than one method in the class with the same name. The adapter distinguishes them by appending the method signatures to the method name.
Configure at least one adapter service that executes the createSession method in the lotus.domino.Session class, which creates the connection object for the Domino Server. Then configure additional adapter services as needed to perform specific Domino operations. There is no requirement to associate the same connection to adapter services after a session object has been created.
After you configure an adapter service, you can incorporate it into a flow service or Java service to interact with a Lotus Notes system. For example, you can create a flow service that creates an e-mail and sends it using the Lotus Notes system.
Important:
All services must first invoke an adapter service that specifies the lotus.domino.Session class and createSession method to create the connection object for the Domino Server. For information about creating this adapter service, see Example Lotus Notes Operation.
Lotus Notes Adapter provides the following adapter service template:
Adapter Service Template
Description
Domino Operation
Provides classes and methods for Domino objects.
The input and output signatures for the adapter service are shown in the service template, and are generated as Java data primitives when you create the service. However, you can force the signatures to be generated using Strings by specifying the Primitive option.
When you run the adapter service, specify the correct, valid inputs. For information about the inputs, see the Lotus Domino Toolkit for Java/CORBA documentation. Note that in the toolkit documentation, "" is referred to as "null". Lotus Notes Adapter converts nulls to "".