From 83e227ed58fb88bae1f274e60b905352bc3c3316 Mon Sep 17 00:00:00 2001 From: Kevin Martins Date: Tue, 19 Dec 2017 21:46:26 -0200 Subject: [PATCH] Bug Fix --- .../integration/camel/services/SimpleServiceOrderService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/camel/src/main/java/com/integration/camel/services/SimpleServiceOrderService.java b/camel/src/main/java/com/integration/camel/services/SimpleServiceOrderService.java index 946f503..2133ed9 100644 --- a/camel/src/main/java/com/integration/camel/services/SimpleServiceOrderService.java +++ b/camel/src/main/java/com/integration/camel/services/SimpleServiceOrderService.java @@ -7,6 +7,7 @@ import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; +import javax.ws.rs.Consumes; import javax.ws.rs.core.Response; import com.integration.camel.module.to.SimpleServiceOrder; @@ -26,6 +27,7 @@ public interface SimpleServiceOrderService { @POST @Path("/so/") + @Consumes("application/json") public Response createNewServiceOrder(SimpleServiceOrder serviceOrder); }