The mqsicreatemsgdefsfromwsdl command can be used to import a single WSDL definition. If the WSDL is split into multiple files then the file specified must contain the WSDL service definition or binding definition. The WS-I validator can be run automatically on the imported WSDL under the control of the -vfa flag.
The importer attempts to resolve all relative import locations relative to the specified directory. The importer will also attempt to resolve any absolute import locations which it encounters, but note that their use is not recommended. Once an absolute location has been specified, any further imports in the hierarchy must also use absolute locations.
The workspace location is also the default location for projects. Relative paths are interpreted as being relative to the directory from which the command was started.
Where a path is required to fully identify the filename, the path should be specified using the -d parameter.
In the following example, the WSDL document service.wsdl which exists in the directory wsdlfiles, is to be imported into the project myProject and overwrite the project if it exists.
mqsicreatemsgdefsfromwsdl -p myProject -d .\wsdlfiles -f service.wsdl -rmd -data .\wsdlfilewspc
In the following example, the WSDL document service.wsdl which exists in the directory wsdlfiles, is to be imported to create a new message set project (newProj) based on an existing project (existingProj).
mqsicreatemsgdefsfromwsdl -p newProj -base existingProj -d .\wsdlfiles -f service.wsdl -data .\wsdlfilewspc
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
an07355_ |