[CXF-5791] Could not send a message. Caused by HTTP response '404: Not Found'; patch by Guilherme