452 WebSphere Business Integration Adapters
25.1 Importing front-end business objects
This section explains how to import the front-end business object definitions.
These business objects are the most complex when you look at them, so they
are a good place to start.
25.1.1 Defining the Message Set
To define the Message Set:
1. Open the Message Broker Toolkit using the desktop shortcut.
2. Select the Broker Application Development Perspective.
3. Select File New Message Set Project. The New Message Set Project
window displays, as shown in Figure 25-1.
4. Enter a Project Name of WebTenant.
5. Select Next.
Figure 25-1 Message Set name
6. Enter WebTenant as the Message Set Name. This name matches the
supported business object information in the connector configuration.
Chapter 25. Deploying business objects to the Message Broker 453
7. Select Use namespaces.
8. Select Next. The window in Figure 25-2 displays.
9. Select XML Wire Format Name.
10.Enter CwXML as the wire format name, which matches the connector
configuration property.
Figure 25-2 Wire format
11.Select Finish.
12.Open the new message set — the .mset file.
13.Select the CwXML physical properties and ensure that the following
properties are set as shown in Figure 25-3 on page 454:
Deselect Suppress XML Declaration.
–Select Suppress DOCTYPE.
–Remove mrm as the Root Tag Name.
14.Save the Message Set by pressing Ctrl+S.
454 WebSphere Business Integration Adapters
Figure 25-3 Format requirements
15.Save the Message Set definition and close the .mset file.
16.Close the Message Broker toolkit.
25.1.2 Importing schema definitions and creating message
definitions
You can now import the schema files from the business object repository and
create message definitions from these schemas, by following these steps:
1. Open the System Manager to set our preferences for the Importer.
2. Select Window Preferences.
3. Select System Manager Preferences Broker Preferences.
4. Set the preferences as shown in Figure 25-4 on page 455.
Message Broker importer path
C:\IBM\WBIMB501\eclipse\mqsicreatemsgdefs.exe
Chapter 25. Deploying business objects to the Message Broker 455
Message Broker workspace directory
C:\IBM\WBIMB501\eclipse\workspace
Figure 25-4 Set preferences
5. Click Apply.
The completed artifacts can only be deployed to an Integration Broker from
the appropriate type of User Project. You now need to create a User Project
for deployment, as shown in Figure 25-5.
Figure 25-5 User Projects
6. From the System Manager, expand the User Projects folder.
456 WebSphere Business Integration Adapters
Figure 25-6 Message Broker Projects
7. Right-click Message Broker Projects and select New Message Broker
project (Figure 25-7).
Figure 25-7 Populate project

Get WebSphere Business Integration Adapters: An Adapter Development and WebSphere Business Integration Solution now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.