Hi,
I have checked in your initial patch. See
https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/tools/wsdl2java-cxf.
Please see my comments inline.
Thanks,
Raymond
From: Pradeep Fernando
Sent: Wednesday, May 20, 2009 12:28 AM
To: Raymond Feng
Subject: WSDL2java databinding
hi raymond ,
Im working on SDO databinding. I read the all the articles/slides available
on SDO in tuscany site.still i have some
doubts on some points.Any way i decided to start on that so i can learn and
find solutions for the problems on my
way.
This is the tooling effort. So you probably only have to understand how
to generate SDO Java classes from the XSDs. I have suggested that you
start with dynamic SDO where all complex types are represented as
commonj.sdo.DataObject interface. There is also code in Tuscany to
generate static SDO classes from XSDs (see [1]).
[1]
https://svn.apache.org/repos/asf/tuscany/java/sdo/tools/src/main/java/org/apache/tuscany/sdo/generate/XSD2JavaGenerator.java
think we need a seperate module for include databinding-plugin specific
classes. IMHO though the SDO is implemented
in tuscany project it is better to implement the databinding maven module in
CXF code. they have seperate meven modules
for each databinding plugins , namely (aegies, jaxb, xmlbeans). if that is
the case i can ask daniel to commit the code.
only a suggestion.
WDYT?
+1 to have a separate module to hold the SDO hooks into the CXF J2W tool.
Let's don't worry about which project will host the code for the moment.
--
Pradeep Fernando.