Integration Module for Enterprise User's Guide

CHAPTER 2

Getting Started

 
Top of page

Enabling the Integration Module for Enterprise - Custom Edition Feature

The Integration Module for Enterprise - Custom Edition feature is enabled Manager by default. If for any reason the feature has been disabled, you can enable it by editing the Integration Manager configuration file, xconfig.xml.

Procedure To enable the Integration Manager Integration Module for Enterprise - Custom Edition feature:

  1. If you haven't already done so, install Integration Manager (see the Installing Integration Manager manual).
  2. If Integration Manager is running, exit from Integration Manager before performing the following steps.
  3. Locate your xconfig.xml file in the /Composer/Designer/bin directory and open the file in a text editor.
  4. Locate the element named "IDM2_WIZARD ENABLED".
  5. Change the value of this element to TRUE (IDM2_WIZARD ENABLED="TRUE").
  6. Save your changes.

 
Top of page

Creating an Integration Module for Enterprise - Custom Edition Project

Procedure To create a Integration Module for Enterprise - Custom Edition Project:

  1. Start Integration Manager.
  2. Select New Project from the File menu. The New Project dialog box is displayed:
  3. Select the IDM2 Driver Project option (located in the lower left of the dialog box). This is the option that enables the Integration Module for Enterprise - Custom Edition feature.
  4. Type in a Project Name. This is a required field. Integration Manager adds the project name extension (.spf).
  5. Select Browse to locate the directory in which you want your project to reside. The Project Location dialog box is displayed.
    NOTE:  If you have a project open, the Project Location dialog box shows the directory where the open project resides.
  6. Navigate to the directory in which you want your project to reside. If necessary, create a new directory for the project.
    NOTE:   The File Name in the Project Location dialog defaults to the project name you designated in Step 4.
  7. Click OK. The New Project dialog appears with the Project Name and Project Location displayed.
  8. Enter a deployment context string in the Deployment Context in the project JAR field. The string should contain labels (no spaces) separated by periods, as in "com.server.apps."
    NOTE:   The context string should not contain Java-language keywords, such as try, catch, finally, int, or for. For a complete list of Java keywords, see the "Reserved Words" appendix in the Novell Integration Manager User's Guide.
  9. Click OK. The Integration Manager window appears with the name of the project that you just created in the title bar. You can view the template artifacts that are included in the project by using the Project tab in the Navigator Frame. For example, to view the Web services that are included in the project, scroll down to the Services section of the Navigator Frame, then double-click on Web Services:
    The next step is to create a server profile for Identity Manager, which you will need when you deploy your project.

 
Top of page

Creating a Server Profile

Procedure To create a server profile:

  1. Select Profiles from the Tools menu. The Profiles dialog box is displayed:
  2. Select New. The New Server Profile dialog box is displayed:
  3. Type a name for the profile in the Profile Name field.
  4. Select Novell IDM2 from the Server Type list.
  5. Use the browse button in the Deployment Path field to select the eDirectory "lib" directory (on Windows this is \NDS\lib; on Linux or UNIX this is /usr/lib/dirxml/classes).
  6. Use the Target OS list to select the operating system to which you will deploy your driver.
  7. Select OK. Integration Manager returns you to the Profiles dialog box.
  8. Select Close.

 
Top of page

What is Included in the Integration Module for Enterprise - Custom Edition

The Integration Module for Enterprise - Custom Edition includes a set of xObjects that need to be part of any driver development project. These xObjects include:

The following sections describe these xObjects.

 
Top of section

Web Services

