IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Message Sets: WSDL generation

Files and other objects are created by the WSDL Generator.

This topic is relevant only if you are using a message set to contain your message models. If you are using an application or library, you can create a new WSDL file by using the WSDL editor.

Generated Files

The default file and definition element names are shown in the following table. Message Set is the supplied message set name and <Definition Name> is the supplied Definition Name solicited by the wizard.

File File Name File Extension Value of name attribute on WSDL <definitions> element
Service File (single-file format) Message_Set wsdl <Definition Name>
Service File (multi-file format) Message_SetService wsdl <Definition Name>Service
Binding File Message_SetBinding wsdl <Definition Name>Binding
Interface File Message_Set wsdl <Definition Name>

If 'Deployable WSDL' is generated, no additional XML schema (xsd) files are generated, and the WSDL refers directly to the broker message definition (mxsd) files; otherwise, separate XML schema (xsd) files are generated, unless you selected 'inline schema'.

Report File

The WSDL generator appends the result of the generation operation to a report file, listing all errors which occurred. The file name is:

Message_Set.wsdlgen.report.txt

WSDL Content

The following tables show the element or attribute values to be set in the generated WSDL. The elements are described top-down as they appear in a conventionally ordered WSDL document. The <schema> section of the WSDL definition is not shown, because this section corresponds directly to the broker message definitions.

Element names are from the WSDL 1.1 namespace except where prefixed by soap: for the WSDL SOAP namespace. Operation elements occur in both the binding and portType sections, so operation is qualified as necessary; for example, portType / operation.

The values shown in the following table apply to the WSDL definition as a whole.

Element Attribute Value
definitions xmlns Assign namespace prefixes.
definitions targetNamespace The WSDL Namespace solicited by the wizard, defaulting to http://tempuri.org/<Message Set>.
message name <operation>_<role> where <operation> is the operation name and <role> is in, out, or fault
part name The name of the broker message. If Style is set to rpc, the body parts are defined using the type attribute. If not, the body parts are defined using the element attribute.
portType name Message_SetPortType
binding name
  • Message_SetSOAP_HTTP_ Binding”
  • Message_SetSOAP_JMS_ Binding”
soap:binding style From the value of Style set in the wizard.

The following values apply to each individual WSDL operation:

Element Attribute Value
operation name The name of the operation specified in the wizard.
soap:operation style From the value of Style set in the wizard.
input, output, fault name <operation>_<role>, where <operation> is the operation name, and <role> is Input, Output, or Fault.
soap:body namespace
  • If Style has been set to rpc, it is the namespace of the corresponding broker message.
  • If Style has been set to document the attribute is not generated.
soap:header, soap:fault, soap:body use This element is set to literal.

Message Set

The message set provides the basis for many important broker features, including mapping support and ESQL code completion at development time, and validation at run time.

Therefore, the WSDL that you use in the broker at development time (for example, when configuring SOAP nodes) is integrated with the message set, and references the broker message definitions (mxsd) rather than ordinary Schema (xsd) files. This is referred to as deployable WSDL and is displayed under the category Deployable WSDL in the IBM® Integration Toolkit.

Deployable WSDL is generated when you specify your Message Set Folder (the immediate child of your Message Set Project) as the destination directory for your WSDL.

Otherwise, regular WSDL is generated, along with separate XML schema (xsd) files if these were requested. Regular WSDL cannot be used to configure SOAP nodes, but is suitable for consumption by external applications such as .NET.

Assuming that you are generating deployable WSDL for use in a message flow, the flow typically must be able to parse and validate the runtime SOAP messages described by that WSDL. The WSDL generator, therefore, adds additional definitions to your message set:
  • For rpc-style WSDL, additional definitions for the WSDL operations themselves are added to your message set
  • For the version of the SOAP Envelope used by the WSDL an mxsd file is added – this will be soapenv11.mxsd or soapenv12.mxsd.
  • For use by ESQL Content assist and the Mapping editor primarily, a definition of the SOAP_Domain_Msg tree.

ad15761_.htm | Last updated Friday, 21 July 2017