On 07/03/2013 23:41, Andrei Shakirin wrote:
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.

Thanks: it is also for me the chance to get a bit insight this new CXF layer that will be soon the only layer available.

Regards.

-----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