Hi,
Thanks for the update. Please go ahead to submit a patch so that I can try
it out.
See a few comments inline.
Raymond
From: Pradeep Fernando
Sent: Monday, June 15, 2009 7:15 PM
To: tuscany-dev
Subject: Progress GSOC 2009-WSDL2java tool based on CXF codeEngine.
Hi devs,
I'm working on a WSDL2Java tool for tuscany. Let me brief my workings thus
far.
First of all I identified the relevent dependencies that is going to
introduce in to the tuscany code by creating a maven module &
running a programatical code generation. I supplied the patch and it is now
in the tuscany code base.
we are using CXF code engine to generate artifacts. CXF currently supports
JAX-WS compatibility, one of our main requirements.
Other than that in databinding perspective it supports ,
JAXB- primary requirement
XMLBeans
aegis (dont knw weather it is useful for tuscany people)
SO we have to support SDO & AXIOM databinding in addition to above features
to make it really useful.
<rfeng>Adding SDO, AXIOM will be great. It should be very straightforward to
add DOM, StAX too.</rfeng>
I have gone through databinding code of CXF and did similar work in Dynamic
SDO databinding. Note that Im only adding databinding support to only the
tool and not to whole CXF. There is a GSOC project that adding SDO
databinding to whole CXF(CXF framework + tooling) but i dont no their
progress (couldnot see any discussions in CXF dev list).
<rfeng>From Tuscany's view, you only have to deal with the tooling
part.</rfeng>
So i created a maven module for group hooking up classes. (implementing the
databinding tooling interface of the CXF).
Now as my mentor suggested Im trying to come up with a series of test cases
that would test & exercise my implementation.
That would be really helpful in adding other databindings too.
since CXF have xmlbeans databinding for tooling there should be similar sort
of test cases written already to exercise their implementation. I sent a
mail regarding this & it takes time to get replies.
another thing i looked at is, there is wsdl2java maven module in tuscany
code(I think based on Axis2 codegen engine) .So there should be a similar
sort of test cases to test it behaviour, but I found none. Can anyone of you
please explain the progress of that project
<rfeng>We plan to replace this tool with the one you are working on.</rfeng>
please give comments & suggestions & you are welcome to ask questions if im
not clear.
Pradeep Fernando.
*Im working on SDO & Axiom(ADB) at the same time. any pointers regarding SDO
code generation would be helpful.
*though I have written code for dynamic SDO databinding it is not fully
tested. should i submit it as a patch or wait untill all the things in a
working stage & well tested.