org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(Message) will call any interceptor's handleMessage. If the interceptor is a SoapInterceptor, and the message is an XMLMessage, the result is a ClassCastException.
I don't see any code that is intended to avoid this. Anyone out there understand the intended design? One of the JAX-RS tests, when un-Ignored, explodes because an XMLMessage gets sent to the Aegis schema validation interceptor, which is a soap interceptor, and the result is an the throw. Should the aegis thing not be a soap interceptor? Shoudl the PhaseInterceptorChain somehow arbitrate this? The error is particularly confusing because type erasure causes the messup to be detected in a wierd way.