|Index > Design Documents > idltowsdl|
Summary of Requirements Being Addressed
A tool that can take an idl file and generate a wsdl with a corba binding.
Summary of Proposed Solution
The proposed solution is to use antlr with the idl grammar file to implement a visitor pattern based generation of the corresponsing wsdl file.
The mappings for the idl to wsdl types is defined here: IdlToWsdlTypeMapping.
Following external projects have been used to implement this tool.
jwsdl: To create a wsdl model in memory from the idl.
XMLSchema: To create the xml schema types from the idl types.
celtix: Framework for creating the tool like parsing of the tool options, helper classes to register extensions with the jwsdl model, etc...
For each set of tasks we need to setup and write unit tests and system tests. Make sure it conforms to checkstyle. We need to conform to the coding standard used in Yoko.
Stories to be done for type support
List of different types that need to be supported
Recursive types support development plan
According to the CORBA 2.6 spec:
In other words, we only need to worry about structures or unions that contain incomplete sequences.
Example 2 should map to the following:
The wsdltoidl tool should be able to recognise and translate the recursive types that originated from legal IDL recursive types.
The set of recursive XmlSchema types that can be generated by legal IDL recursive types is contained within the set of recursive XmlSchema types. The wsdltoidl should generated a warning when parsing a recursive XmlSchema type that cannot be mapped into a recursive IDL type.