This content has been marked as final.
Show 1 reply
-
1. Re: Switchyard/Jbpm how to set content type on rest services
kcbabo May 23, 2014 2:25 PM (in response to hemartins)Just to be clear - are you saying the outbound REST request does not have the "Accept: text/plain" header with the JAX-RS interface you provided above? You can't set this on the service task, but you might try setting it via a custom context mapper on the reference binding. That said, I'm not sure why RESTEasy is not setting this based on the @Consumes value. It would be interesting to see if this works in a standalone application using RESTEasy.