How do I drop an inbound XML element with a Transform in CXF?
问题 I'm using CXF (v2.7.10) in a client that is consuming the MS Exchange Web Service (EWS). I'm finding that one of the elements returned by EWS (UniqueHash) contains characters that are invalid in XML v1.0. As I have no control over this I'm trying to use an inbound interceptor to drop the UniqueHash elements (I don't need them) like this: Map<String, String> inTransformMap = Collections.singletonMap( "{http://schemas.microsoft.com/exchange/services/2006/types}UniqueHash", "");