I think in earlier versions if you had only aplication/json with an
element ref then it would still not generate a class like Session/etc.
But now both application/json and application/xml with element refs will
generate it.
Next, some users want to have say multiple XML representations but
po
2015-10-05 18:28 GMT+04:00 Sergey Beryozkin :
> Done for 3.1.4-SNAPSHOT
>
Thanks again, we will try it. Upgrading from 3.0.4 found strange behavior
(started at 3.0.6)
When method request contains xml and json representation and both contain
"element" reference
Done for 3.1.4-SNAPSHOT
Sergey
On 05/10/15 08:30, Vjacheslav V. Borisov wrote:
2015-10-05 0:56 GMT+04:00 Sergey Beryozkin :
Re Patch/etc - yes wadl-to-java can not generate the custom annotation
classes - it is time to do it though, will take care of it
Thanks !
--
Sergey Beryozkin
Ta
> > -Original Message-
> > From: Vjacheslav V. Borisov [mailto:slav...@gmail.com]
> > Sent: Donnerstag, 1. Oktober 2015 15:35
> > To: users@cxf.apache.org
> > Subject: Re: Consuming mutiple xml representations on resource
> >
> > 2015-10-01 14:16 GMT+04
2015-10-05 0:56 GMT+04:00 Sergey Beryozkin :
>
> Re Patch/etc - yes wadl-to-java can not generate the custom annotation
> classes - it is time to do it though, will take care of it
>
Thanks !
Hi
The method parameters do not affect the selection algorithm.
You can try a custom CXF ResourceComparator - then you can tell the
runtime which of the two equal candidates wins.
Re Patch/etc - yes wadl-to-java can not generate the custom annotation
classes - it is time to do it though, will
deal with multiple
error codes in fault case.
Regards,
Andrei.
> -Original Message-
> From: Vjacheslav V. Borisov [mailto:slav...@gmail.com]
> Sent: Donnerstag, 1. Oktober 2015 15:35
> To: users@cxf.apache.org
> Subject: Re: Consuming mutiple xml representations on resource
2015-10-01 14:16 GMT+04:00 Vjacheslav V. Borisov :
> Hi!
>
> I am trying to model rest api which can consume different xml
> representations, but without success
> I have two methods on same url which accepts application/xml, but
> different objects: single object and collection of objects
>
>
ht