From f706d884a72b9902737c65f3ecc9d943b6267322 Mon Sep 17 00:00:00 2001 From: Zuhri Utama Date: Sun, 25 Sep 2022 19:00:40 +0700 Subject: [PATCH] IDEMPIERE-5429 Rest API Web Service for composite not support JSON (#1497) * IDEMPIERE-5429 Rest API Web Service for composite not support JSON --- .../WEB-INF/src/com/trekglobal/ws/CompositeService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.idempiere.webservices/WEB-INF/src/com/trekglobal/ws/CompositeService.java b/org.idempiere.webservices/WEB-INF/src/com/trekglobal/ws/CompositeService.java index aad7d61f1d..4a70815c2c 100644 --- a/org.idempiere.webservices/WEB-INF/src/com/trekglobal/ws/CompositeService.java +++ b/org.idempiere.webservices/WEB-INF/src/com/trekglobal/ws/CompositeService.java @@ -14,8 +14,8 @@ import org.idempiere.adInterface.x10.CompositeRequestDocument; import org.idempiere.adInterface.x10.CompositeResponsesDocument; @Path("/composite_service/") -@Consumes("application/xml") -@Produces("application/xml") +@Consumes({"application/xml", "application/json"}) +@Produces({"application/xml", "application/json"}) @WebService(targetNamespace="http://idempiere.org/ADInterface/1_0") @SOAPBinding(style=Style.RPC,use=Use.LITERAL,parameterStyle=ParameterStyle.WRAPPED) public interface CompositeService {