Open AzeemMuzammil opened 1 month ago
Make xsd to record generation as a separate tool as part of the effort.
This tool's development will be carried out by a separate developer in the future, In the future version of this tool, we will decide on how to separate the xsd to type generator and other things.
Description
A tool is to be developed that processes WSDL files and converts them into Ballerina clients and the corresponding Ballerina types. This tool will be designed as a CLI tool.
Objective
The main objective of this tool is the streamlined generation of Ballerina code from WSDL files. Ballerina clients and types for specific operations defined in the WSDL are to be automatically generated, enhancing the ability to integrate with SOAP web services by automating the setup process and reducing manual coding requirements.
Initial Implementation Scope
In the initial version of this tool, Ballerina types for the operations specified in the WSDL file will be generated. The WSDL content will be parsed, and corresponding Ballerina records, which can be used to interact with the SOAP services described by the WSDL, will be produced.
Command Line Interface Specification
The tool will be supported as a CLI tool with the following usage syntax and options:
Parameters
-i, --input: The input WSDL file from which Ballerina types are to be generated is specified by this required parameter.
--operations: This optional parameter allows the user to specify a list of operations for which Ballerina types are to be generated. If not provided, types for all operations in the WSDL will be generated.