Hello, dear Sergey,
what do you think of my code?
--------------------------------------------------------------------------------------
@POST
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
@Produces(MediaType.TEXT_HTML)
@Path("/createInstances")
public int createInstances(@FormParam("workflowDefUUID") String
workflowDefUUID, @FormParam("createUserId") String createUserId,
@FormParam("participantId") String participantId, @FormParam("title") String
title,@FormParam("boDatas") String boDatas) {return 0;};
--------------------------------------------------------------------------------------
if don't asign a @Produces,cxf will set MediaType.APPLICATION_OCTET_STREAM
as a int type's mime type.
--
View this message in context:
http://cxf.547215.n5.nabble.com/Re-A-WADL-Representation-bug-tp1842811p2255734.html
Sent from the cxf-dev mailing list archive at Nabble.com.