This topic contains sections marked as revised for this release

WebSphere Message Brokers
File: ad20808_
Writer: Terry Cowling

Task topic

This build: July 31, 2007 21:26:12

Creating a message set

This task topic describes how to create a new message set and message set project using the New Message Set wizard.

The New Message Set wizard also creates a new message set project.

Note: You can also use a Quick Start wizard to create a message set, a message set project and other resource files that you need to create a new application.
Start of changeThe New Message Set wizard supports the following options:
  • XML documents (general)
  • Web services (SOAP)
  • Binary data (for example, C or COBOL structures)
  • Text data (for example, CSV, SWIFT, or HL7)
  • MIME documents other than Web services
  • Data for WebSphere Adapters
You can select your required option, either from the read-only drop down list, or by selecting the appropriate check box. If you select an option using the drop down list, the corresponding check box is greyed out and you cannot select it.End of change

Start of changeNote that you can later add a custom domain using the message set editor.End of change

Start of changeThe message domain and the wire format created is inferred from the selection you make. The mapping between the selection, the domain, and the wire format created is described in the following table:
Selection Inferred domain Wire format created
XML documents (general) XMLNSC XML
Web services (SOAP) SOAP and XLMNSC XML
Binary data (for example, C or COBOL structures) MRM CWF
Text data (for example, CSV, SWIFT, or HL7) MRM TDS
MIME documents other than Web services MIME None
Data for WebSphere Adapters DataObject None
End of change
Start of changeIf you click Finish on the second page of the New Message Set wizard, the message set that is created has the following default property values:
Property Default value
Message Domain XML documents (general)
Wire Format XML Wire Format (XML1)
Name space support Enabled
End of change

To create a new message set:

  1. Switch to the Broker Application Development perspective.
  2. Open the New Message Set wizard. To do this, right-click anywhere in the Broker Development view then click New> Message Set on the pop-up menu.
  3. Type the Message set name for the message set that you are creating. The name that you type is also displayed in the Message set project name field.
  4. Optional: You can choose a different message set project name; to do this, type this name into the Message set project name field.
  5. Optional: You can specify a directory in which you want to store the project contents. If you do not specify a directory, the default workspace is used. To specify a directory, first clear the Use default check box and then either type into the Directory field the location of the directory, or click Browse to see a list of the folders that you can choose from for the location of the directory.
  6. Optional: If you want to create a new message set whose definition is based on existing message set, click Message Set in the Copy message set contents from another message set pane and choose from the list of message set definitions that exist; then click Finish. The new message set (and the message set project that contains it) is created immediately and the New Message Set wizard automatically closes.
  7. Optional: . If you want to create a message set whose definition is not based on an existing message set, click Next>. You are presented with the next pane which allows you to choose the type of message data that you want to process.
  8. Start of changeSelect an option, or options from the drop down menu or list and click Next>, or click Finish on this page, to use a default domain of XMLNSC . If you select one or more options and select Next> an optional third page appears that lists the:
    • Selected message domains
    • Wire formats created
    • Schemas to be added
    Click Finish on this page to create the message set, and the message set project that contains it. The New Message Set wizard closes.End of change
After the New Message Set wizard finishes, the message set editor is opened.
You can now create some message definitions in the new message set. You can either create new message definitions from scratch, or create them based on existing artifacts such as WSDL, XSD, DTD, C, or COBOL files. Use the Message Definition File wizard and the Message Definition File From wizard to help you with this.
Related concepts
The message model
Message set projects
Message sets overview
Namespaces in the message model
Quick Start wizards overview
Related tasks
Working with a message set project
Deleting a message set project
Working with a message set
Deleting a message set
Generating information from message sets
Related reference
Message set editor
Message set properties
Custom Wire Format message set properties
XML Wire Format message set properties
TDS Format message set properties
TDS Mnemonics
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:26:12

ad20808_ This topic's URL is: