[SWITCHYARD-2313] - Rest binding fix for http errors

https://issues.jboss.org/browse/SWITCHYARD-2313