WSDL definitions can be imported using the (mqsicreatemsgdefsfromwsdl) command.
Before you start:
Before you attempt this task, read the following information:
The WSDL command line importer allows you to create a new namespace enabled message set into which the message definition files will be placed. It also allows you to add message definition files to an existing message set that is namespace enabled.
If you are adding new message definition files to an existing message set, the message set must have an XML physical format layer. To improve web services interoperability, avoid unnecessary customization of the XML physical format layer for messages that participate in web services processes.
When you create a new message set from the command line, only the logical information is created by default. If you require physical formats in the message set you have two options:
Before starting the import, the mqsicreatemsgdefsfromwsdl command copies the WSDL files that it needs into the workspace. These are the top level WSDL file and any further files that might be imported by it. The files are copied under the specified message set in a folder called importFiles and are not removed after the import finishes. This allows you to update them, or run validation on them, in the workbench at a later time.
To import WSDL definitions using the command line:
If an error occurs during the import of a WSDL definition, carefully check any errors that are reported. By default, all errors are written both to the screen and to the file described above. To gather additional information about the import, specify the -v (Verbose) command line parameter. This parameter displays more detailed information as the import proceeds.