hello Jervis,

i'm try to use cxf with a developed framework. This are 3 kind of
problem that i have:

1). when a web service return an application object, the generated
wsdl return more
fields than the necessary to transfer. how can i configure cxf  to
define the fields
 to transfer?

2). when a web service return a List (or a class that extends an implementation
of List) the generated wsdl not recognize a sequence of elements. Can
i change this?

3). I have a hierarchy of object that extend from a base class. I want
to define a web
service with a parameter whose type is the base class. Can I do this?
(the generated wsdl only define the base class and don't their subclasses).
Another problem is that I can only create instances
 of these objects using a builder.


These problems are using jaxb. I can't start using aegis because
throws exceptions
when try to handle differents objects (or components of them) provided by the
framework.


thanks,
Mariano


> Hi Mariano, what kind of data bindings are you looking for? Is it sth very 
> simple such as marshaling
> an Inputstream to a Source object (in this case, you want look into 
> SourceDataBinding.java)
> or sth a little bit more complex based on schemas, such as JAXB databinding 
> or Aegis databinding.
> In the later case, you may want to look into how Aegis data binding is 
> implemented. Benson
> has done a lot of work recently on Aegis binding. We also have a plan to 
> support more data
> bindings ,such as XMLBeans, JiBX, JaxMe etc, not sure if one of them is what 
> you are looking
> for. Anyway, we would be very happy to provide more helps if you can elaborate
 your requirement
> into more details.
 > Thanks,
> Jervis

>
 > >
> > -----Original Message-----
> > From: Mariano Kohan [mailto:[EMAIL PROTECTED]
> > Sent: 2007��12��19�� 2:21
> > To: cxf-user@incubator.apache.org
> > Subject: extending databinding
> >
> > hello,
>
>
> > I want to use cxf to develop some web service, but I need to extend the
> > databinding because the provided ones with cxf don't work with my
> > application objects.
>
> > Can i do it with cxf? How?
>
> > I read the javadoc of
> > org.apache.cxf.databinding.source.SourceDataBindingbut I don't
> > understand well how to use it.
> > Does it have a sample inside the distribution?
> >
> > thanks,
> > Mariano

Reply via email to