idl2wsdl — generates a WSDL document from a CORBA IDL file
idl2wsdl
[-I idl-include-dir
...] [-o output-dir
] [-a corba-address
] [-b] [-f corba-address-file
] [-n schema-import-file
] [-s idl-sequence-type
] [-w target-namespace
] [-x schema-namespace
] [-t corba-typemap-namespace
] [-L logical-wsdl-filename
] [-P physical-wsdl-filename
] [-T schema-filename
] [-qualified] [-e xml-encoding-type
] [-mnsnamespaceMapping
] [-ow wsdloutput-file
] [exexcludedModules
] [-pf] [-v] [[-verbose] | [-quiet]] idl
idl2wsdl supports several options that control the generation of a WSDL file from an IDL file. The default behavior of the tool is to create WSDL file that uses wrapped doc/literal style messages. Wrapped doc/literal style messages have a single part, defined using an element, that wraps all of the elements in the message.
The command has the following required arguments:
Option | Interpretation |
---|---|
idl
|
Specifies the name of the IDL file. |
The command has the following optional arguments:
Option | Interpretation |
---|---|
-I |
Specify a directory to be included in the search path for the IDL preprocessor. You can use this flag multiple times. |
-o output-dir | Specifies the directory into which the WSDL file is written. |
-a corba-address | Specifies an absolute address through which the object reference may be accessed. The address may be a relative or absolute path to a file, or a corbaname URL. |
-b | Specifies that bounded strings are to be treated as unbounded. This eliminates the generation of the special types for the bounded string. |
-f corba-address-file | Specifies a file containing a string representation of an object reference. The object reference is placed in the corba:address element in the port definition of the generated service. The file must exist when you run the IDL compiler. |
-n schema-import-file | Specifies that a schema file is to be included in the generated contract by an import statement. This option cannot be used with the -T option. |
-s idl-sequence-type | Specifies the XML Schema type used to map the IDL sequence<octet> type. Valid values are base64Binary and hexBinary . The default is base64Binary . |
-w target-namespace | Specifies the namespace to use for the WSDL document's target namespace. |
-x schema-namespace | Specifies the namespace to use for the generated XML Schema's target namespace. |
-t corba-typemap-namespace | Specifies the namespace to use for the CORBA type map's target namespace. |
-L logical-wsdl-filename | Specifies that the logical portion of the generated WSDL specification into is written to logical-wsdl-filename . The logical WSDL is then imported into the default generated file. |
-P physical-wsdl-filename | Specifies that the physical portion of the generated WSDL specification into is written to physical-wsdl-filename . The physical WSDL is then imported into the default generated file. |
-T schema-filename | Specifies that the schema types are to be generated into a separate file. The schema file is included in the generated contract using an import statement. This option cannot be used with the -n option. |
-qualified | Generates fully qualified WSDL. |
-e | Specifies the value for the generated WSDL document’s xml encoding attribute. The default is UTF-8. |
-mns | Specifies a mapping between IDL modules and XML namespaces. |
-ow | Specifies the name of the generated WSDL file. |
-ex | Specifies one or more IDL modules to exclude when generating the WSDL file. |
-pf | Specifies that polymorphic factory support is enabled. |
-h | Displays the tool's usage statement. |
-v | Displays the version number for the tool. |
-verbose | Displays comments during the code generation process. |
-quiet | Suppresses comments during the code generation process. |