Project: mule
Issue MULE-8658: XML header is not removed when proxying, using non blocking cxf:proxy-service and cxf:proxy-client
Steps to reproduce: - Deploy the attached apps (the leagues-ws will work as a server and the wsdl-proxy as a proxy), notice that the wsdl-proxy app is prepared to be non-blocking. - Make a the following request: URL http://localhost:8090/api Headers: SOAPAction: getTeamsAction Content-Type: text/xml;charset=UTF-8 Body: {code} {code} Notice that the soap envelope does not contain the xml tag: but the response has it. This issue does not happen if the proxy is prepared to be blocking (ie. the response never contains the xml tag). Also, the previous versions of Mule didn't add the tag in the response. This issue appears on every request.
Story points: 8