---------- Forwarded message ---------- From: ant elder <[EMAIL PROTECTED]> Date: Jan 11, 2007 11:31 AM Subject: Re: [jira] Created: (TUSCANY-1038) SDO databinding for Axis2 To: Angel Todorov <[EMAIL PROTECTED]> Cc: [email protected] , [email protected]
Its great you'd like to contribute! Unfortunately you can't get Apache SVN access until you're a committer so for now you have to submit patches. Maybe as a start I should set up a sandbox directory for this with a template project structure and you and anyone else could submit patches against that until its in a fit state to ask to put into the Axis2 trunk. Thats just a suggestion say if you've a better approach or anyone else leap in with suggetsions. Just to summarize whats been said earlier about Axis2 databindings: - theres a good article at: http://wso2.org/library/35 - Axis2 has exsiting databindings for adb, jibx and xmlbeans so that code can be used as a guide: https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/jibx/ https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/adb/ https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/xmlbeans/ - to get the new databinding jar picked up it has to be in the Axis classpath and the codegen-config.properties needs to be updated, see: http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/codegen-config.properties (this is in the axis2-codegen-1.1.jar in the Axis2 lib directory) - There's existing code that shows how to convert between Axiom OMElements and SDO DataObjects in the Tuscany DataBinding projects. The main classes are: https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/databinding/databinding-sdo/src/main/java/org/apache/tuscany/databinding/sdo/DataObject2XMLStreamReader.java https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/databinding/databinding-sdo/src/main/java/org/apache/tuscany/databinding/sdo/XMLStreamReader2DataObject.java https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/databinding/databinding-axiom/src/main/java/org/apache/tuscany/databinding/axiom/OMElement2XMLStreamReader.java https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/databinding/databinding-axiom/src/main/java/org/apache/tuscany/databinding/axiom/XMLStreamReader2OMElement.java HTH, ...ant On 1/11/07, Angel Todorov <[EMAIL PROTECTED] > wrote:Hi Raymond, Yes the SDO binding would be definitely nice to have. I am willing to contribute along with you and any other guys who might be interested. Please inform me about what next steps that need to be taken and who is going to participate (do i have to create/ obtain some SVN account anywhere) ? Thanks Angel On 1/9/07, Raymond Feng <[EMAIL PROTECTED]> wrote: > Hi, Angel. > > I have been thinking about the approach for a while. There are also some > discussions on the Axis2 ML. As you explained, it seems that it's fairly > straightforward to implement a SDO binding for Axis2 and we can leverage it > in Tuscany. > > FYI, we already have the fromOM() and toOM() runtime support for SDO using > StAX XMLStreamReader. So it could be just a matter of developing a XSLT > template and some code-gen utility methods. > > Are you interested in contributing to this feature? Ant and I will be happy > to work with you. > > Thanks, > Raymond > > ----- Original Message ----- > From: "Angel Todorov" < [EMAIL PROTECTED]> > To: < [email protected]> > Cc: <[email protected] > > Sent: Tuesday, January 09, 2007 8:05 AM > Subject: Re: [jira] Created: (TUSCANY-1038) SDO databinding for Axis2 > > > > Hi Anthony, > > > > Hm... i was thinking - wouldn't it be possible to just modify (or > > create a new ) XLS template for Axis2 databinding extension. As far as > > I see, the emitter instance takes the template and the generated XML > > model from memory and emits out code (stubs, skeletons, > > MessageReceiver whatever). Since SDO is transparent to the actual Java > > <-> XML mapping, we can take any of the JiBX, JAXB, XMLBeans or ADB > > extensions, and use their Extension and Codegen Utility classes, and > > just modify the XLS template (i.e fromOM(..), toOM(..), etc. parts). > > Of course, this also assumes that we are bound to the above binding > > framework's XSD support, in case some provider has written their own > > SDO XML binding. > > > > What do you think ? > > > > Regards, > > Angel > > > > On 1/9/07, ant elder (JIRA) < [email protected]> wrote: > >> SDO databinding for Axis2 > >> ------------------------- > >> > >> Key: TUSCANY-1038 > >> URL: https://issues.apache.org/jira/browse/TUSCANY-1038 > >> Project: Tuscany > >> Issue Type: New Feature > >> Components: Java SDO Implementation > >> Affects Versions: Java-SDO-Mx > >> Reporter: ant elder > >> Fix For: Java-SDO-Mx > >> > >> > >> Implement a native Axis2 databinding for SDO. > >> > >> Axis2 supports pluggable databindings and currently has support for > >> things like xmlbeans, jibx, and Axis2s own ADB. It would help promote SDO > >> if we implemented an Axis2 databinding for SDO. > >> > >> > >> > >> -- > >> This message is automatically generated by JIRA. > >> - > >> If you think it was sent incorrectly contact one of the administrators: > >> https://issues.apache.org/jira/secure/Administrators.jspa > >> - > >> For more information on JIRA, see: http://www.atlassian.com/software/jira > >> > >> > >> > >> --------------------------------------------------------------------- > >> 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]
