Index > Design Documents > idltowsdl |
IDLToWSDLDevPlanSummary of Requirements Being AddressedA tool that can take an idl file and generate a wsdl with a corba binding. Summary of Proposed SolutionThe 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 planidltowsdl toolAccording to the CORBA 2.6 spec:
For example: In other words, we only need to worry about structures or unions that contain incomplete sequences. Example 1: Example 2: Example 3: Example 2 should map to the following: XmlSchema CorbaTypeMap wsdltoidlThe 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. |
Bookmark this on Delicious Digg this | Privacy Policy - Copyright © 2003-2009, The Apache Software Foundation, Licensed under ASL 2.0. |