Message Sets: Importing WSDL definitions from the command line
WSDL definitions can be imported using the (mqsicreatemsgdefsfromwsdl) command.
Before you begin
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:
- Create a new message set based on an existing message set. The physical format information from the base message set is also created in the new message set.
- Use the IBM® Integration Toolkit to create or open the message set and directly add the physical formats to the message set prior to importing the WSDL definitions into it.
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 IBM Integration Toolkit at a later time.
About this task
To import WSDL definitions using the command line:
Procedure
Results
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.