A. Aka wrote:but when I put a break point I am able to call the rest resource, I think it is the transformation of the entity to json which do not work
What happens when you put a breakpoint in the method? Does the debugger stop at the breakpoint? What happens when you step through the code? How do you know the transforming to JSON doesn't work? Do you get error messages?