Thanks Amila, thanks Robert. I found the problem, it isn´t a bug.

I used XStream for transform schema domain objects to ResponseDocument.
XStream generates the xml representation:

<fully.qualified.name.Foo>
   <foo3>content</foo1>
   <foo3>content</foo2>
   <foo3>content</foo3>
<fully.qualified.name.Foo>

and response looks like this:
...
<return>
   <fully.qualified.name.Foo>
      <foo3>content</foo1>
      <foo3>content</foo2>
      <foo3>content</foo3>
   <fully.qualified.name.Foo>
</return>
...
With this return get and set methods of schema classes generated by axis
returns null.
The problem is the FQN which Xstream include. Axis2 1.3 client side
libraries requires:

<return>
      <foo3>content</foo1>
      <foo3>content</foo2>
      <foo3>content</foo3>
</return>

With this response axis work fine.

Thanks for all.
Antonio.

2007/10/16, robert lazarski < [EMAIL PROTECTED]>:
>
> What version of axis2 are you using? If not using 1.3 , try upgrading
> to that if possible. This seems like an old bug.
>
> If you are using axis2 1.3, try pasting your code and wsdl and maybe
> someone can help.
>
> Robert
>
> On 10/16/07, Antonio Manuel Muñiz Martín < [EMAIL PROTECTED]>
> wrote:
> > Hi.
> > I´m using XMLBeans data binding. I receive the response Document and I
> do
> >
> > Foo f = response.getFooResponse ().getReturn();
> >
> > Foo has an attribute named foo and
> >
> > f.getFoo() returns null, but f.toString () return a string which
> contains
> > the correct xml (with foo attribute fixed).
> >
> > ¿Why f.getFoo() returns null?
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to