diff --git a/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/BookmarkREST.java b/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/BookmarkREST.java
index 50fe35c..5f5da16 100644
--- a/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/BookmarkREST.java
+++ b/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/BookmarkREST.java
@@ -66,8 +66,8 @@ public class BookmarkREST {
@Validate
@Path("{id}")
@Transactional
- @Consumes("application/json")
@Produces("application/json")
+ @Consumes("application/json")
public void update(@PathParam("id") Long id, Bookmark entity) {
checkId(entity);
load(id);
diff --git a/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml b/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml
index ee0aea3..11febdb 100644
--- a/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml
+++ b/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml
@@ -2,10 +2,10 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
- br.gov.frameworkdemoiselle.transaction.TransactionalInterceptor
- br.gov.frameworkdemoiselle.security.LoggedInInterceptor
br.gov.frameworkdemoiselle.security.RequiredPermissionInterceptor
br.gov.frameworkdemoiselle.security.RequiredRoleInterceptor
+ br.gov.frameworkdemoiselle.validation.ValidateInterceptor
+ br.gov.frameworkdemoiselle.transaction.TransactionalInterceptor
br.gov.frameworkdemoiselle.exception.ExceptionHandlerInterceptor
--
libgit2 0.21.2