As per this discussion here: https://community.jboss.org/thread/240433
It appears that org.switchyard.component.resteasy.util.ClientInvoker has problems handling 404 and 500 related faults returned from an HTTP server.