Bug with PUT method solved. PUT method reads the body from inputstream without marshall/unmarshall problems... Now from the UI the bodies should be in xml (not in json). Nexts commits-> change the json requests to xml