Chapter 25. Deploying business objects to the Message Broker 457
8. Name the new project. We called ours DeployToRedbroker.
9. Click RedMaintenance ICL to add pointers to the objects in this ICL.
Alternatively, you can select only the RM objects and the renamed Web
objects from the RedMaintenance ICL.
10.Click Finish.
11.Right-click the new User Project. In our case, it is DeployToRedbroker.
12.Select Deploy to Message Broker workspace (Figure 25-8).
Figure 25-8 Deploy
13.Select all of the business objects, the renamed Web_objects, for the front-end
application (Figure 25-9 on page 458).
Important: You must not have the Message Broker Workspace open while
performing the deployment.
458 WebSphere Business Integration Adapters
Figure 25-9 Select business objects
14.Click Next.
15.Enter the parameters for the import (see Figure 25-10 on page 459).
Message set name is WebTenant.
–Select Deploy in verbose mode, for logging.
–Select long namespace support.
Chapter 25. Deploying business objects to the Message Broker 459
Figure 25-10 Enter parameters
16.Click Finish to start the import.
17.Check the log for successful completion. The log is usually located in the bin
folder of the WebSphere Business Integration Adapters installation directory
and is named mqsicreatemsgdefs.report.txt. Example 25-1 on page 460
shows a sample of a successful import.
Important: When the import has completed, the DOS window simply
closes without a pop-up. This is usually OK. Cancel out of the GUI utility
and check the log, as in step 17.
460 WebSphere Business Integration Adapters
Example 25-1 Import report
Parameter -p (message set project) is "\WebTenant\WebTenant"
Parameter -d (directory of source files) is
"C:\IBM\WebSphereAdapters\Tools\WSWB203\Workspace\1106952327016"
Parameter -opt (options file) is "C:\DOCUME~1\db2admin\LOCALS~1\Temp\Broker40670tmp"
Importing file \WebTenant\importFiles\Web_newMaintenance.xsd
Creating message "Web_newMaintenance" from global element "Web_newMaintenance".
Changing schema location for import statement
"../webnewmaintenancenewmaintenance/Web_newMaintenance_newMaintenance.mxsd".
File "\WebTenant\importFiles\Web_newMaintenance.xsd" imported successfully.
Elapsed time processing this message definition file: 12.031 seconds
Number of warnings for this message definition file: 0
Importing file \WebTenant\importFiles\Web_newMaintenance_newMaintenance.xsd
Creating message "Web_newMaintenance_newMaintenance" from global element
"Web_newMaintenance_newMaintenance".
File "\WebTenant\importFiles\Web_newMaintenance_newMaintenance.xsd" imported successfully.
Elapsed time processing this message definition file: 1.75 seconds
Number of warnings for this message definition file: 0
Importing file \WebTenant\importFiles\Web_tenant.xsd
Creating message "Web_tenant" from global element "Web_tenant".
Changing schema location for import statement "../webtenanttenant/Web_tenant_tenant.mxsd".
File "\WebTenant\importFiles\Web_tenant.xsd" imported successfully.
Elapsed time processing this message definition file: 2.985 seconds
Number of warnings for this message definition file: 0
Importing file \WebTenant\importFiles\Web_tenant_apartment.xsd
Creating message "Web_tenant_apartment" from global element "Web_tenant_apartment".
Changing schema location for import statement
"../webtenantmaintenances/Web_tenant_maintenances.mxsd".
File "\WebTenant\importFiles\Web_tenant_apartment.xsd" imported successfully.
Elapsed time processing this message definition file: 2.141 seconds
Number of warnings for this message definition file: 0
Chapter 25. Deploying business objects to the Message Broker 461
Importing file \WebTenant\importFiles\Web_tenant_apartments.xsd
Creating message "Web_tenant_apartments" from global element "Web_tenant_apartments".
Changing schema location for import statement
"../webtenantapartment/Web_tenant_apartment.mxsd".
File "\WebTenant\importFiles\Web_tenant_apartments.xsd" imported successfully.
Elapsed time processing this message definition file: 1.374 seconds
Number of warnings for this message definition file: 0
Importing file \WebTenant\importFiles\Web_tenant_maintenance.xsd
Creating message "Web_tenant_maintenance" from global element "Web_tenant_maintenance".
File "\WebTenant\importFiles\Web_tenant_maintenance.xsd" imported successfully.
Elapsed time processing this message definition file: 0.75 seconds
Number of warnings for this message definition file: 0
Importing file \WebTenant\importFiles\Web_tenant_maintenances.xsd
Creating message "Web_tenant_maintenances" from global element "Web_tenant_maintenances".
Changing schema location for import statement
"../webtenantmaintenance/Web_tenant_maintenance.mxsd".
File "\WebTenant\importFiles\Web_tenant_maintenances.xsd" imported successfully.
Elapsed time processing this message definition file: 0.907 seconds
Number of warnings for this message definition file: 0
Importing file \WebTenant\importFiles\Web_tenant_tenant.xsd
Creating message "Web_tenant_tenant" from global element "Web_tenant_tenant".
Changing schema location for import statement
"../webtenantapartments/Web_tenant_apartments.mxsd".
File "\WebTenant\importFiles\Web_tenant_tenant.xsd" imported successfully.
Elapsed time processing this message definition file: 2.969 seconds
Number of warnings for this message definition file: 0
Number of files imported: 8

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.