Hi
Thank you  for your reactivity

i have already make it .

        @PUT
        @Consumes(MediaType.APPLICATION_JSON)
        @Produces(MediaType.APPLICATION_JSON)
        public Response putPerson(Person person) throws URISyntaxException{
                logger.info(person.toString());
                URI     location = new
URI(propertyConfiguration.getProperties().get("rootUrl").toString()+iPersonService.save(person));
                logger.info(location.toString());
                return Response.created(location).build();


        }

NB: in jboss and tomee 1.7.4 it work, but in tomee 7 it's not working
Regards,
Olivier. 





--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Probleme-with-johnzon-tp4682312p4682321.html
Sent from the TomEE Dev mailing list archive at Nabble.com.

Reply via email to