Generating a Web Service Definition from a message set

Before you start:

You must already have completed the following tasks:

Before you begin this task you should note the following points:

To generate a Web Service Definition:

  1. Switch to the Broker Application Development perspective.
  2. In the Broker Development view, right-click the message definition file from which you want to generate a web service definition and select Generate > WSDL Definition. Alternatively, open the wizard by right-clicking anywhere in the Broker Development view then clicking Generate > WSDL Definition on the pop-up menu. This will start the Generate WSDL wizard.
  3. Step through the wizard filling in the details as required.
    Note:
    • A number of the panels and options are subject to settings you make within the wizard and it is possible that they will not always appear.
    • Some fields in the wizard could be greyed out. This is likely to be due to the field having a mandatory setting, or is not used due to other settings that have already been made.

On completion of the Generate WSDL wizard, you will have generated a WSDL definition. The file extension for WSDL files is *.wsdl, and for any imported schema files in multi-file mode (where the WSDL definition is split over a number of files) is *.xsd.

This following is an example of the expected WSDL generated for a JMS binding:

<wsdl:service name='HTTP'>
  <wsdl:port binding='tns:HTTPSoapBinding' name='HTTP'>
    <wsdlsoap:address
       location='jms:/queue?destination=jms/MyQueue&amp;
                 connectionFactory=jms/MyCF&amp;
                 priority=5&amp;
                 targetService=GetQuote'/>
  </wsdl:port>
</wsdl:service>
Note: The various parts of the location string are broken over separate lines for clarity, but are actually generated as a continuous string without additional white space.
Related concepts
The message model
Generate model representations
Related tasks
Working with a message set
Working with a message definition file
Working with message model objects
Working with a message category file
Related reference
WSDL generation
Generate WSDL Definition wizard