Re: Error when using Syncope rest client to update UserTO

2017-10-29 Thread Francesco Chicchiriccò
On 2017-10-29 04:06 Anh Nguyen Tuan wrote: Hi Francesco, I think this is because in rest method "update" you don't have @PathParam for {key} org.apache.syncope.common.rest.api.service.AnyService (UserService extends AnyService) @PATCH @Path("{key}") @Produces({

Re: Error when using Syncope rest client to update UserTO

2017-10-28 Thread Anh Nguyen Tuan
Hi Francesco, I think this is because in rest method "update" you don't have @PathParam for {key} org.apache.syncope.common.rest.api.service.AnyService (UserService extends AnyService) @PATCH @Path("{key}") @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })

Re: Error when using Syncope rest client to update UserTO

2017-10-23 Thread Francesco Chicchiriccò
Hi, from the snippet and stacktrace below, I have some observations: 1. why Syncope 2.0.1? it's one year old - FYI 2.0.6 was recently released, take a look at [1] to see how many issues were fixed ever since 2. Syncope on Karaf? It sounds interesting, though I am sorry I've zero experience

Error when using Syncope rest client to update UserTO

2017-10-22 Thread Anh Nguyen Tuan
Hi team, I'm using Syncope 2.0.1 and Syncope client API 2.0.1 deployed in OSGI environment (Karaf 4.0.4). When I read a user and update it as following: UserService userService = m_syncopeServiceFactory.getUserService(); UserTO user =