Creating an application based on WSDL or XSD files

This task topic describes how to create a new application that is based on existing WSDL or XSD files.

  1. Switch to the Broker Application Development perspective.
  2. Start of changeOpen the New Message Broker Application wizard.
    1. Click File> New> Project, or right-click anywhere in the Broker Development view and then click New> Project. The New Project window opens.
    2. Double-click Message Brokers. A list of wizards is displayed.
    3. Select Start from WSDL and/or XSD files and then click Next.
    The first panel of the New Message Broker Application wizard is shown.End of change
  3. Set up the basic resources that are required to develop a Message Broker application that uses existing WSDL and XSD files as a starting point.
    • Type the name of your new application in the Message flow project name field.

      The name that you type is also displayed in the Message set project name and Message set name fields, but with 'MessageSet' appended.

      Similarly, the name that you type is also displayed in the Message flow name field (with 'Flow' appended), and in the Working set name field.

    • Click Next.
      Note: You can change any of the names that are displayed by typing into the appropriate field the name that you want. You can also clear either of the check boxes that relate to the creation of a new message flow or a new working set; if you do this, you cannot enter text into the associated name field.
  4. Select the WSDL or XSD files that you want to use as the initial contents of the message set.
    • If you want to choose WSDL or XSD files that exist in your workspace, click Use resources from the workspace.

      Start of changeYou are presented with a list of resources from which you can choose. Resources are filtered to only show artifacts in the active working set.End of change

    • If you want to choose WSDL or XSD files that exist outside your workspace, click Use external resources and type a directory name in the From directory field. Click Browse ....

      You are presented with a list of the items in that directory. Make your choice from this list.

    In both cases, a two-pane view is displayed. On the left side, containers (for example, projects, folders, and message sets) are displayed. On the right side, the contents of these containers are shown. Depending on which button was clicked, either a workspace view or a file system view of the resources is displayed.

    If the only use of the XSD file is from the WSDL bindings, you do not need to select an XSD file that a selected WSDL files depends on.

    You can use this option as follows:

  5. Click Next. If you selected one or more WSDL files, the WSDL files that you selected are shown in a check box tree, with the acceptable bindings for each file shown as children.
  6. (Optional) Select one or more bindings for each of the WSDL files that you selected. If you do not select at least one binding for each WSDL file, an error message is displayed and the Next and Finish buttons are disabled.
  7. Click Next. If you selected one or more XSD files, the XSD files that you selected are displayed in the next pane, with the global elements for each file shown as children.
  8. (Optional) Select the global elements from which you want to create message definitions. Click Next.
  9. (Optional) If any errors or warnings are listed, either click Finish, if you want the import to be attempted regardless of the errors or warnings listed, or click Cancel to terminate the import. You can then correct any errors and attempt the import again.
  10. Click Finish.
After a WSDL file has been imported into a message set, you can drag and drop the WSDL file onto the message flow editor.
Related concepts
Generate XML Schema
Generate WSDL
XML Schema and the message model
Related reference
Broker Application Development perspective
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:21:25

ad20809_