Hi Francesco,

As Sergei already explained, JAXB produces this name from annotation 
@XmlRootElement(name = "policy") in PolicyTO class.
In case of List<T extends PolicyTO> it adds "s" suffix to root element name.

I will care about the solution.

Regards,
Andrei.

> -----Original Message-----
> From: Francesco Chicchiriccò [mailto:ilgro...@apache.org]
> Sent: Donnerstag, 7. März 2013 13:45
> To: dev@syncope.apache.org
> Subject: <policys/> ?!?
> 
> Hi all,
> I have just noticed that the root XML element when listing policies via CXF is
> 
> <policys>
> 
> instead of
> 
> <policies>
> 
> I couldn't easily (= grep) find how to change this: anyone can provide some
> hint?
> 
> Regards.
> 
> --
> Francesco Chicchiriccò
> 
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~ilgrosso/

Reply via email to