0 Replies Latest reply on Sep 17, 2013 5:48 AM by Gaetano Mazzeo

    signalProcessInstance requires application / xml

    Gaetano Mazzeo Newbie

      Hi,

      in the class org.kie.services.remote.rest.RuntimeResource I noticed that the signalProcessInstance method requires to consume an application/xml but this doen't allow to use application/x-www-form-urlencoded... In fact x-www-form-urlencoded would be useful to post large strings in the body, while at the moment you have to put parameters in the query string.

      Is there a reason for the @Consumes({"application/xml"})? Am I missing something?

      Thanks.

      Cheers.

       

        @POST

        @Consumes({"application/xml"})

        @Produces({"application/xml"})

        @Path("/process/instance/{procInstId: [0-9]+}/signal")

        public JaxbGenericResponse signalProcessInstance(@PathParam("procInstId") Long procInstId)