Document.ConvertToWSDL20
Method: ConvertToWSDL20 (sFilePath as String, bShowDialogs as Boolean)
Parameters
sFilePath
This specifies the file name of the converted WSDL. In case the source WSDL includes files which also must be converted, then only the directory part of the given path is used and the file names are generated automatically.
bShowDialogs
Defines whether file/folder selection dialogs are shown.
Description
Converts the WSDL 1.1 document to a WSDL 2.0 file. It will also convert any referenced WSDL files that are referenced from within this document. Note that this functionality is limited to WSDL View only. See Document.CurrentViewMode. and SPYViewModes.
Errors
1400 | The document object is no longer valid. | |
1407 | Invalid parameters have been passed or an empty file name has been specified as output target. | |
1417 | The document is not opened in WSDL view, maybe it is not an '.wsdl' file. | |
1421 | Feature is not available in this edition. | |
1433 | WSDL 1.1 to WSDL 2.0 conversion failed. |