Hide Forgot
I have a service, binding is over resteasy, one method has return type void. If the method is called with HttpMixin, exception is thrown: java.lang.IllegalArgumentException: HTTP entity may not be null at org.apache.http.util.EntityUtils.toString(EntityUtils.java:198) at org.apache.http.util.EntityUtils.toString(EntityUtils.java:264) at org.switchyard.component.test.mixins.http.HTTPMixIn.sendString(HTTPMixIn.java:140) . . . http method DELETE is used, it seems that httpResponse.getEntity() is null, which cause problem in EntityUtils.toString() method.
Can you attach an app to reproduce this behavior?
Attempted to reproduce on 2.0.0.Alpha3 using the rest-binding quickstart and adding a void method service to the TestResource. I did not see an exception. Talked to Jiri and he was not able to reproduce this issue either. Closing as cannot reproduce.