Comments in line:
Dimuthu Gamage wrote:
Samisa Abeysinghe wrote:
Dimuthu Gamage wrote:
Hi all,
I m working on Implementing WSDL2C tool in C language as my
project for Google Summer of Code. I already worked on generating C
code using Java tool with databinding support. Following is the
brief plan of the project.
Use the architecture of the WSDL2Java tool, so that I can use the
same templates.
+1
Use libxslt(http://xmlsoft.org/XSLT/intro.html) as the XSLT parser
Why not use XAlan (http://xml.apache.org/xalan-j/xsltc_usage.html)?
Xalan is a C++ project and has a C Wrapper API. So I thought to use
libxslt which is completely implemented in C with MIT license. Anyway
this part is an independent, so we can interchange the xslt parser
easily ( for an example by command line option ).
Yes true, Xalan is in C++, however as you have pointed out in the other
mail, there is a C API - and yes I agree that it is not the ideal
solution wen it comes to performance (Codegen is done off line often, so
it is not that much of an issue)
Anyway the rationale to propose Xalan was to use Apache family of products.
However, I am +1 for the abstraction layer that you are proposing. As
far as this layer is there, I am +1 to use XSLT parser.
Command line option is not a good idea for switching the XSLT parser.
IMHO it is a compile time option, not a runtime option.
Samisa...
Use C implementation of the WODEN to parse WSDL
+1
Use axiom, util and core libraries in Axis2C
Where are you going to use AXIOM?
AXIOM is used in building the intermediate XML document which is
generated parsing the WSDL. This document is transformed using xslt
parser with some xsl style sheet to generate the final code.
All hearders, public structs and functions prefixed with "codegen_"
Macros
prefixed with "CODEGEN_"
Hmmm, codegen is OK, but are we going to move this code out as an
independant project later? If so what would be the project name? If
there is going to be such a project, I suggest using that project
name as the prefix. What about "w2c_" (short for WSDL2C)?
Thanks for the suggestion. I ll consider that
Thanks,
Samisa...
Regards
Dimuthu
Regards
Dimuthu
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]