Yes, it helps. I will generate the XML dinamycally. Thank you.
On 4 July 2013 14:34, Sergey Beryozkin <[email protected]> wrote: > Hi > > On 04/07/13 12:40, Julio Carlos Barrera Juez wrote: > >> Hi. >> >> I want to publish REST WS without having an annotated interface or class. >> I >> mean, the endpoint are not known a priori, then I need to publish it >> programmatically. It is possible to do it without reflection or this kind >> of approach? I need some starting point to read documentation and acquire >> some concepts I don't have now. >> > > You can use this feature: > > http://cxf.apache.org/docs/**jax-rs-advanced-features.html#** > JAX-RSAdvancedFeatures-**RESTfulserviceswithoutannotati**ons<http://cxf.apache.org/docs/jax-rs-advanced-features.html#JAX-RSAdvancedFeatures-RESTfulserviceswithoutannotations> > > So if you have some dynamic objects coming in and they have no > annotations, you can attach a user model to it (programmatically or > statically) and publish them > > Does it help ? > > Sergey > > >> Thank you. >> >> >
