axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksander Slominski <>
Subject [Axis2] databinding setting [Re: [Axis2]Databinding Notes
Date Tue, 26 Jul 2005 17:59:06 GMT
if databinding selection happens during code generation how user can 
plugin their own databinding?

and in particular what about case when user wants to apply different 
databinding for different parts of SOAP/XML message?



Ajith Ranabahu wrote:

> Hi Jaya,
> Well. You are quite right. Right now core has no such dependancy on 
> the databinding. The idea is to incorporate databound objects when 
> skeletons are code generated. Our plan is to generate the databound 
> objects, skeletons and the relevant message receiver when skeletons 
> are generated.
> The marshaller and unmarshaller are built into the generated objects. 
> To be exact we use our builders and the provided XML stream reader 
> from the generated objects to marshall and unmarshall objects.
> On 7/26/05, *jayachandra* < 
> <> > wrote:
>     Ajith et al,
>     In axis2 there is some databinding code present, but looks that only
>     codegen of wsdl module is using it and not any other module like core
>     etc. seems like using it. The existing typemapping framework is
>     registering only the xml type and java type names in the map, and with
>     just that much information it becomes tough to actually output a java
>     object out of a xml element and vice versa. Without marshaller and
>     unmarshallers registered for the types, can it be possible? If inside
>     the 'core' module code, we wish to data bind the parameters back and
>     forth (which would be a natural thing to do as we aim to support
>     operations other than those which accept and output just OMElements,
>     correct me if I'm wrong here!) how can that be done?
>     Thank you
>     Jaya
>     --
>     -- Jaya
> -- 
> Ajith Ranabahu 

The best way to predict the future is to invent it - Alan Kay

View raw message