The following table lists the Web service definitions supplied with the Integration Module for Enterprise - Custom Edition. These definitions are intended to serve as placeholders or stubs; you must customize them to work in your environment. The names of the Web services are very important (because they are used by the ComposerDriverShim.jar to call the services) and must not be changed.
Web Service
Description
Initialize
Sets up connection information used by the other services. Declares and sets session variables. Checks for loopback condition and creates a session variable to hold status of loopback condition check (true, false). NOTE:   Although the DirXML engine prevents loopbacks, it's a best practice for efficient operation to check for and prevent loopbacks in the driver.
InitializePublisher
Initializes the Publisher channel. Checks session variable for the type of input (for example, "memory", "file") and performs appropriate setup tasks. Creates session variables for publisher options.
InitializeSubscriber
Initializes the Subscriber channel. Creates session variables for subscriber options.
Execute
Checks input for type of command (add, delete, modify, query), and performs the appropriate actions.
GetEvents
Used by the publisher to get events from a vector session variable.
GetSchema
Called by the ComposerDriverShim.jar. Returns the schema from the external application.
Shutdown
Removes variables created for the driver and stops services.

 
Top of section

XML Map Components

XML Map components manipulate and transfer data from one XML document to another. The XML Maps are used by the Web services.
XML Map
Description
AddUser
Called by Execute. Uses an XML Interchange action to read data from an XML file into the DOM. Performs any necessary transformations, then uses another XML Interchange action to write the data to a file. In practice, the functionality in the component would probably be placed in an application-specific component (for example, a Siebel component). This component provides an example action model for adding a user to another system.
Check Stored events
Called by GetEvents. Checks for loopback condition.
Clean Stored events
Called by GetEvents. Used to clean up stored events to remove loopback condition.
DeleteUser
Called by Execute. Used to delete a user. Provides an example of using a Send Mail action to provide notification of the attempted deletion.
Map Connection Values
Called by Execute, Initialize, and Initialize Publisher. Used to map connection values to a Project Variable.
Modify
Called by Execute. Provides a placeholder for code to handle a Modify event. On the subscriber channel, this is a request to the external application to modify an entry. On the publisher channel, this is a notification to Identity Manager that an item in the external application has been modified.
Query
Called by Execute. Provides a placeholder for code to handle a Query event.
Store Events
Called by Execute. Used to store events.

 
Top of section

XML Resources

The Integration Module for Enterprise - Custom Edition includes the following XML Resources. The XML Resources are provided as samples; they are not used in the project except where noted in the table.
XML Resource
Where Used
AddressSchema
 
AddReply
 
Address
 
AddSample
 
AddUser
 
Association
Store Events
ClassUser
AddUser, GetSchema
Connection
 
DeleteUser
 
FullSchema
 
IdentifyReply
Execute
ndsModify3
 
publish
GetEvents
Query
 
reply
AddUser, DeleteUser, Modify, Query, Execute, Initialize, InitializePublisher, InitializeSubscriber, Shutdown
SampleDelete
 
SampleInit
 
SampleModify
 
SampleOutputfromQuery
 
SampleQuery
 
UserSchema
GetSchema

 
Top of section

XML Templates

XML templates contain sample documents, schemas, and stylesheets to assist you in designing and testing components. The following table lists the XML Templates included in the Integration Module for Enterprise - Custom Edition.
XML Template
Where Used
AddUser
AddUser (XML Map), Check Stored events, Clean Stored events, Store Events, Execute
Connection
Initialize, InitializePublisher, InitializeSubscriber
DeleteUser
DeleteUser (XML Map)
IdentQuery
 
ndsModify
Modify
ndsModifyOut
 
Query
 
Reply
 
Sampleschema
 
Schema
GetSchema
UserSchema
 

 
Top of section

Deployment xObject

The Integration Module for Enterprise - Custom Edition includes a deployment xObject named "Demo". The deployment xObject contains metadata about your deployment (information about which service triggers to create and which resources to deploy). You can view the deployment xObject by scrolling to the bottom of the Navigator frame and clicking on Deployment. The names of deployment xObjects that have been defined in the project are displayed below the Navigator frame. Right-click on "Demo" and select Properties to view the properties of the Demo deployment xObject.

 
Top of page

What You Must Supply

Copyright © 2004 Novell, Inc. All rights reserved. Copyright © 1997, 1998, 1999, 2000, 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.  more ...