idl to xml (through the wsdl file)

[Total: 1    Average: 4/5]

idl (interface description language) is the files that are defined the interface in corba. Often these files are organized with hierarchy libraries, so parsing the code and exporting this definition in a xml format can be really complex. However some tools are already available on internet to compile the idl and generate the file wsdl. 

from Wikipedia:
The Web Services Description Language (WSDL /ˈwɪz dəl/) is an XML-based interface definition language that is used for describing the functionality offered by a web service. The acronym is also used for any specific WSDL description of a web service (also referred to as a WSDL file), which provides a machine-readable description of how the service can be called, what parameters it expects, and what data structures it returns. Therefore, its purpose is roughly similar to that of a method signature in a programming language.

Here the link that contains the link to all the code to be installed in a PC with linux (http://search.cpan.org/~perrad/CORBA-XMLSchemas-2.62/)

Wsdl file is a xml file without hierarchy where all needed information are located in one only file
after the creation of wsdl file, the python code attached below can be executed to parse the wsdl and create another xml with the requested output.

Wsdltoxml.py