Hi Francesco,

Thanks a lot. I have seen the fix. 

I will be using the new build soon. For the moment, I am just removing + 
creating new role. It's working perfect. 

Thanks again for such quick answer,

Regards,

German. 

On Jun 11, 2013, at 9:41, Francesco Chicchiriccò <[email protected]> wrote:

> On 10/06/2013 11:10, German Parente wrote:
>> Hi,
>> 
>> first of all, thanks for the help about user update (UserMod) you have given 
>> me last time. It was helpful. I have arrived to update a user using rest api.
> 
> Good :-)
> 
>> Now I am having an issue when trying to update a role. I cannot arrive to do 
>> the right post.
>> 
>> I was taking a look to the RoleMod object in the sources and I see that 
>> there's no
>> 
>> @XmlRootElement("roleMod")
>> @XmlType
>> 
>> annotations.
>> 
>> Is this normal ?
> 
> Not completely, but it shouldn't cause too many troubles: anyway, I've just 
> backported modification introduced by revision 1485957 [1] to the 1_1_X 
> branch, hence upcoming release 1.1.2 will have this fixed.
> 
>> My client request is failing , even if I force type to Application/xml.
>> 
>> If you have an idea, please, I would like to know.
> 
> When you have troubles, the first place to look at are the logs, either 
> Syncope's (in the directory you have configured during build or under 
> core/target/log if you haven't specified anything) and JEE container's.
> 
> Since you are using Syncope core without the admin console and without the 
> client model objects (IIRC), I'd suggest, to speed up and make less error 
> prone your work, to deploy the admin console in another JEE container and to 
> sniff the data exchanged with the core while performing console operations 
> (like as updating a role).
> 
> HTH
> Regards.
> 
> [1] http://svn.apache.org/viewvc?view=revision&revision=1485957
> 
> -- 
> Francesco Chicchiriccò
> 
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~ilgrosso/
> 
> 

Reply via email to